Page Index Toggle Pages: 1 2 3 [4] 5  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) German language pack (Read 21438 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: German language pack
Reply #45 - Oct 27th, 2017 at 3:30pm
Mark & QuoteQuote  
Do the same to Admin/AdminSubs.pm or put back the last versions of German_Formal and German_Informal that worked. (We know that the problem began when those files got replaced with the newest versions.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #46 - Oct 27th, 2017 at 5:51pm
Mark & QuoteQuote  
I have uploaded the last two versions of the german files. In the detailed version check is then nothing, in the error log is:

Quote:
Use of uninitialized value $load_txt{"616a"} in concatenation (.) or string at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/DetailedVersion.pm line 59.
http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?board=&action=detailedversion


okay, I'll do the fixes in the Subs.pm and AdminSubs.pm

nothing is to be seen in the detailed version display, same error message.

I have then uploaded the modified German files again. The detailed version display is displayed again. However German_Informal is not displayed now.

Quote:
Use of uninitialized value in substitution (s///) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/DetailedVersion.pm line 469.
http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?board=&action=detailedversion


I have modified Subs.pm and AdminSubs.pm.

Looks like we're close to the result.

  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: German language pack
Reply #47 - Oct 27th, 2017 at 7:29pm
Mark & QuoteQuote  
pyragony54 wrote on Oct 27th, 2017 at 5:51pm:
Looks like we're close to the result.


Yeah - first in your OLD versions, add to Admin.lng
Code
Select All
%load_txt = (
 '616a' => q~Remember, this forum is in <a href="{yabb adminurl}?action=newsettings;page=maintenance" style="font-weight: bold;">'Maintenance Mode'</a>.~,
 '617' => q~Remember, last Backup was done on:~,
 );  



That should fix the problem with the old versions.

Then we can sort out the new versions - that
Code
Select All
Use of uninitialized value in substitution (s///) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/DetailedVersion.pm line 469. 

error is referring to a poblem in a help file.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #48 - Oct 27th, 2017 at 7:59pm
Mark & QuoteQuote  
I did that a long time ago ..

Code (Perl)
Select All
%load_txt = (
 '616a' => q~Denken Sie daran, dieses Forum ist im <a href="{yabb adminurl}?action=newsettings;page=maintenance" style="font-weight: bold;">'Wartungsmodus'</a>.~,
 '617' => q~Denken Sie daran, letzte Sicherung wurde durchgeführt am:~,
 );
  




That maybe the errors can come from the help files, I thought so.
I'll work it out as soon as possible.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: German language pack
Reply #49 - Oct 27th, 2017 at 8:45pm
Mark & QuoteQuote  
One place to fix: In DetailedVersion.pm find
Code
Select All
                            $txtrevision =~ s/[.]help/helpver/igxsm;
                             ${$txtrevision} =~
                               s/\$Revision: (.*?) \$/Build $1/igxsm; 



and replace with
Code
Select All
                            $txtrevision =~ s/[.]help/helpver/igxsm;
                             if ( ${$txtrevision} ) {
                                 ${$txtrevision} =~
                                   s/\$Revision: (.*?) \$/Build $1/igxsm;
                             }
                             else { ${$txtrevision} = q{}; } 



That will take care of the missing revision variable error.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #50 - Oct 27th, 2017 at 9:27pm
Mark & QuoteQuote  
I told you we can do it today.

Removing from answer # 43 +45 "no warnings qw (redefine);" again.

At the moment I still have the German files modified before me on the server and the work. The old I will still test.

No error message in the error log.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: German language pack
Reply #51 - Oct 27th, 2017 at 10:47pm
Mark & QuoteQuote  
So I gather you mean that everything's working with DetailedVersion without having the redefine warning turned off?
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #52 - Oct 28th, 2017 at 3:02am
Mark & QuoteQuote  
Dandello wrote on Oct 27th, 2017 at 10:47pm:
So I gather you mean that everything's working with DetailedVersion without having the redefine warning turned off?



Removing from answer # 43 +45 "no warnings qw (redefine);" again.

If you do not remove it, it does not work.

It does not work with the OLD German files. There is then displayed in the detailed version nothing. An error message is displayed.

Quote:
Use of uninitialized value $load_txt{"616a"} in concatenation (.) or string at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/DetailedVersion.pm line 59


With the modified files of me it runs, but still a failure message.

Quote:
Subroutine automaintenance redefined at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Subs.pm line 194.


and this points back to the maintenance mode.


  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #53 - Oct 28th, 2017 at 3:34am
Mark & QuoteQuote  
$german_formaladdmoderatorslngver
$german_informaladdmoderatorslngver

This is how it works, with the small error message from the server.

We will not be able to bypass this message, except I make only a German file on the server, which was then not modified. But that is not the point. Both must work and be installed in a forum. Everything else would be a step back.

It would be enough, if only the error message would be hidden, because it works so.

I've been through all the possibilities now, this is the best solution.
Feel free to always experiment on my test server. You can not destroy anything there.

Edited:
Probably we both get different error messages because we have different servers. We have both Apache, but which version?
Other Perl versions we certainly have.
Can it be because of this?


« Last Edit: Oct 28th, 2017 at 4:53am by pyragony54 »  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #54 - Oct 28th, 2017 at 5:00am
Mark & QuoteQuote  
Code (Perl)
Select All
no warnings qw(redefine); 



This suppresses the error message, but under "Detailed version" almost nothing is displayed, at any rate unbreakable.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: German language pack
Reply #55 - Oct 28th, 2017 at 1:36pm
Mark & QuoteQuote  
The 'nothing showing' almost always means one or more duplicated files with a different names (or in different folders) but with the same version variable. (Like two copies of Subs.pm with one named Subs.pm and the other named xSubs.pm or one in Sources and the other in Admin.) Considering the error that shows when the redefine warning is on - check for duplicates of both Subs.pm and AdminSubs.pm
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #56 - Oct 28th, 2017 at 6:42pm
Mark & QuoteQuote  
I would like to make some tests, I need only a few help files. I'm just translating. Is just a little bit much. I then document everything. Further error messages in the test form have not been displayed so far.

Code
Select All
no warnings qw(redefine); 



This works, however, there are problems with the old German files. With the modified by me it works, However, in the detailed version display only very little is displayed. With the old German files nothing is displayed and there is an error message. I'm going to document it all, and then we'll see what we're doing. Patience brings roses, so they say in Bavaria.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #57 - Oct 30th, 2017 at 9:33am
Mark & QuoteQuote  
I have now done some tests, no one has succeeded, which is not so tragic. I thought later that it can not come alone from the German files and was right. I have deleted all German files from the server, the settings.pm adapted accordingly and they there, the error message comes also in the English language, even if it is standalone.

Quote:
Subroutine automaintenance redefined at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Subs.pm line 194.
http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?board=&action=detailedversion


So it can not lie with the German files.

With

Code
Select All
no warnings qw(redefine); 



you can suppress the error message, but then I do not get much in the detailed version displayed, which is also not so important.

In principle I can with both lives because these information is not really important.

Now would have to know if this error message with you does not appear, which Perl modules (I think it is a Perl problem) with you are installed.
I have a usable script for this .. (appendix) (chmod 755)
Maybe (only if the error does not occur) I can update with appropriate module update the error and we then know what it is.

  

env.zip ( 1 KB | 210 Downloads )

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: German language pack
Reply #58 - Oct 30th, 2017 at 3:27pm
Mark & QuoteQuote  
Okay - while I can reproduce part of the issue you're describing, I can't reproduce all of it. A quick check for if it's coming from the outside: In Sources/Subs.pm find 'sub automaintenance' and change it to 'sub yabbautomaintenance'

Note: this change will temporarily break the YaBB install's ability to use the automaintenance function. But this is just for testing.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: German language pack
Reply #59 - Oct 30th, 2017 at 3:52pm
Mark & QuoteQuote  
Has no effect, same error message.

Quote:
Subroutine yabbautomaintenance redefined at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Subs.pm line 194.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 5 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
German language pack

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 10000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry