Page Index Toggle Pages: 1 [2] 3 4 ... 15 ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Conversion (Read 45218 times)
 
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: Conversion
Reply #15 - Aug 15th, 2017 at 8:40pm
Mark & QuoteQuote  
And Works. Next.:

Go to Admincenter-> Bords >  Edit Board and you find this:

Quote:
An Error Has Occurred. Use of uninitialized value in substitution iterator at AdminIndex.pl line 399.
  

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
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: Conversion
Reply #16 - Aug 15th, 2017 at 8:57pm
Mark & QuoteQuote  
That error is directly related to the ConvertLang failing and possibly corrupting the member files. I also discovered that ConvertLang was throwing hidden errors related to Load.pm.

Find
Code (Perl)
Select All
            foreach ( split /\//xsm, ${ $uid . $_ }{'mods'} ) {
                 if ( $_ eq $user ) { return 1; }
             }

             # check if user is member of a moderatorgroup
             foreach my $testline ( split /\//xsm, ${ $uid . $_ }{'modgroups'} ) 



And replace with
Code (Perl)
Select All
            foreach ( split /\//xsm, ${ $uid . $_ }{'mods'} || q{} ) {
                 if ( $_ && $_ eq $user ) { return 1; }
             }

             # check if user is member of a moderatorgroup
             foreach my $testline ( split /\//xsm, ${ $uid . $_ }{'modgroups'} || q{} ) 



also I'm pretty sure
Code (Perl)
Select All
                    if ( !$testline || $testline eq $_ ) { return 1; } 



should actually be
Code (Perl)
Select All
                    if ( $testline && $testline eq $_ ) { return 1; } 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #17 - Aug 15th, 2017 at 9:54pm
Mark & QuoteQuote  
I am in the process of refactoring ConvertLang - but it's going to be a while.
  

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: Conversion
Reply #18 - Aug 16th, 2017 at 6:40am
Mark & QuoteQuote  
I have adapted the Load.pm, but still get only a white page and nothing is more.
  

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
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: Conversion
Reply #19 - Aug 16th, 2017 at 7:04am
Mark & QuoteQuote  
I'm currently in the process of splitting the copy functions into a different script. It's going to be a while until I get it all working right - it's just not refreshing properly.

You might, however, try setting the $max_process_time in ConvertLang to something like 60 or even more.
  

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: Conversion
Reply #20 - Aug 16th, 2017 at 7:33am
Mark & QuoteQuote  
That worked. I have set the $max_process_time to 300. It is also the minimum time of Apache. Look at the test forum.


Edited:
Uppps. No, but not. Although in Footer and Admin-Center everything is in ISO, but not the contributions.


And another error message, if you want to rebuild the Attachments.

Quote:
Ein Fehler ist aufgetreten. Argument "Undertaker" isn't numeric in addition (+) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Attachments.pm line 68


After recounting the topics and number of contributions, this message appears

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $threadline[8] in pattern match (m//) at Sources/System.pm line 121.


Rebuild the membership list

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $INFO{"actiononfinish"} in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 760.


Rebuild notification files

Quote:
Nicht abgefangene Fehler :
Can't use string ("356Bertg61") as a HASH ref while "strict refs" in use at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 1089.


Bertg61 is a member. But what does 356 mean?


There is still much to be done, we'll tackle it.


« Last Edit: Aug 16th, 2017 at 1:27pm 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 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: Conversion
Reply #21 - Aug 16th, 2017 at 1:05pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 15th, 2017 at 8:40pm:
And Works. Next.:

Go to Admincenter-> Bords >  Edit Board and you find this:

Quote:
An Error Has Occurred. Use of uninitialized value in substitution iterator at AdminIndex.pl line 399.


Working on this one - it's actually more than one error popping up - Whacka Mole anyone?  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #22 - Aug 16th, 2017 at 1:36pm
Mark & QuoteQuote  
For the AdminIndex find
Code (Perl)
Select All
        $topmenu_five =~ s/USER/${ $uid . $username }{'realname'}/xsm; 


replace with
Code (Perl)
Select All
        my $realname = ${ $uid . $username }{'realname'} || q{USER};
         $topmenu_five =~ s/USER/$realname/xsm; 



In ManageBoards find
Code (Perl)
Select All
                my ( $lineinfo, undef ) = @{ $grp_nopost{$j} };
                 if ( $lineinfo eq $groupinfo[0] ) {
                     $box .= q~ selected="selected" ~; 


replace with
Code (Perl)
Select All
                if ($grp_nopost{$j}) {
                     my ( $lineinfo, undef ) = @{ $grp_nopost{$j} } || q{};
                     if ( $lineinfo && $lineinfo eq $groupinfo[0] ) {
                         $box .= q~ selected="selected" ~;
                     } 



For some reason, your board moderators didn't get through the conversion process (or maybe you didn't have any?)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #23 - Aug 16th, 2017 at 1:48pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 16th, 2017 at 7:33am:
And another error message, if you want to rebuild the Attachments.

Quote:
Ein Fehler ist aufgetreten. Argument "Undertaker" isn't numeric in addition (+) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Attachments.pm line 68



Variables/attachments.db has a couple bad lines in it. (will PM you.)
  

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: Conversion
Reply #24 - Aug 16th, 2017 at 1:52pm
Mark & QuoteQuote  
Dandello wrote on Aug 16th, 2017 at 1:36pm:
For some reason, your board moderators didn't get through the conversion process (or maybe you didn't have any?)


No, I have no, but the next error message when I want to call the member list.,

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $INFO{"sort"} in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Memberlist.pm line 122.

  

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
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: Conversion
Reply #25 - Aug 16th, 2017 at 1:57pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 16th, 2017 at 7:33am:

Quote:
Nicht abgefangene Fehler :
Can't use string ("356Bertg61") as a HASH ref while "strict refs" in use at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 1089.


Bertg61 is a member. But what does 356 mean?


The 356 is the 'UID' number that gets added onto things for security. That number will probably be different the next time you look.  Wink
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #26 - Aug 16th, 2017 at 2:08pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 16th, 2017 at 7:33am:
After recounting the topics and number of contributions, this message appears

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $threadline[8] in pattern match (m//) at Sources/System.pm line 121.



In System.pm find
Code (Perl)
Select All
        if ( $threadline[8] =~ /m/sm ) { 


and replace with
Code (Perl)
Select All
        if ( $threadline[8] && $threadline[8] =~ /m/xsm ) { 



What we're finding are all the places where old YaBB ignored bad data.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #27 - Aug 16th, 2017 at 2:21pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 16th, 2017 at 7:33am:
Rebuild the membership list

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $INFO{"actiononfinish"} in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 760. 



In Admin/Maintenance.pm find
Code (Perl)
Select All
        if ( $INFO{'actiononfinish'} eq 'modmemgr' ) {
             $yymain .= $rebuild_txt{'20'};
             $yytitle     = $admin_txt{'8'};
             $action_area = 'modmemgr';
         }
         else {
             $yytitle     = $admin_txt{'593'};
             $action_area = 'rebuildmemlist';
         }
  


replace with
Code (Perl)
Select All
        if ( $INFO{'actiononfinish'} && $INFO{'actiononfinish'} eq 'modmemgr' ) {
             $yymain .= $rebuild_txt{'20'};
             $yytitle     = $admin_txt{'8'};
             $action_area = 'modmemgr';
         }
         else {
             $yytitle     = $admin_txt{'593'};
             $action_area = 'rebuildmemlist';
         }

         my $nextact = $INFO{'actiononfinish'} || q{}; 



Find
Code (Perl)
Select All
$rebuild_txt{'2'} <a href="$adminurl?action=rebuildmemlist;actiononfinish=$INFO{'actiononfinish'}" onclick="clearMeminfo();">$rebuild_txt{'3'}</a>
  


replace with
Code (Perl)
Select All
$rebuild_txt{'2'} <a href="$adminurl?action=rebuildmemlist;actiononfinish=$nextact" onclick="clearMeminfo();">$rebuild_txt{'3'}</a>
  



AND find
Code (Javascript)
Select All
 actiononfinish=$INFO{'actiononfinish'};
  


and replace with
Code (Javascript)
Select All
 actiononfinish=$nextact;
  


  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #28 - Aug 16th, 2017 at 2:32pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 16th, 2017 at 1:52pm:
but the next error message when I want to call the member list.,

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $INFO{"sort"} in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Memberlist.pm line 122.


I'm not able to reporduce this error BUT in Memberlist.pm find
Code (Perl)
Select All
        || $INFO{'sort'} eq 'mlletter'
         || $INFO{'sort'} eq 'username' ) 


and replace with
Code (Perl)
Select All
        || $INFO{'sort'} && ( $INFO{'sort'} eq 'mlletter'
         || $INFO{'sort'} eq 'username' ) ) 



also find
Code (Perl)
Select All
        $mempsts = sprintf '%06d', ( 999_999 - $memposts ); 


and replace with
Code (Perl)
Select All
        $mempsts = sprintf '%06d', ( 999_999 - $mempsts ); 

(typo)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
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: Conversion
Reply #29 - Aug 16th, 2017 at 2:34pm
Mark & QuoteQuote  
I need to take a break and work in the yard for a bit. I'll get these changes into the SVN sometime this afternoon.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 ... 15
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Conversion

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 5000 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