Page Index Toggle Pages: [1]  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Conversion (Read 45238 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
Conversion
Aug 13th, 2017 at 8:21am
Mark & QuoteQuote  
Hi Dandello,
I have tried today times, my forum in the test forum to convert. It worked all but the messages. Here about 93000 entries were made only 348. Does not work. After that I get the following error:

Quote:
An Error Has Occurred. Use of uninitialized value in split at Sources/Load.pm line 435.


Of course, 2.7.00, Build 1853 was used.
  

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 #1 - Aug 13th, 2017 at 8:28pm
Mark & QuoteQuote  
The error with Load is related to the moderators (if any) assigned to boards. I should have a fix in the SVN tomorrow.

The problem with converting messages could have any number of causes and may or may not be related to the problem that you discovered in Load.

Monday I'll see if I can get a backup of your main forum and try to convert it where I can watch what's happening.
  

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 #2 - Aug 14th, 2017 at 1:44am
Mark & QuoteQuote  
I have an idea what may have gone wrong with the messages. Please look at the forum.control and forum.master files for both your old and new forums. There should be the same number of items in the old forum.control and in the new one. Same for the the old and new forum.master. The lines will look different because 2.7.00 stores the forum.controls as a hash rather than converting the data repeatedly into a hash. But there should be the same number of items in each file. If there are not the same number of lines, then I think I know where the problem is.

You can temporarily fix the problem in Load.pm by  commenting out (put a # in front of it) 'use warnings;' near the top of the 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: Conversion
Reply #3 - Aug 14th, 2017 at 3:38am
Mark & QuoteQuote  
Dandello wrote on Aug 13th, 2017 at 8:28pm:
Monday I'll see if I can get a backup of your main forum and try to convert it where I can watch what's happening.
                   



The access data you have yes, they also apply to the test forum.

Forum master and Forum control are not alike. Even significantly different.

If you need FTP access, I send this by PM.

I made fresh backups
« Last Edit: Aug 14th, 2017 at 6:45am 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: Conversion
Reply #4 - Aug 14th, 2017 at 3:52am
Mark & QuoteQuote  
Dandello wrote on Aug 14th, 2017 at 1:44am:
You can temporarily fix the problem in Load.pm by  commenting out (put a # in front of it) 'use warnings;' near the top of the file.
                     

Okay, then it comes:

Ein Fehler ist aufgetreten. Use of uninitialized value in split at Sources/BoardIndex.pm line 260.
  

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 #5 - Aug 14th, 2017 at 1:43pm
Mark & QuoteQuote  
Please send me the FTP details by PM and I'll look as soon as I can.
  

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 #6 - Aug 15th, 2017 at 4:41am
Mark & QuoteQuote  
Figured out what happened and need to test a fix. (Also an error was found in creating boards in new categories. Expect that fix in the SVN tomorrow -Admin/ManageBoards.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: Conversion
Reply #7 - Aug 15th, 2017 at 4:49am
Mark & QuoteQuote  
Many Thanks. If everything then works properly, the German files are also ready to test. Then I go to the mods and then the help files.
  

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 #8 - Aug 15th, 2017 at 2:40pm
Mark & QuoteQuote  
First, I really want to thank you for giving me a copy of a BIG board to test. Lots of odd errors showed up that don't appear in non-converted Forums.

The SVN is now at 1855 - the changed files are: Admin/ManageBoards.pm
Convert2x.pl
Sources/BoardIndex.pm
Sources/Load.pm

ConvertLang.pl is having problems converting such a large forum so I have to reconfigure it so it doesn't time out. (Oddly enough, it's timing out on Members.  Smiley)

Edited:
Also, moving over the added smilies to their new folder and getting them to show up is going to require some changes to the Smilie manager. Better to find out now.  Wink



  

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 #9 - Aug 15th, 2017 at 3:14pm
Mark & QuoteQuote  
You can access my test forum at any time. The FTP data you have now. Here you can not destroy anything. I'll test the new build tomorrow and then report it. I do not understand the last sentence so completely. Has the server time not been enough for Timeaut? I can change that. I have now installed nginx before Apache. I test it.
  

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: Conversion
Reply #10 - Aug 15th, 2017 at 3:16pm
Mark & QuoteQuote  
Dandello wrote on Aug 15th, 2017 at 2:40pm:
Also, moving over the added smilies to their new folder and getting them to show up is going to require some changes to the Smilie manager. Better to find out now.


I do it.
  

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 #11 - Aug 15th, 2017 at 4:04pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 15th, 2017 at 3:14pm:
You can access my test forum at any time. The FTP data you have now. Here you can not destroy anything. I'll test the new build tomorrow and then report it. I do not understand the last sentence so completely. Has the server time not been enough for Timeaut? I can change that. I have now installed nginx before Apache. I test it.


This is a problem on my testbed server. Also, I had having trouble directly downloading Members and Messages (good thing you had zipped up copies of those folders).

I always do my testing on my testbed server. That way I can test edits fast. I also figure if it runs on Apache 2.4 on Win7 with lots of stuff running in the background, it should run on almost 'real' server.
  

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 #12 - Aug 15th, 2017 at 4:07pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 15th, 2017 at 3:16pm:
Dandello wrote on Aug 15th, 2017 at 2:40pm:
Also, moving over the added smilies to their new folder and getting them to show up is going to require some changes to the Smilie manager. Better to find out now.


I do it.


The Smilie Manager (and the Converter) need some tweaks to accomodate smilies that were added the old-fashioned way (by just uploading them to the yabbfiles/Smilies folder). I'll get that sorted out later today or tomorrow.
  

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 #13 - Aug 15th, 2017 at 6:44pm
Mark & QuoteQuote  
Okay, the smileys are not that important yet. The conversion seems to work completely. ConvertLang not, I get there only a white page, no server timeout. I then simply canceled ConvertLang. However, posting is not possible, I get then the following error message.

Quote:
An Error Has Occurred. Argument "" isn't numeric in numeric eq (==) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Post.pm line 2552.


If you need my server to test, then always like. It is best configured. Yabbtest is there to test. It only has to remain in the maintenance mode when data from the main forum are on it. Google is very fast.
  

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 #14 - Aug 15th, 2017 at 7:22pm
Mark & QuoteQuote  
For testing: In Post.pm find
Code
Select All
            if ( $curuser ne $username && $notify_type == 2 ) {
                 load_user($curuser);
                 if (   ${ $uid . $curuser }{'notify_me'} == 1
                     || ${ $uid . $curuser }{'notify_me'} == 3 ) 



replace with
Code
Select All
            if ( $curuser && $curuser ne $username && $notify_type == 2 ) {
                 load_user($curuser);
                 if (   ${ $uid . $curuser }{'notify_me'} && ( ${ $uid . $curuser }{'notify_me'} == 1
                     || ${ $uid . $curuser }{'notify_me'} == 3 ) )
  



ConvertLang.pl needs some reorganizing - I know it works when there aren't a lot of members or message and I know it worked when that Converter glitch took out almost all the topics on your test board.
  

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 #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
 
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 #30 - Aug 16th, 2017 at 2:42pm
Mark & QuoteQuote  
Quote:
actiononfinish=$INFO{'actiononfinish'};


Can not find in Maintenance.pm

For me this looks like it is the right one.

Code
Select All
        if ( $INFO{'actiononfinish'} ) {
             $yysetlocation = qq~$adminurl?action=$INFO{'actiononfinish'}~;
             redirectexit();
         } 



or this?

Code (Javascript)
Select All
       ish'}"; 



Why the hell is the code not displayed correctly? Go to edit.
  

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: Conversion
Reply #31 - Aug 16th, 2017 at 2:46pm
Mark & QuoteQuote  
I would also have to work on my house, but I somehow do not have the right lust for it. Tomorrow is also a day.
  

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 #32 - Aug 16th, 2017 at 3:00pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 16th, 2017 at 2:42pm:
Quote:
actiononfinish=$INFO{'actiononfinish'};


Can not find in Maintenance.pm


should be around lines 789 and 798 - I just gave the section to be changed rather than the whole line. It's in two places.
  

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 #33 - Aug 16th, 2017 at 3:08pm
Mark & QuoteQuote  
I'm waiting for the SVN. Tomorrow is also a day. In Germany it is already 5 o'clock in the evening
  

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 #34 - Aug 16th, 2017 at 5:01pm
Mark & QuoteQuote  
It's 9:30 AM where I am.

But I just uploaded the newest batch of fixed files to the SVN - now to try to figure out why ConvertLang doesn't refresh like it's supposed to.

Also, I noticed that rebuild notifications truncates the member's board notifitations list.  Huh
  

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 #35 - Aug 16th, 2017 at 7:53pm
Mark & QuoteQuote  
@ Dandello


all in good time. We are no longer the youngest.
  

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 #36 - Aug 17th, 2017 at 3:29pm
Mark & QuoteQuote  
Okay - where I'm at: I created a new script that does the 'copy to ConvertLang'. It does the copying in a separate window in batches of 500 rather than trying to use javascript to keep track of time and rows and other stuff. The javascript just wasn't working to refresh the page like it was supposed to.


Now I have to get ConvertLang cleaned up and working with the new script.

I also have to fix the instructions for Convert2x - The new version uses the same system of Convert folders to copy over Attachments, PMattachments, and member Avatars. (Need to add Smilies to that list.)



  

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 #37 - Aug 17th, 2017 at 4:23pm
Mark & QuoteQuote  
Convert I make later. First the next error.

Mail an Members.

Quote:
Ein Fehler ist aufgetreten. Unsuccessful stat on filename containing newline at Sources/Load.pm line 322.


Member ban

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $banned[1] in pattern match (m//) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Ban.pm line 430.


Rebuild notification files

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

Yesterday line 1089

Event-Calendar

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value in concatenation (.) or string at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/EventCalSet.pm line 72.


At the moment I find no more errors. Looks quite well.

What I do not like:

Window for contributions: There is font size only 100%

Previously this was done in px, now in%.
This brings everything to me in disorder.
Size=12 is so small that you can not read it anymore.

e.g.:
http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?num=1264357835/0#
« Last Edit: Aug 17th, 2017 at 6:17pm 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 #38 - Aug 17th, 2017 at 6:37pm
Mark & QuoteQuote  
The ones in Load, MailMembers, and Ban are new - the one in Maintenance doesn't show up in my install but should have been taken care of.

EventCalSet isn't throwing any errors for me.

You can set your text size during posting AND in Profiles under Options. The little function that only changed the size inside the posting box now sets the text size for reading posts as well.

  

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 #39 - Aug 18th, 2017 at 8:30am
Mark & QuoteQuote  
You're right. The errors do not appear during a fresh installation.
I have just re-uploaded the test forum and found that new files with old ones were transferred, since I make transfer directly on the server. I will report later.

Only the error in the event calendar still appears.

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value in concatenation (.) or string at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/EventCalSet.pm line 72.


Dandello wrote on Aug 17th, 2017 at 6:37pm:
EventCalSet isn't throwing any errors for me.


How am I to understand that?
  

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: Conversion
Reply #40 - Aug 18th, 2017 at 11:50am
Mark & QuoteQuote  
I have reinstalled everything in the test forum. Everything works so far quite well. Some minor flaws are still present, but they are not a big problem anymore.

I wanted to stop the maintenance mode very briefly, but then comes the following error message:


Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $ttsreverse in concatenation (.) or string at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/NewSettings.pm line 824.


I am concerned about this error message. If I delete this profile, the next one appears. Before this, however, I need to rebuild the membership list.

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


The error occurs when I want to rebuild the notification files. 

I am now times over the Settings.pm from the maintenance mode gone, the error remains.

@ Dandello

You can log in with your data also in the test forum, you have there also admin rights.

Edited:
Ok, after the conversion, all the unsupported errors are there again.

« Last Edit: Aug 18th, 2017 at 1:03pm 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 #41 - Aug 18th, 2017 at 1:16pm
Mark & QuoteQuote  
Just uploaded the current batch of fixes to the SVN - The Language Converter now has two scripts and does its work in a popup window. The Language Converter also requires the user to step through each step.

I'm still working on the NewSettings issue.
  

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 #42 - Aug 18th, 2017 at 1:28pm
Mark & QuoteQuote  
I have already seen the SVN and already loaded. Will install immediately.

At the moment, I only do YaBB and YaBB and YaBB.
  

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: Conversion
Reply #43 - Aug 18th, 2017 at 2:07pm
Mark & QuoteQuote  
I think here we have a little bug in the script.  Smiley

Quote:
Can't locate /var/www/vhosts/yabbtest.de/cgi-bin/yabb2ConvertLang/Variables/Memberlist.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Modules /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Modules) at ConvertLang.pl line 589.
  

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 #44 - Aug 18th, 2017 at 2:45pm
Mark & QuoteQuote  
Yeah  Embarrassed Found that one about 5 minutes after posting it to the SVN - there's a new version up now. Also found some typos in Convert2x  Sad
  

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 #45 - Aug 18th, 2017 at 3:06pm
Mark & QuoteQuote  
Already seen, but nevertheless, the first test was negative. I'm doing it just a second time. It can also I have made a mistake.
  

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 #46 - Aug 18th, 2017 at 3:50pm
Mark & QuoteQuote  
I just discovered that not all the CBT files got transferred/converted on my last run. That may be part of your problem, too.

Edited:
And I just found one of the timeout problems - during Convert2x, if the Members or Messages folder has more in it than just the bare minimum number of files, the folder clean-out function hangs.
  

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 #47 - Aug 18th, 2017 at 5:58pm
Mark & QuoteQuote  
So I had no timeout, but was not completely converted to ISO. Best, you can see it yourself in the test forum. Your access data you know yes yet. The best is simply to set a $ max_process_time to 300, then nothing can happen, even with very large forums. I see, it is still on 20. Apache can work off this without problems.

An error message I still get:

Quote:
Ein Fehler ist aufgetreten. Exiting subroutine via last at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 643


This message appears when I want to rebuild the member list. I have deleted the lock file in the variables before, the maintenance mode stopped and started. Immediately this message appears and the forum goes back to the maintenance mode, the lock file is rewritten.

First, we should get the conversion completely. Feel free to work in the test forum as you need it. FTP and Admin rights you have. So we come on the right way. For today, however, is evening with YaBB for me.
  

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: Conversion
Reply #48 - Aug 18th, 2017 at 6:05pm
Mark & QuoteQuote  
I do not know now whether that is so wanted, but the general forum settings are not converted. So you should set before the conversion, otherwise something will be lost (see my signature).
  

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 #49 - Aug 18th, 2017 at 6:28pm
Mark & QuoteQuote  
What's weird is that we are having completely different issues from the same imported data.  Smiley
  

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 #50 - Aug 18th, 2017 at 6:45pm
Mark & QuoteQuote  
take it easy  Smiley

Edited:
Messages that are in the maillist.dat must be deleted beforehand. They are not converted, which leads to an error message.


Edited:
I've seen you were in the anti-scam forum. Caution, this is not the test forum. Testforum is here.

http://yabbtest.de
« Last Edit: Aug 18th, 2017 at 8:51pm 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 #51 - Aug 19th, 2017 at 1:42pm
Mark & QuoteQuote  
The backups from the main forum weren't complete. There are some Mods that should mod Convert2x so that those settings don't get lost.
  

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 #52 - Aug 19th, 2017 at 2:18pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 18th, 2017 at 6:45pm:
Edited:
Messages that are in the maillist.dat must be deleted beforehand. They are not converted, which leads to an error message.



I didn't have trouble with that one - BUT there were extra line breaks in it that could cause problems - that fix will be in the SVN once the yard debris is handled.
  

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 #53 - Aug 20th, 2017 at 1:09am
Mark & QuoteQuote  
More changes for 2.7.00 - natively, all board IDs are going to be lower case AND it will check against other board names lower case to lower case.

Also, both BoardConvert and Convert2x will list any boards at risk if moving to a Windows server (or if files are to be edited on a Windows machine). Convert2x will not change any file or board names during conversion.
  

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 #54 - Aug 20th, 2017 at 5:50am
Mark & QuoteQuote  
If it is necessary, I play 2.6.12 on the test server and make a copy of the main forum without mods. Many things are easier then.

Edited:
uppppps !!!! I have just reorganized the attachments in the test forum. About 90% of the images were simply deleted. But we'll do that later. The conversion has only once.
« Last Edit: Aug 20th, 2017 at 9:59am 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 #55 - Aug 21st, 2017 at 1:48pm
Mark & QuoteQuote  
Okay, I've been sorting out some odd issues with converting your forum and traced back a lot of the errors I was getting to one thing: a board with the ID 'admin'.  2.7.00 simply can not properly handle a board with that ID. 'Admin' is okay if it's converted from an old forum but 'admin' caused all the board functions to mess up.

I'm thinking (and hoping that 'admin' is the only name that glitches up) that a fix needs to be written into Convert2x.
  

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 #56 - Aug 21st, 2017 at 3:18pm
Mark & QuoteQuote  
We still have a lot of work to do. I'm waiting for the next update in the SVN.
  

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 #57 - Aug 21st, 2017 at 4:14pm
Mark & QuoteQuote  
On my list of things to do today  :Smiley
  1. Remove Rosemary stump
  2. Avoid looking at Eclipse while removing Rosemary stump
  3. Fix yard lights
  4. repot African Basil
  5. do laundry
  6. build new raised planting bed containers
  7. test changes to Convert2x and ConvertLang before uploading to SVN.
  

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 #58 - Aug 21st, 2017 at 6:31pm
Mark & QuoteQuote  
Who is rosemary? your daughter?
  

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 #59 - Aug 21st, 2017 at 6:43pm
Mark & QuoteQuote  
Rosmarinus officinalis
My plant was HUGE and half dead. They say it grows to 4ft by 4ft - try 8ft. by 8ft.  Shocked
  

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 #60 - Aug 22nd, 2017 at 4:29am
Mark & QuoteQuote  
Ahhhh!!! You mean Rosmarin (latinum: Rosmarinus). I understand.
  

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: Conversion
Reply #61 - Aug 22nd, 2017 at 5:46am
Mark & QuoteQuote  
I still have a whole list of errors. Many, however, will probably be gone when the conversion is finished. However, one is very important, it could also be related to the conversion. The heading " отдел "К" can be opened, but nothing is displayed (see test forum). Can this be due to the Cyrillic script? An error message appears (not always)?


Quote:
Use of uninitialized value within %grp_nopost in array dereference at Sources/Display.pm line 361.


The amount of topics and contributions is displayed correctly in the footer.

If it is not the conversion, then make it later. The conversion has now only once.
  

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 #62 - Aug 22nd, 2017 at 2:07pm
Mark & QuoteQuote  
I discovered an issue with converting the Mod and Mod group lists for boards and categories. I'll be working on that later today. Also the Permission lists need to be refactored for 2.7  Undecided

(And I actually got the Quote:
Exiting subroutine via last at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 643
error on a test run last night.)

And the problem in Display appears to be directly related to the conversion issue BUT could also be invoked if removing a no_post group goes badly.
  

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 #63 - Aug 23rd, 2017 at 12:43pm
Mark & QuoteQuote  
This is the one difference between the older German Language Pack and the newest one: http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl?num=1455988860/8#8
  

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 #64 - Aug 23rd, 2017 at 6:47pm
Mark & QuoteQuote  
Update Aug 23rd, 2017 at 6:43pm
My testing version of Convert2x is now giving a good conversion from 2.6 to 2.7, 'rebuild message index' is behaving, 'rebuild memberlist' is behaving  BUT 'rebuild notices' in the Admin Center is trashing the vars files.  Smiley

I'm not going to update the SVN until this is sorted.
  

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 #65 - Aug 24th, 2017 at 2:22am
Mark & QuoteQuote  
Dandello wrote on Aug 23rd, 2017 at 6:47pm:
Update Aug 23rd, 2017 at 6:43pm

I'm not going to update the SVN until this is sorted.


No problem, I can wait. I then make the help files. Without Google translator.  Wink
  

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 #66 - Aug 24th, 2017 at 2:07pm
Mark & QuoteQuote  
Just update the SVN. Convert2x and ConvertLang still need some language reworked and need to be refactored but I managed to get ain install/full conversion done in under 20 minutes. (This doesn't include copying over all the attachments.)

Warning: Do NOT USE Rebuild Notifications - I do not yet know if this is an old bug that is just now raising its ugly head or a new one but it's not properly processing the user files.

Oh, and the issue with Signatures and such displaying in tiny print - that comes from the fact that 2.7 is in HTML 5 and uses percentages for most of the font sizing. It seems that old font-sizing isn't converting properly. You'll need to edit the item to fix it.
  

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 #67 - Aug 24th, 2017 at 4:19pm
Mark & QuoteQuote  
I'm drunk today, tomorrow is another day.   Tongue
  

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 #68 - Aug 25th, 2017 at 2:25am
Mark & QuoteQuote  
Rebuild Notifications now works - mostly. I still haven't got a handle on why the board notification section writes the wrong user info to the user file being processed. (So that part is temporarily disabled.)
  

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 #69 - Aug 25th, 2017 at 4:25am
Mark & QuoteQuote  
When I compare on the server, the conversion worked fine.
After logging in, the following error message appears. The board index is not displayed. Maintenance mode terminated, error message remains. Boardindex is not visible. Try it yourself on yabbtest.de

Quote:
An Error Has Occurred. Use of uninitialized value within %grp_nopost in array dereference at Sources/Load.pm line 865.
  

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: Conversion
Reply #70 - Aug 25th, 2017 at 4:35am
Mark & QuoteQuote  
Quote:
An Error Has Occurred. Use of uninitialized value $INFO{"sort"} in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Memberlist.pm line 142.
  

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 #71 - Aug 25th, 2017 at 5:12am
Mark & QuoteQuote  
pyragony54 wrote on Aug 25th, 2017 at 4:25am:
When I compare on the server, the conversion worked fine.
After logging in, the following error message appears. The board index is not displayed. Maintenance mode terminated, error message remains. Boardindex is not visible. Try it yourself on yabbtest.de

Quote:
An Error Has Occurred. Use of uninitialized value within %grp_nopost in array dereference at Sources/Load.pm line 865.


It means that Settings.pm got trashed or didn't get transferred to Variables. - use the one in ConvertLang.
  

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 #72 - Aug 25th, 2017 at 5:24am
Mark & QuoteQuote  
pyragony54 wrote on Aug 25th, 2017 at 4:35am:
Quote:
An Error Has Occurred. Use of uninitialized value $INFO{"sort"} in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Memberlist.pm line 142.



I know what's happening but I won't have time to work on it until the morning. (I'm not getting that error but on my conversion, none of the sorts in Memberlist are working.)
Edited:
I am too tired to be working on this. (And Rebuild Notifications is still trashing the member files for no logical reason.)
  

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 #73 - Aug 25th, 2017 at 8:28am
Mark & QuoteQuote  
Take your time, you'll make it. Rome was also not built in one day.
  

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: Conversion
Reply #74 - Aug 25th, 2017 at 9:18am
Mark & QuoteQuote  
Dandello wrote on Aug 25th, 2017 at 5:12am:
pyragony54 wrote on Aug 25th, 2017 at 4:25am:
When I compare on the server, the conversion worked fine.
After logging in, the following error message appears. The board index is not displayed. Maintenance mode terminated, error message remains. Boardindex is not visible. Try it yourself on yabbtest.de

Quote:
An Error Has Occurred. Use of uninitialized value within %grp_nopost in array dereference at Sources/Load.pm line 865.


It means that Settings.pm got trashed or didn't get transferred to Variables. - use the one in ConvertLang.



I've tried it again, no change. The error remains. You have FTP access in the test forum. Look at it, please. I can not find a crash in settings.pm.
  

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: Conversion
Reply #75 - Aug 25th, 2017 at 11:13am
Mark & QuoteQuote  
Forget the conversion. I have made a mistake. It worked.

What is not yet working properly is the language conversion. Here was converted correctly to ISO,

http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?num=1248439145/2#2

But not here.

http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?num=1264357835/0#

Edited:
I tried to change the post, because there was an error message. Again, and then all characters were shown correctly according to ISO.


It's strange, what's going on.

The error message had to do with this. Here was not converted to ISO and I can not change it either.

http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?board=Ukraine

error message:

Quote:
Ein Fehler ist aufgetreten. Wide character in print at ./Sources/Subs.pm line 300.


So we can say the conversion works,
The ConvertLang does not yet. The error could however occur at the forum by a wrong character. This is now to be found.

I think I got it. Anywhere where on the main page this character is, can not be converted.

e.g.:

Quote:
Scam aus Russland, versuchter & erfolgreicher Scam
Geldwäsche mit Muli
Bride-Scam only


Quote:
Ukrainische Scammer, Translationscam, versuchter & erfolgreicher Scam
Bride-Scam only


I've tried to change it, no chance.
I think I'll make it directly on the server, which should work. What is your opinion?

Quote:
Ein Fehler ist aufgetreten. Use of uninitialized value $category in string ne at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/ManageBoards.pm line 1454.
 
« Last Edit: Aug 25th, 2017 at 12:40pm 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: Conversion
Reply #76 - Aug 25th, 2017 at 12:53pm
Mark & QuoteQuote  
Let's go to the members area:
Here is sorted initially by date of registration. OK.
I go on sorting by posts, this works.
I go to name or position, I get the following error:

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 142.


I can not go back to the registration date, unless I click on the TAB for members.
  

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 #77 - Aug 25th, 2017 at 3:09pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 25th, 2017 at 11:13am:
What is not yet working properly is the language conversion. Here was converted correctly to ISO,


Um - we're converting to UTF-8.
I actually got the error from http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?num=1264357835/0# to show up on my test install. It looks like there's something in that file that the Perl encode/decode couldn't handle - the converted output actually looked like it had been processed multiple times. However, when I opened the original file from ConvertLang/Messages and converted it to UTF-8 using Notepad++, that worked. (I'm still trying to find the character(s) that messed up.)

This is one of the reasons I recommend keeping the ConvertLangs data intact until you're absolutely sure everything converted okay.

All the '&' showing in the browser should be being converted to '&amp;' . You should be able to check by looking at the 'Page source' through your browser. (And it was all good when I looked)


  

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 #78 - Aug 25th, 2017 at 3:19pm
Mark & QuoteQuote  
Just uploaded the new Sources/Memberlist.pm to the SVN.
  

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 #79 - Aug 25th, 2017 at 3:30pm
Mark & QuoteQuote  
Dandello wrote on Aug 25th, 2017 at 3:09pm:
you're absolutely sure everything converted okay.



Check it out
  

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 #80 - Aug 25th, 2017 at 3:54pm
Mark & QuoteQuote  
I'm looking into the conversion issue for that one post. The complicating factor is  ISO-8859-1/ansi isn't rendered as true ISO-8859-1 by browsers. They call it ISO-8859-1 or ansi but it's actually win-1252 which is just enough different to make things horribly complicated. And Perl's encode/decode doesn't handle win-1252 at all well when told to use that encoding instead of ISO-8859-1.

Officially there should be only a few differences between win-1252 and ISO-8859-1 but the official list of differences doesn't reflect reality as the rest of us know it.

My current list of things that don't convert right:
Code
Select All
sub ansi {
     my ($line) = @_;
     $line =~ s/\x20AC/&euro;/gxsm;
     $line =~ s/\x82/&sbquo;/gxsm;
     $line =~ s/\x83/&fnof;/gxsm;
     $line =~ s/\x84/&bdquo;/gxsm;
     $line =~ s/\x85/&hellip;/gxsm;
     $line =~ s/\x86/&dagger;/gxsm;
     $line =~ s/\x87/&Dagger;/gxsm;
     $line =~ s/\x88/&circ;/gxsm;
     $line =~ s/\x89/&permil;/gxsm;
     $line =~ s/\x8a/&Scaron;/gxsm;
     $line =~ s/\x8b/&lsaquo;/gxsm;
     $line =~ s/\x8c/&OElig;/gxsm;
     $line =~ s/\x8e/&Zcaron;/gxsm;
     $line =~ s/\x91/&lsquo;/gxsm;
     $line =~ s/\x92/&rsquo;/gxsm;
     $line =~ s/\x93/&ldquo;/gxsm;
     $line =~ s/\x94/&rdquo;/gxsm;
     $line =~ s/\x95/&bull;/gxsm;
     $line =~ s/\x96/&ndash;/gxsm;
     $line =~ s/\x97/&mdash;/gxsm;
     $line =~ s/\x98/&tilde;/gxsm;
     $line =~ s/\x99/&trade;/gxsm;
     $line =~ s/\x9a/&scaron;/gxsm;
     $line =~ s/\x9b/&rsaquo;/gxsm;
     $line =~ s/\x9c/&oelig;/gxsm;
     $line =~ s/\x9e/&zcaron;/gxsm;
     $line =~ s/\x9f/&Yuml;/gxsm;
     $line =~ s/\xA0/ /gxsm;
     $line =~ s/\xe9/&eacute;/gxsm;
     $line =~ s/\xa9/&copy;/gxsm;
     return $line;
 } 



The above list was gleaned from one of my other boards where I know for a fact that people directly copy and paste from Word for Windows.

I'm betting there's at least one more for the list in that post.
  

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 #81 - Aug 25th, 2017 at 4:35pm
Mark & QuoteQuote  
Dandello wrote on Aug 25th, 2017 at 3:19pm:
Just uploaded the new Sources/Memberlist.pm to the SVN.


Unfortunately does not work. Always jumps back to the registration date.
  

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 #82 - Aug 25th, 2017 at 6:13pm
Mark & QuoteQuote  
When MemberList starts throwing weird errors - rebuild the memberlist (That's working.)

  

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 #83 - Aug 25th, 2017 at 6:25pm
Mark & QuoteQuote  
It does not work. Convince yourself in the test forum
  

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: Conversion
Reply #84 - Aug 25th, 2017 at 6:33pm
Mark & QuoteQuote  
So I have now a very stupid question:
Can not you do it the way it was before? That one can decide with the settings whether ISO or UTF? Just as it was before? This has proven itself well.
  

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 #85 - Aug 25th, 2017 at 6:53pm
Mark & QuoteQuote  
The decision was made to finally convert all of YaBB to UTF-8 because then everybody can read what the Russians are writing when the Russian Language pack is installed and they're using it and you're not. (Also, it will be needed when YaBB finally gets all the data into proper databases.)

From what I can tell without running a full blown html checker on the testbed forum, that one message is the one with issues. When looking at the raw text, it looks okay. But perl says it's not okay. Also, there are characters in the converted text that should have been converted to html entities but weren't.  Sad So I'm tracking down some other possible fixes.

  

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 #86 - Aug 25th, 2017 at 6:56pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 25th, 2017 at 6:25pm:
It does not work. Convince yourself in the test forum

I rebuilt the memberlist and now it's not throwing errors for me. (But don't try rebuilding notices - that's still doing bad things.)
  

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 #87 - Aug 25th, 2017 at 7:31pm
Mark & QuoteQuote  
A fix for the weirdness in that one file:

In Subs.pm find
Code (Perl)
Select All
         print $output or croak "$croak{'print'} output"; 



add above it
Code
Select All
        $output =~ s/[^\x00-\xFF]//gxsm;
  



This strips out any characters that didn't convert properly. (And chances are, we were looking at a hidden character that shouldn't have been there in the first place.)
  

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 #88 - Aug 25th, 2017 at 10:02pm
Mark & QuoteQuote  
The problem of Rebuild Notices is driving me buggy - I've just taken a backup of BoardMod so I can use that data to do more testing. (Another big forum, lots of members and probably lots of notices.)

On the online Strict 2.7 Build - not enough members to test and that one only has a couple of boards with board notices and those don't process at all.  Angry
  

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 #89 - Aug 26th, 2017 at 3:01am
Mark & QuoteQuote  
Dandello wrote on Aug 25th, 2017 at 7:31pm:
his strips out any characters that didn't convert properly. (And chances are, we were looking at a hidden character that shouldn't have been there in the first place.)


Done.


  

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: Conversion
Reply #90 - Aug 26th, 2017 at 6:09am
Mark & QuoteQuote  
I have now reset the test forum. Also included the change from answer 87. And what happens:

Quote:
An Error Has Occurred. Use of uninitialized value within %grp_nopost in array dereference at Sources/Load.pm line 865.


I'm not coming to the board index.

Can this come from the Ansi characters? If so, then I have to edit the main forum "anti-scam". This is a lot of effort, but feasible.

Even error also appears when I want to rebuild the member list.
And also, if I want to rebuild the notification files.

What is wrong? That is the question!!!

I'm sure I did not make a mistake with the conversion. Also the sides refresh I have done every time. The conversion went smoothly. I have noticed everything at the most.

What surprised me, however, the whole conversion went fast. Not even two minutes and she was through. And at such a great forum? All data are available, but have they been converted correctly?

« Last Edit: Aug 26th, 2017 at 9:56am 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 #91 - Aug 26th, 2017 at 1:11pm
Mark & QuoteQuote  
If you're running the conversion over a forum that's already been processed, along with Convert2x.lock and ConvertLang.lock, remove ConvVar.txt if it exists. I suspect that ConvertLang actually skipped a lot of the conversion - I know it skipped Variables.

For the short term, copy the contents of ConvertLang/Variables/ to Variables.

For next update on Convert2x I'll take care of that text size issue.

And rebuilding the notifications is still returning trashed vars files. This has nothing to do with the language conversion and I'm still trying to track down why the problem is occurring. (I know where it's happening, I know what is happening, I don't know why it's happening.)

I'm in the process of getting BoardMod running on my home server so I have a second big board to test with.
  

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 #92 - Aug 27th, 2017 at 8:47am
Mark & QuoteQuote  
A ConvVar.txt does not exist. I think I can not do much at the moment and will continue to translate.
  

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 #93 - Aug 27th, 2017 at 12:37pm
Mark & QuoteQuote  
Yeah, I'm still fighting with Rebuild Notifications.
  

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 #94 - Aug 28th, 2017 at 4:17am
Mark & QuoteQuote  
A couple more tests tomorrow and the new files will be in the SVN.
Just a note - some of the errors that showed up in MemberList are actually due to members that don't have e-mail addresses in their profile.  Huh
  

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 #95 - Aug 28th, 2017 at 6:07am
Mark & QuoteQuote  
Would not it be better to first make the conversion? It was, as I can assess, only the messages are not converted. I can not otherwise test the translations and there are still a lot of errors.
  

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: Conversion
Reply #96 - Aug 28th, 2017 at 6:11am
Mark & QuoteQuote  
Dandello wrote on Aug 28th, 2017 at 4:17am:
Just a note - some of the errors that showed up in MemberList are actually due to members that don't have e-mail addresses in their profile.



These are still flying out. I'll do the same.
  

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 #97 - Aug 28th, 2017 at 1:18pm
Mark & QuoteQuote  
One of the things I'm going to have to add to the Convert utilities is a file that lists the boards that will lose data when moved to a Windows platform. Also, BoardMod had at least one instance of member files with the same problem, so those members affected will also have to be noted.

Once that's done, I can work on a checker for Convert2x to check for members with missing essential data - like e-mail addresses - and list those members.

This may take me a bit of time. Also, the list of 'recommended things to do after conversion' should go into the Admin Helps (In fact, the entire 'how to convert' should go into Helps as I suspect no one actually reads the QuickStart - and the current one is already out of date.  :Smiley )

I added a 'no e-mail' fix to MemberList.pm (not in the SVN yet) but it doesn't fix the underlying problem.

I could add a checker to Rebuild MemberList but this problem should only be showing up on forums that have imported data that goes way back. (Maybe this checker should be a Mod? Maybe all the Conversion utilities should be in a Mod? - Just thinking out loud here.)
  

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 #98 - Aug 28th, 2017 at 2:32pm
Mark & QuoteQuote  
Dandello wrote on Aug 28th, 2017 at 1:18pm:
(Maybe this checker should be a Mod? Maybe all the Conversion utilities should be in a Mod? - Just thinking out loud here.)



It would not be bad, because there are many in Germany who can not speak English and the installation routine is only in English. As a mod you could also do this in German. But does not that make a lot of effort?
  

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 #99 - Aug 28th, 2017 at 3:01pm
Mark & QuoteQuote  
pyragony54 wrote on Aug 28th, 2017 at 2:32pm:
As a mod you could also do this in German. But does not that make a lot of effort?


More on your part for the translation rather than mine.  Wink
We'll need good instructions for Help. Within Convert2x and ConvertLang, there aren't all that many language bits.

I was actually thinking of security when I suggested the conversion utilities be installed separately. I've seen too many installs where the admin didn't use those files and didn't remove them.  Shocked  Potentially very dangerous.

On a related note, it's pretty obvious that there were plans to have translations for the QuickStart. Moving the Conversion instructions into Help should make translating QuickStart a lot easier. (When we get there - it hasn't happened in years and years so there's obviously no rush.  Grin )
  

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 #100 - Aug 28th, 2017 at 5:32pm
Mark & QuoteQuote  
Okay, if it's just the translation, I'll go. It just takes time. But now, where my house is almost finished, I have a lot of time in winter and before that, I do not count on YaBB2.7
  

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 #101 - Aug 28th, 2017 at 6:00pm
Mark & QuoteQuote  
Well, we're trying to make the conversions as easy and complete as possible as 2.7 is going to be the jumping off point for moving to storing data in mySQL. But it's going to take time and hurrying just adds mistakes.

(I also spotted some 'file collision' issues with Attachments and Windows.  Smiley So Convert2x is getting bigger and bigger.  Embarrassed)
  

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 #102 - Aug 29th, 2017 at 12:53am
Mark & QuoteQuote  
The size issue on items with their sizes set the 'old way' - Maximum Font size and Minimum Font size didn't get converted - size 6 should now be 50 and size 32 should now be about 265;
  

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 #103 - Aug 30th, 2017 at 7:24am
Mark & QuoteQuote  
I'm looking forward to the next update in the SVN. Then I can say more. All members without mailaddress I have deleted. This should not cause any difficulties. I am working on the translation. There are still a few errors in the speech. Not so tragic, but annoying.
  

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 #104 - Aug 30th, 2017 at 12:46pm
Mark & QuoteQuote  
A couple test conversions today then the updated files uploaded to the SVN. THEN, I have guests coming for the weekend.
  

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 #105 - Aug 30th, 2017 at 1:23pm
Mark & QuoteQuote  
Do not worry, I also have to deal with the German files.
  

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 #106 - Aug 30th, 2017 at 1:47pm
Mark & QuoteQuote  
Well, Convert2x has started timing out for no apparent reason. - It worked fine for 3 conversions and now is timing out without writing anything.
Edited:
And I figured out what happened -  Embarrassed  Gaining on things like the attachments log, copying attachments...
« Last Edit: Aug 30th, 2017 at 9:52pm by Dandello »  

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 #107 - Aug 31st, 2017 at 8:11pm
Mark & QuoteQuote  
Got a good Conversion on BoardMod.
New files in the SVN. This version saves a list of the problem files and users without e-mails.

Also had to add a fix for people who thought '~~~~~~' was a good password. (Kind of indicates someone who never logged in after the Forum moved to encrypted passwords.)
  

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 #108 - Sep 1st, 2017 at 6:01am
Mark & QuoteQuote  
I have now tested build 1866. After the conversion I do not come to the Bordindex.

Quote:
An Error Has Occurred. Use of uninitialized value $brdnm in string eq at Sources/BoardIndex.pm line 1901.
  

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: Conversion
Reply #109 - Sep 1st, 2017 at 6:40am
Mark & QuoteQuote  
The structure of the data files has apparently and functioned in the first view.


Older PM attachments can not be deleted.

Quote:
Nicht abgefangene Fehler :
Kann nicht öffnen FILE at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Attachments.pm line 1368.


  

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 #110 - Sep 1st, 2017 at 6:51am
Mark & QuoteQuote  
The error in BoardIndex relates to the brdpics.db in Boards - there should be 3 items in each line.

The problem with Attachments has to be related to the problem I mentioned with your attachments.txt which was converted to attachments.db.  (The original file had three bad lines that had to be hand edited for it to work in my last test install.)

I'll do another test install in the morning. (I also found an issue with getting the forumstart date properly formatted. Some of these issues date back to the original Convert way back when.)
  

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 #111 - Sep 1st, 2017 at 7:11am
Mark & QuoteQuote  
Manage Forums

Quote:
Ein Fehler ist aufgetreten! Use of uninitialized value $brdnm in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/ManageBoards.pm line 238.



That was the most important thing.

Edited:
I somehow feel that the messages are not converted. You will see on the server as before. As long as I do not come to the index, I can not say however. In my opinion, the covertion was much too fast. For a forum of this size it should take a while. But we are on the right track.
  

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 #112 - Sep 1st, 2017 at 1:40pm
Mark & QuoteQuote  
On my home machine, it takes me 20 minutes to do a full start to finish import/conversion using your data.

BoardMod took a little longer - it has fewer posts but more members and more attachments. 

The Attachments log doesn't need conversion, it just gets renamed from attachments.txt to attachments.db - but the copy in the data you sent me, attachments.txt has errors in lines 1, 2, and 570. (You'll need to check your backups to see when those errors crept in.)

I added a checker to see if brdpics.db exists and if it does, it gets copied and |default| changed to |Forum default| to match the name of the default template, otherwise brdpics.db gets built from board data.

Remember - on converting to 2.7 you lose all your old templates as none of them will work with 2.7.

  

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 #113 - Sep 1st, 2017 at 2:03pm
Mark & QuoteQuote  
And I'm getting a 500 error on running 'remove old attachments'

Edited:
I'm also getting the same error with your data in a 2.6.12 build.


Edited:
I THINK the problem may have to do with the fact that the rebuild attachments log function doesn't check against the actual file list in the Attachments folder.
« Last Edit: Sep 1st, 2017 at 5:08pm by Dandello » 
Reason: More info 

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 #114 - Sep 1st, 2017 at 6:00pm
Mark & QuoteQuote  
Quote:
attachments.txt has errors in lines 1, 2, and 570. (You'll need to check your backups to see when those errors crept in.)


I can correct that. No problem!!!

Quote:
Remember - on converting to 2.7 you lose all your old templates as none of them will work with 2.7.


I know that, no problem!!!
  

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 #115 - Sep 1st, 2017 at 6:33pm
Mark & QuoteQuote  
I'm still having problems with getting remove old attachments to work - I'm almost at the point of putting the wretched function in a window to watch it.  Rebuild attachment log should remove references to attachments that are no longer in the Attachments folder but isn't - this may or may not be related to Windows' case insensitivity.

I may just have to come back to this later.
  

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 #116 - Sep 2nd, 2017 at 2:46pm
Mark & QuoteQuote  
Okay - found some interesting glitches related to 'view attachments'. I suspect (hope) that the problem with the various attachment cleanup functions are related to 'file collisions' in the Board names in the data I'm using. (I'm also wondering how/if those functions actually worked in the first place when dealing with lots of data. There's some seriously WTF code in there.)  Shocked
  

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



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: Conversion
Reply #117 - Sep 2nd, 2017 at 5:02pm
Mark & QuoteQuote  
1866 working mods
  
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: Conversion
Reply #118 - Sep 2nd, 2017 at 5:31pm
Mark & QuoteQuote  
No mods until the basic bug texting and conversion testing is done - I really don't want to have to redo mods three and four+ times due to bug issues in the main code.
  

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 #119 - Sep 4th, 2017 at 9:39pm
Mark & QuoteQuote  
Quickly a question:
What new mods have been introduced according to 2.6.12-
Advancce Time Ban I have seen. Which one?
  

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: Conversion
Reply #120 - Sep 4th, 2017 at 10:25pm
Mark & QuoteQuote  
HoneyPot, Anti-spam Question, SpamFruits, nospammeremail, self-delete-lock, X Posts Before Website Link, Event Calendar, IP-Lookup, Board password, External board link, Add Moderator, Minimum Registration Time, Set Search, Topic Preview, Ajax Live Preview, Guest Viewing Limit, Board Rules, CSS Buttons, Social Bookmarks, and Reason for Editing were added to 2.6

YaBB 2.7 comes with Print Post Permissions, Advanced Details, Advanced Backup, Advanced Global Moderator Permissions, Advanced PM Minimum Posts, Advanced Referrer Controls, Advanced Time Ban, E-Mail Settings Check, ErrorLog Security, Fix Board Dupes, PM Reply to All, Style Switcher, Text Sizer, and YaBMod.
  

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 #121 - Sep 5th, 2017 at 8:39am
Mark & QuoteQuote  
Okay, already very good. I have only one problem with display name history. In the past I have lost this data regularly. So before you rebuild the whole indexes, you should install the mods. Could one (I know, does this work) do not incorporate this mod at the same time? Or is that not desired? Because of me this does not have to be, I know what I have to take care of (only then did not know it). But the other users?

When translating, I have to work partly with ANSI. (Go no different) I hope this does not make any problems.

Edited:
Or would it be better instead
Code
Select All
&nbsp; 

Code
Select All
&#x00A0; 

to use.
  

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: Conversion
Reply #122 - Sep 5th, 2017 at 12:46pm
Mark & QuoteQuote  
Code
Select All
&nbsp; 

is easier to find when searching. It's also the version everyone expects to see and that YaBB uses internally.

Using ANSI during the translation process isn't a problem. It's just that the language files have to be converted to UTF-8 before YaBB 2.7 can use them.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #123 - Sep 5th, 2017 at 1:35pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 5th, 2017 at 8:39am:
Okay, already very good. I have only one problem with display name history. In the past I have lost this data regularly. So before you rebuild the whole indexes, you should install the mods. Could one (I know, does this work) do not incorporate this mod at the same time? Or is that not desired? Because of me this does not have to be, I know what I have to take care of (only then did not know it). But the other users?


The problem with NOT installing Mods before doing anything else is that the changes and additions the Mods made (like adding items to vars files) won't be there and that data will be removed. YaBB keeps lists of items that should be in places like  board info and vars files. If an item isn't on the list, it gets removed.

Now, for such Mods like display name history, if that Mod isn't installed before importing, it has to be installed before any vars file is opened/saved.

I am thinking of adding more functions to the BoardConvert utility - like the possible data loss warning list when moving to Windows and a Mod list checker. This would mean that the BoardConvert utility would have to be run on the old forum before an import/conversion.

On a related note - I'm checking into how, in your attachments log, there came to be the same attachment in multiple places. (This isn't a case-insensitivity issue. Attachments.pm will now be checking file names against a list - which is case-sensitive - of what's in yabb2/Attachments rather than just trusting 'is it in the folder?' as Windows gives a false positive on that.)
  

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 #124 - Sep 5th, 2017 at 1:47pm
Mark & QuoteQuote  
Well, the problem with Windows is not new. I have therefore specially a computer with Linux, but somehow the connection does not work with FTP. Since I need a Linuxprofi.
  

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: Conversion
Reply #125 - Sep 5th, 2017 at 3:54pm
Mark & QuoteQuote  
The problem of Windows is a long known issue. But it's one YaBB could have addressed a long time ago as it had/has the potential of doing serious damage to a forum, especially for inexperienced forum owners trying to restore backups using FTP from a Windows machine.
  

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 #126 - Sep 6th, 2017 at 4:14pm
Mark & QuoteQuote  
I would like to rename the German folders into "Deutsch_formal" and "Deutsch_informal", so it would be more professional.

Do I have to pay attention to anything?

e.g.:

Code
Select All
$germanfalngver = 'YaBB 2.7.00 $Revision: 1826 $';
 @germanfalngmods = ();
 if(@germanfalngmods) {
     $germanfalngmods = 1; 



Code
Select All
$german_dufalngver = 'YaBB 2.7.00 $Revision: 1826 $';
 @german_dufalngmods = ();
 if(@german_dufalngmods){
     $german_dufalngmods = 1; 



and the mod

Code
Select All
<search for>
 if (@yabmodpmmods) {
 </search for>

 <add before>
 push @yabmodpmmods, 'German Lang';
 </add before>

 <search for>
 ## src mod hook ##
 </search for>

 <add before>
                 push @srcfolders, 'Languages/German/', 'Languages/German/Mods/';
 </add before>

 <edit file>
 Languages/Lang.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $lngs{'German'} = 'Deutsch';
 </add before> 



  

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: Conversion
Reply #127 - Sep 6th, 2017 at 4:51pm
Mark & QuoteQuote  
Code
Select All
$germanfalngver
 @germanfalngmods
 $germanfalngmods 


The highlighted section refers to the folder name converted to lowercase for all the files. (But I suspect that was what you were actually confirmation of.)

But I'm actually not sure it's really necessary as with the new system, only the admins should ever see that actual folder name. Changing the 'screen' name in the Mod for %lngs might be good enough.
Code
Select All
<add before>
 $lngs{'German'} = 'Deutsch Formal';
 </add before>  



There's also the minor issue of converted forums where they were using Language packs with the older folder names and so a lot of members will be discovering they have to change their language choice after an upgrade. (Like yours.  :Smiley )
  

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 #128 - Sep 6th, 2017 at 5:20pm
Mark & QuoteQuote  
Grin Grin Grin

Then I will experiment a little.

Edited:
I reset Yabbtest. If you want, you can experiment. All files are in Convert.
  

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: Conversion
Reply #129 - Sep 6th, 2017 at 5:53pm
Mark & QuoteQuote  
There are updates in the 2.7 SVN - Attachments.pm has gotten rebuilt and now stores actual lists of the files in the Attachments Folder and PMAttachments folder to check against. The Manage Attachments screen also now tells you how large the largest real file is and how old the oldest real file is.

Convert2x also saves a file into Variables (datacheck.txt) that lists all the potential 'trouble' files - Members without emails, possible duplicated Boards and attachments.

I'm going to spend a little bit of time today trying to figure out why the current Russian Pack does weird things to the AdminCenter.

Tomorrow I'll start pulling out the language sections of Convert2x and ConvertLang into their own lang files.
  

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 #130 - Sep 6th, 2017 at 6:57pm
Mark & QuoteQuote  
Very good. Today I will not test it.
It is 9 pm and I have to get up early in the morning. The duty calls me once a week.
  

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: Conversion
Reply #131 - Sep 6th, 2017 at 9:21pm
Mark & QuoteQuote  
Oh, yeah - forgot about all those German language addons in Mods that will have to be rewritten...  :Smiley
  

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 #132 - Sep 6th, 2017 at 9:44pm
Mark & QuoteQuote  
Dandello wrote on Sep 6th, 2017 at 9:21pm:
Oh, yeah - forgot about all those German language addons in Mods that will have to be rewritten...  :Smiley



.... but not me.
  

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: Conversion
Reply #133 - Sep 8th, 2017 at 5:06am
Mark & QuoteQuote  
okay.

Rebuild Message Index

Quote:
An Error Has Occurred. Argument "toskana102" isn't numeric in sprintf at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 171.


I have deleted the member completely, the error appears anyway.



Attachment Functions

Quote:
An Error Has Occurred. Argument "Rais" isn't numeric in addition (+) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Attachments.pm line 102.


I have deleted the member completely, the error appears anyway.



The conversion has worked so far, all the data in cgi-bin are there.
We are an important step forward.
  

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: Conversion
Reply #134 - Sep 8th, 2017 at 6:51am
Mark & QuoteQuote  
Quote:
An Error Has Occurred. Use of uninitialized value $mfn in scalar chomp at Sources/Display.pm line 1009.


Here I think the error appears because "must view topic" is missing.

Edited:
If so, can you please adjust the mod for me, so that I can test it? Otherwise, we might look for errors where there is no one.
« Last Edit: Sep 8th, 2017 at 7:56am 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
*****
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 #135 - Sep 8th, 2017 at 1:39pm
Mark & QuoteQuote  
Deleting members has nothing to do with getting rid of bad data with the attachments log or bad data in message files.  (And the errors in Maintenance and Attachments deal with bad data in those other places.)

(And the problem in Display is also an attachment issue. Although why that one triggered for you and not for me is a mystery.)
For Display add
Code
Select All
        $mfn ||= q{}; 

just above the
Code
Select All
         chomp $mfn; 

on line 1005.

Edited:
The best I think we can do is add more checkers for bad data - Convert2x doesn't check anything in the *.txt files, it just copies the files over based on the info gathered in the Boards import without any changes and the Language conversion just converts ANSI to UTF-8.

The attachments log just gets renamed when copied.

I am guessing the *.txt file with the bad data doesn't trigger anything on my testbed due to the file name collisions in Boards. But I also didn't find anything in the 'raw' files I have. What the error in Maintenance is actually saying: the last line in *.txt doesn't have a number in the 3rd field. I can add a checker for that.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #136 - Sep 8th, 2017 at 2:41pm
Mark & QuoteQuote  
For the problem with Maintenance and Messages:
In Error.lng (all versions) add
Code
Select All
$error_txt{'bad data' } = q~File with bad data~; 


above the 1; at the bottom.

In Maintenance find
Code
Select All
            my $lastpostdate = sprintf '%010d', $lastinfo[3]; 



And add above it
Code
Select All
            if ($lastinfo[3] =~ /\D/xsm) {
                 fatal_error( 'bad data', "$datadir/$thread.txt", 1 );
             } 



This will cause the Rebuild Message Index to throw an error when it runs across a last line with bad data (specifically, when the 3rd field (first field is 0) has anything but numbers in it. It will tell you what file has the problem so you can fix it or remove that line (by hand).
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #137 - Sep 8th, 2017 at 3:11pm
Mark & QuoteQuote  
In Attachments.pm find
Code
Select All
    foreach (@attachments) {
         my $space = ( split /[|]/xsm, $_ )[5];
         $attachment_space += $space;
         $attachment_space = number_format($attachment_space);
     } 



replace with
Code
Select All
    foreach my $i (0 .. $#attachments) {
         my @check = split /[|]/xsm, $attachments[$i];
         if (scalar @check != 9) {
             fatal_error( 'bad data', "attachments.db bad line $i", 1 );
         }
         my $space = $check[5];
         if ($space =~ /\D/xsm || $space eq q{} ) {
             fatal_error( 'bad data', "attachments.db line $i", 1 );
         }
         $attachment_space += $space;
         $attachment_space = number_format($attachment_space);
     }

  



Like the new check in Maintenance, this one checks to make sure the field it's looking for has only numbers in it. If not, it throws an error telling you what line the problem is on in attachments.db (You already know what file you need to look in.)

I should probably add a check to make sure each line in attachments.db is exactly 9 fields long.  Undecided

Edited:
field number checker added above. Chances are the check for length will catch the $space error first.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #138 - Sep 8th, 2017 at 3:43pm
Mark & QuoteQuote  
And just so you don't think that the problem is with 2.7  - old YaBB ignored a lot of bad data when it crept in and since the bad data was ignored, it couldn't be fixed internally or send the admin warnings when things weren't right.

YaBB 2.7 catches all of those. So do the newer versions of Perl.

Also, when removing a member - only Memberlist and Memberinfo get edited when the member files get removed. That ex-member's data is still in all the posts they made and in attachment.db if they uploaded any attachments. Therefore, even though an error in a *.txt or in attachments.db might have a member's ID in it, the problem is actually something else entirely.
  

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 #139 - Sep 8th, 2017 at 6:32pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 8th, 2017 at 5:06am:
Rebuild Message Index

Quote:
An Error Has Occurred. Argument "toskana102" isn't numeric in sprintf at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 171.


I have deleted the member completely, the error appears anyway.



The error I could fix, it was only a bad contribution from member toskana102.
  

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: Conversion
Reply #140 - Sep 8th, 2017 at 7:15pm
Mark & QuoteQuote  
Dandello wrote on Sep 8th, 2017 at 3:43pm:
the problem is actually something else entirely.
                   


Since you are probably very right. The structure of the attachments also does not work so.
The debugger always shows the last attachment as defective.

Quote:
File with bad data attachments.db bad line 68358


If I remove this line, it simply counts down.
Have it tried with well 20 entries now. After the conversion, about 30000 attachments are missing.

Quote:

Ein Fehler ist aufgetreten! Use of uninitialized value $atfile in hash element at Sources/Display.pm line 1027, <_GEN_9> line 68359.

As I see it, this error only appears in topics where there are attachments.

This also seems to be related to the appendices. He always shows one more.

I think the attachments are not converted correctly.

Edited:
I'll start another try. I will rebuild everything in the main forum (attachments, members and topics) and then times everything in the test forum play and re-covert. Let's see what's going to happen.
  

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: Conversion
Reply #141 - Sep 8th, 2017 at 8:32pm
Mark & QuoteQuote  
Okay, in Display.pm find
Code
Select All
                    $attach_count{$atfile} = $atcount; 


and add above it
Code
Select All
                    $atcount ||= 0; 



This will force the download count to be 0 if there's no number. I think if you look at the raw data in attachments.db, you may find most of the lines in your file end with | instead of | and a number.

You may have to open your attachments.db in a spreadsheet  - replace all the | with a tab (\t) so you'll be able to manipulate the data (or zip up the old txt file and the new .db file and sent them to me so I can run a comparison in a spreadsheet - but there is definitely something off with those files and it seems to be getting worse.

Also, if your Convert2x created a Variables/datacheck.txt file - zip that up and send it along.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #142 - Sep 9th, 2017 at 1:10am
Mark & QuoteQuote  
pyragony54 wrote on Sep 8th, 2017 at 7:15pm:
Since you are probably very right. The structure of the attachments also does not work so.
The debugger always shows the last attachment as defective.

Quote:
File with bad data attachments.db bad line 68358


It's dumb, but try adding a linebreak after the last item. It's remotely possible that when the file gets read into the array, it's not reading that last line as finished.

And if not all the attachments are getting transferred - you may have to zip up that folder and upzip it in the new install. (I'll be testing on the BoardMod Mirror next week.)
  

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 #143 - Sep 9th, 2017 at 8:45am
Mark & QuoteQuote  
So I'm also a little idiot. If I had first in the mainforum the maintenance mode go through and then only the necessary files from the main forum to the test forum, everything would have looked better and many errors would not show up.

Two errors still appear, but my opinion is not the software.
I am now looking at what I still find there with the help of your debugger.
What I noticed, however, in some rubrics was not sorted by "last post", although I have set it so. Can you look in the test forum.
  

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: Conversion
Reply #144 - Sep 9th, 2017 at 9:38am
Mark & QuoteQuote  
Okay

Clean Users Online Log

Quote:
An Error Has Occurred. Use of uninitialized value $boardv in hash element at Sources/BoardIndex.pm line 2307.


This error appears only once and you do not get to the board index. If I reload the page, the board index appears as if nothing had happened.



First I'm not on the board rules (only visible for registered members). Error message. After installing the debugger it worked.



Some posts can not be opened and this error message appears.
What can be the cause of this error? I do not think it is a software error.

Quote:
An Error Has Occurred. Use of uninitialized value $boardname in concatenation (.) or string at Sources/Load.pm line 442.
  

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: Conversion
Reply #145 - Sep 9th, 2017 at 1:57pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 9th, 2017 at 9:38am:
Quote:
An Error Has Occurred. Use of uninitialized value $boardv in hash element at Sources/BoardIndex.pm line 2307.


This error appears only once and you do not get to the board index. If I reload the page, the board index appears as if nothing had happened.


$boardv can legitimately be blank - but I don't why your system is throwing a hissy and mine doesn't. The error clears up because the Variables/user.log gets rewritten everytime someone enters the forum or looks at something.

In BoardIndex find
Code
Select All
        foreach (@logentries) {
             ( $name, $date1, $last_ip, $last_host, undef, $boardv, undef ) =
               split /[|]/xsm, $_, 7;  


Add after
Code
Select All
$boardv ||= q{}; 



Quote:
Quote:
An Error Has Occurred. Use of uninitialized value $boardname in concatenation (.) or string at Sources/Load.pm line 442.


This is going to be due to bad data in forum.master. There's a board in there that doesn't have data in the first field. (look for '$board{'admin'}' as that shouldn't be there in 2.7 But I also just noticed that data didn't transfer for admin/admin_fix into forum.control  Embarrassed )

as a fix try:
In Load.pm find
Code
Select All
                    my $boardname = ${$board{$i}}[0];
                     $mybrds .= qq~$boardname<br />~;
                     return 1; 



replace with
Code
Select All
                    if (${$board{$i}}[0]) {
                         my $boardname = ${$board{$i}}[0];
                         $mybrds .= qq~$boardname<br />~;
                         return 1;
                     } 



All of these, so far, have nothing to do with Mods. For whatever reason, your install is more sensitive to uninitialized values than mine - maybe it's a Perl difference or a Perl on Windows difference. But it isn't a bad thing. As I said before: old YaBB ignored a lot of things that should have thrown errors. 2.7 throws the errors.

But once I see where the error message is pointing to I can see exactly what's happening and why.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #146 - Sep 9th, 2017 at 2:41pm
Mark & QuoteQuote  
Give me bug reports but don't do any new conversions until I have the new Convert2x ready. (Next week sometime.) I found some odd omissions and have to test the multi-language support.

Also, SpellChecker hasn't worked right in quite some time so I think now's the time to remove it.
  

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 #147 - Sep 9th, 2017 at 3:02pm
Mark & QuoteQuote  
I also find it class, the YaBB 2.7 does not ignore the error.
My server is running Debian, not Windows. I'm not stupid.
Windows Server and you have already lost.
The two error messages are gone.
The only downside, some forums are not sorted by last post.
Look here:

http://yabbtest.de/cgi-bin/yabb2/YaBB.pl?board=LKV

You have there also admin rights, so you can see it.
  

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: Conversion
Reply #148 - Sep 9th, 2017 at 3:11pm
Mark & QuoteQuote  
Dandello wrote on Sep 9th, 2017 at 2:41pm:
Give me bug reports but don't do any new conversions until I have the new Convert2x ready. (Next week sometime.) I found some odd omissions and have to test the multi-language support.

Also, SpellChecker hasn't worked right in quite some time so I think now's the time to remove it.



I do this way.
Spelling check away, no problem. I really do not need it with my IQ.
But I am already listening to members.

The German files are almost ready except the help files. I think I can deliver it by Wednesday.
  

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: Conversion
Reply #149 - Sep 9th, 2017 at 4:05pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 9th, 2017 at 3:02pm:
The only downside, some forums are not sorted by last post.


That's weird since the same Board sorts just fine in my test install.  Huh (in WAMPP)
Edited:
I'm able to reproduce the problem on one install.

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #150 - Sep 9th, 2017 at 4:40pm
Mark & QuoteQuote  
Okay, this is one of those "How the frack was it working in the first place?"
in MessageIndex.pm find
Code (Perl)
Select All
            $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=a" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_first'}~;
             @threadlist = reverse @temp_list; 


replace with
Code (Perl)
Select All
            $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=a" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_first'}~;
             @threadlist = reverse sort {
                  (split /[|]/xsm, $a )[4] <=>
                    (split /[|]/xsm, $b )[4]
             } @temp_list; 



Find
Code (Perl)
Select All
        else {
             $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=b" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_up'}~;
  


Add after
Code (Perl)
Select All
            @threadlist = sort {
                 ( split /[|]/xsm, $a )[4] <=>
                   ( split /[|]/xsm, $b )[4]
             } @temp_list; 



Find:
Code (Perl)
Select All
    else {
         $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=b" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_up'}~;
  



add after:
Code (Perl)
Select All
        @threadlist = sort {
             ( split /[|]/xsm, $a )[4] <=>
               ( split /[|]/xsm, $b )[4]
         } @temp_list; 



This will force the 'last post' sort to go by actual 'last post date'. (I have no idea why the sort actually worked in previous versions of YaBB - it shouldn't have.  Huh  But really good catch.  Smiley)
  

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 #151 - Sep 9th, 2017 at 6:55pm
Mark & QuoteQuote  
And works   Smiley

Edited:
At the moment there is no error message.
Now I only notice the list of members, which always reverts to the registration date.
  

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: Conversion
Reply #152 - Sep 9th, 2017 at 7:21pm
Mark & QuoteQuote  
delete contributions

Quote:
An Error Has Occurred. Use of uninitialized value in pattern match (m//) at Sources/RemoveTopic.pm line 83.


  

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: Conversion
Reply #153 - Sep 9th, 2017 at 7:59pm
Mark & QuoteQuote  
In RemoveTopic.pm find
Code (Perl)
Select All
            if ( ( split /[|]/xsm, $threadline )[8] !~ /m/sm ) { 


and replace with
Code (Perl)
Select All
            if ( !( split /[|]/xsm, $threadline )[8] || ( split /[|]/xsm, $threadline )[8] !~ /m/xsm ) { 



(That should work. If not, it will have to be refactored a bit.)

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #154 - Sep 9th, 2017 at 8:08pm
Mark & QuoteQuote  
Oh, and on the Memberlist - it does default to Reg date unless set to something else in the Admin Center.
  

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 #155 - Sep 9th, 2017 at 9:17pm
Mark & QuoteQuote  
Error appears when I want to delete a complete thread.


Quote:
An Error Has Occurred. Use of uninitialized value $lastthreadstate in scalar chomp at Sources/System.pm line 155.
  

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: Conversion
Reply #156 - Sep 9th, 2017 at 10:38pm
Mark & QuoteQuote  
Dandello wrote on Sep 9th, 2017 at 8:08pm:
Oh, and on the Memberlist - it does default to Reg date unless set to something else in the Admin Center.


So this is more than cumbersome. So I have to go to the Admincenter every time. Then the pull down of the membership list would be for free. So I would change again.
  

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: Conversion
Reply #157 - Sep 10th, 2017 at 12:41am
Mark & QuoteQuote  
No, all the the sorts in MemberList work, it just doesn't remember your last sort if you leave and come back - it doesn't in 2.6 either. (I don't remember if it saved the member sort inb 2.5 but I rather doubt it.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #158 - Sep 10th, 2017 at 12:45am
Mark & QuoteQuote  
pyragony54 wrote on Sep 9th, 2017 at 9:17pm:
Error appears when I want to delete a complete thread.

Quote:
An Error Has Occurred. Use of uninitialized value $lastthreadstate in scalar chomp at Sources/System.pm line 155.


Some of these were hard to figure out. In System.pm find
Code (Perl)
Select All
            if ( !$lastthreadstate || $lastthreadstate !~ /m/xsm ) { 


and replace with
Code (Perl)
Select All
            if ( $lastthreadstate && $lastthreadstate !~ /m/xsm ) { 


  

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 #159 - Sep 10th, 2017 at 4:11am
Mark & QuoteQuote  
Dandello wrote on Sep 10th, 2017 at 12:41am:
No, all the the sorts in MemberList work, it just doesn't remember your last sort if you leave and come back - it doesn't in 2.6 either. (I don't remember if it saved the member sort inb 2.5 but I rather doubt it.)


To save it is not at all, it is about the fast switch between the individual options. Now you have to go through the Admincenter. I personally find this a disadvantage.
  

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: Conversion
Reply #160 - Sep 10th, 2017 at 5:34am
Mark & QuoteQuote  
Dandello wrote on Sep 10th, 2017 at 12:45am:
if ( $lastthreadstate && $lastthreadstate !~ /m/xsm ) {



and works   Smiley
  

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: Conversion
Reply #161 - Sep 10th, 2017 at 5:44am
Mark & QuoteQuote  
pyragony54 wrote on Sep 10th, 2017 at 4:11am:
To save it is not at all, it is about the fast switch between the individual options. Now you have to go through the Admincenter. I personally find this a disadvantage.
                     


The sorting in MemberList works the same as it always has - click on the 'Name' or 'Position', or whatever and it sorts. How it's sorted when you first open the MemberList can be determined in the AdminCenter. (None of this has changed from older versions of YaBB. And I checked that it works on your test install.)
  

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 #162 - Sep 10th, 2017 at 7:44am
Mark & QuoteQuote  
No, it does not. Have I set up in the Admincenter on posts and then would like to switch to the member list on, for example, date, it always jumps back to posts. I can not imagine that you get anything else than in my test forum.

I found out. The pulldown now irritates enormously.
« Last Edit: Sep 10th, 2017 at 11:39am 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
*****
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 #163 - Sep 10th, 2017 at 1:04pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 10th, 2017 at 7:44am:
I found out. The pulldown now irritates enormously.
                   


AH - but you can also sort by clicking on the header row of the table - the word 'Name', or 'Position'. I'd make a video but I've never done that before.
« Last Edit: Sep 10th, 2017 at 2:33pm by Dandello »  

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 #164 - Sep 10th, 2017 at 1:35pm
Mark & QuoteQuote  
I've already figured it out. Previously, you could do this with the pull-down, which does not work now. You should remove the pulldown, irritate it, or make it as before.
  

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: Conversion
Reply #165 - Sep 10th, 2017 at 2:31pm
Mark & QuoteQuote  
The pull down you're referring to is actually part of the search function and has been since at least 2.5. So you can look for a member who has 'something' in their screen name, user ID, or email and sort the results. To my knowledge pulldown has never sorted the full member list.
  

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 #166 - Sep 10th, 2017 at 2:48pm
Mark & QuoteQuote  
I think we are writing together. I mean the pull-down "sort by:"
This has become meaningless, because it can no longer be switched. It always jumps back to what was set in the Admincenter.
See image
  

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: Conversion
Reply #167 - Sep 10th, 2017 at 3:19pm
Mark & QuoteQuote  
I think I'm seeing the problem you're seeing - the sort for the search isn't staying to what was selected in the dropdown. (For whatever reason, when I do it, it reverts to 'Name' even though I know 'Posts' is supposed to be the sort.)

Okay - now that I can see it, I can track it down.

Edited:
And I'm seeing the same issue here and in my 2.5 install which means this is actually a very old problem.  Huh You may actually be the first person to notice.

OR the problem has to do with Perl being updated and behaving a little differently - but I doubt that.


You're right - it's redundant and confusing (And when it confuses ME that's really bad.)

All in favor of removing that dropdown...
  

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 #168 - Sep 10th, 2017 at 4:22pm
Mark & QuoteQuote  
we finally understood each other.
  

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: Conversion
Reply #169 - Sep 11th, 2017 at 4:07am
Mark & QuoteQuote  
Embarrassed UserSelect isn't working.

But I should have it okay tomorrow or so.
  

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 #170 - Sep 11th, 2017 at 6:21am
Mark & QuoteQuote  
I have now uploaded the new build from the SVN. Many forums are displayed N / A. When adding to this I get the following error message:

Quote:
An Error Has Occurred. Argument "" isn't numeric in numeric eq (==) at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Sources/Post.pm line 2598.


The maintenance functions ran smoothly.
  

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: Conversion
Reply #171 - Sep 11th, 2017 at 1:45pm
Mark & QuoteQuote  
In Post.pm find
Code (Perl)
Select All
                if (   ${ $uid . $curuser }{'notify_me'} == 1
                     || ${ $uid . $curuser }{'notify_me'} == 3 ) 


and replace with
Code (Perl)
Select All
                if (   ${ $uid . $curuser }{'notify_me'} && ( ${ $uid . $curuser }{'notify_me'} == 1
                     || ${ $uid . $curuser }{'notify_me'} == 3 ) ) 



Also in Post.pm find
Code (Perl)
Select All
            if (   ${ $uid . $toBoardMod }{'notify_me'} > 1
                 && $enable_notifications > 1 


and replace with
Code (Perl)
Select All
            if (   ${ $uid . $toBoardMod }{'notify_me'} && ${ $uid . $toBoardMod }{'notify_me'} > 1
                 && $enable_notifications > 1 



There still may be some issues remaining with notifications.

I'll be working on UserSelect issues, removing googiespell (Spellcheck) and the redundant pull down in Memberlist today and tomorrow.

Also, with any luck, multi-lingual capable Conversion Utilities - I have versions that are installed from a Mod zip that read from a language file. I'll post the English language changes later today. (Basically, with Convert2x as a Mod, the ConvertLang folders can be created by the script only if they are needed.) If I can get alternative installed languages to be selected by the Conversion utilities, then we can announce to YaBBForum the changes in 2.7 and upload everything to the SVN and ask for more testers.
  Cool
  

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 #172 - Sep 11th, 2017 at 2:11pm
Mark & QuoteQuote  
Okay, if I am to translate something, then say it. I despair already a little. Constantly I go through the German files and still find somewhere an error. I wonder if I'll be able to handle it?
  

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: Conversion
Reply #173 - Sep 11th, 2017 at 2:25pm
Mark & QuoteQuote  
Posting posts now works, but many forums are still displayed as N / A. Have the maintenance functions executed. I think I'll have to re-create again. I'm waiting for the new build in the SVN. Error message does not come so far.
  

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: Conversion
Reply #174 - Sep 11th, 2017 at 2:54pm
Mark & QuoteQuote  
After all these years I'm still finding things in the English that leave me scratching my head - things that just don't make any sense but have been ignored for years and years - and this is after Derek (native English speaker) went over the English files.

Part of the problem (according to my observation) - for years YaBB 'managers' have shown the attitude that once a version has been committed to a zip and offered on the YaBB Forum site - that version was written in stone and even getting a newer distribution zip onto the site for download was a chore. (And forget getting it onto the front page of the YaBB section at SourceForge.)

There was also the attitude of 'it works on MY server so it ain't broke so why fix it?'
For Perl Mongers, this attitude really showed when the guys were working on 3.0 - people made observations concerning long standing bugs and the coders ignored the bug fix requests. They were building a 'new YaBB' on a foundation with cracks.

This attitude included any translations. It 'works' so why fix it? So any errors that crept in stayed.

What I'm trying to say with this rambling - YaBB is moving to storing everything in the SVN and not even offering zipped 'set in stone' distributions. This means that changes and bug fixes can happen relatively easily. With YaBMod, bug fixes can be installed easily. (We tried it with 2.6 and it worked - but the BoardMod program isn't easy to use - in fact, I need to make a new bug Mod fix for 2.6)

SO, don't get stressed over it  - a lot of the things you're seeing may have been there since the very first translation and there are always bugs and misspellings to catch. Perfection is an illusion - excellence is the best we can hope for.

In the meantime, I apologise for making language changes while you were in the middle of translating. I will have the proposed changes to Admin.lng posted in a bit.
  

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 #175 - Sep 11th, 2017 at 3:29pm
Mark & QuoteQuote  
Uff. This is a lot of tobacco. No one has written this to me yet, but I have guessed it. Do you know, I wanted to go to YaBB earlier with the translations, because always somewhere nuts was translated. It was very bad, I believe in YaBB 2.4. But "JetLi" has always ignored me. I then wanted to use an "SMF" forum and go away from YaBB. SMF even offers a converter, so you can convert YaBB forums and that works 100%. Mods without end and for all issues, and a SQL database which was promised to the YaBB users years ago, but never finished. In the CVS one can still see this corpse today. Many of the YaBB forums that I once looked at have migrated and that is really a pity. They will not come back. Today there are still three YaBB forums in Germany, which I oversee besides my. If you need excitation for mods, I can send you the link of SMF. The site is in English, you will be amazed. Well, I have been faithful to YaBB for 10 years and this will continue to be the same for the next 10 years (if I still survive). At the age of 63, you know that you have far fewer lives than behind you. Well, if I do not report more, then I am no longer. Then maybe my forum will die if nobody wants to continue. But still I am.
  

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: Conversion
Reply #176 - Sep 11th, 2017 at 3:48pm
Mark & QuoteQuote  
Please don't leave. I think YaBB has a future as a truly multi-lingual forum platform.

Just don't feel you have to do all this at once. Don't feel it has to be perfect.
We're just doing a lot of work all at once that should have been done by previous coders a long time ago.

The pressure I'm feeling - lot of YaBB forums are going to disappear because of coding issues that should have been taken care of a long long time ago. I don't want that to happen.

mySQL is coming - and it will be on the 2.7 code. JonB and I have actually discussed this. The old 3.0 wasn't going to work - you can't build a new house on an old foundation with cracks. mySQL has some great features and I've converted nearly all my data driven sites to Perl using mySQL - they're not as portable as they used to be, but the speed is phenomenal.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #177 - Sep 11th, 2017 at 4:02pm
Mark & QuoteQuote  
Oh, and I just uploaded the bug fixed files to the SVN - that converter isn't good so don't bother. With any luck I'll have a new section in the SVN for the new code later today or tomorrow. I'm having to rethink the 2.7 language sections in the SVN as well.

But I also have some ideas for Setup.pl. (But not today.)
  

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 #178 - Sep 11th, 2017 at 4:02pm
Mark & QuoteQuote  
Do not worry, I will not go. I have just converted the test forum and what should I say? Convince yourself.

Edited:
It is good that "JetLi" is no longer here. I could not stand his arrogance any longer.
  

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: Conversion
Reply #179 - Sep 11th, 2017 at 4:16pm
Mark & QuoteQuote  
Oh nuts

After I have gone through the maintenance functions, goods returned some forums to N / A and the following error message.

Quote:
An Error Has Occurred. Use of uninitialized value $boardv in hash element at Sources/BoardIndex.pm line 2308.
  

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: Conversion
Reply #180 - Sep 11th, 2017 at 4:37pm
Mark & QuoteQuote  
What does line 2249 in BoardIndex.pm say?
It should be
Code (Perl)
Select All
            $boardv ||= q{}; 



Hold off on any more conversions until I've uploaded the new convert2x mod version to the SVN or use the attached zips - The German Language files are not yet compatible with this version of 2.7 and you have to install the Converter using YabMod.
  

2_7_noconv.zip ( 2029 KB | 138 Downloads )
convert2x.zip ( 46 KB | 138 Downloads )

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 #181 - Sep 11th, 2017 at 4:49pm
Mark & QuoteQuote  
Code (Perl)
Select All
            $boardv ||= q{}; 



This is how it is. Why then this error message and so many N / A after the maintenance functions.
  

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: Conversion
Reply #182 - Sep 11th, 2017 at 5:09pm
Mark & QuoteQuote  
Dandello wrote on Sep 11th, 2017 at 4:37pm:
Hold off on any more conversions until I've uploaded the new convert2x mod version to the SVN or use the attached zips - The German Language files are not yet compatible with this version of 2.7 and you have to install the Converter using YabMod.



I'll look at that later. But I have a different idea. I must first see whether this can be done, as I think myself.
  

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: Conversion
Reply #183 - Sep 11th, 2017 at 5:49pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 11th, 2017 at 4:49pm:
This is how it is. Why then this error message and so many N / A after the maintenance functions.


I suspect the older converter in the SVN may not be behaving well with the new 2.7 code.
Edited:
And the problem is very probably the 'admin' to 'admin_fix' Board conversion. In forum.master make sure there's no '$board{'admin'} lurking in there - 2.7 chokes on that board name. Also check forum.control and forum.totals and make sure $control{'admin_fix'}and $totals{admin_fix'} have data. For those it's less critical but they still have the potential of choking BoardIndex.


The version of 2.7 in the zip doesn't contain any of the conversion utilities - that's why you have to install those as a mod. I've gotten good conversions off the original data I have from your forum. It takes me 20 minutes or so from setup to finish import and conversion.  I'm putting off converting the BoardMod mirror and the YaBB Forum mirror to 2.7 until we're more comfortable that the bugs have been dealt with.
  

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 #184 - Sep 11th, 2017 at 5:55pm
Mark & QuoteQuote  
So it's funny. I have now installed 1874, the error message is gone. However, after the topic build up in the maintenance functions again some forums on N / A. If I make a contribution and delete it, everything is displayed normally.
  

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: Conversion
Reply #185 - Sep 11th, 2017 at 6:04pm
Mark & QuoteQuote  
Dandello wrote on Sep 11th, 2017 at 5:49pm:
And the problem is very probably the 'admin' to 'admin_fix' Board conversion. In forum.master make sure there's no '$board{'admin'} lurking in there - 2.7 chokes on that board name. Also check forum.control and forum.totals and make sure $control{'admin_fix'}and $totals{admin_fix'} have data. For those it's less critical but they still have the potential of choking BoardIndex.



Love Dandello.

You have my FTP access to yabbtest.
Please see for yourself, you do more easily and you may see more, where the error is. This helps us 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
*****
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 #186 - Sep 11th, 2017 at 6:16pm
Mark & QuoteQuote  
Hm... that's odd - especially as the error is actually coming from Variables/user.log

When this error shows up again, save a copy of Variables/user.log and PM it to me so I can look at it. Then send a copy of the 'fixed' version so I can compare.
  

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 #187 - Sep 11th, 2017 at 6:17pm
Mark & QuoteQuote  
I wanted to open a new topic and then delete it.

Quote:
An Error Has Occurred. Argument "" isn't numeric in numeric ge (>=) at Sources/MoveSplitSplice.pm line 991.


The topic has been deleted correctly
  

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: Conversion
Reply #188 - Sep 11th, 2017 at 6:34pm
Mark & QuoteQuote  
Another pesky undefined variable.  Embarrassed
In MoveSplitSplice.pm find
Code (Perl)
Select All
       if (   ${ $uid . $newboard }{'threadcount'} == 1
             || ${ $board_totals{$newthreadid} }[0] >=
             ${ $uid . $newboard }{'lastposttime'} ) 



replace with
Code (Perl)
Select All
              if (   ${ $uid . $newboard }{'threadcount'} == 1
             || ( ${ $board_totals{$newthreadid} }[0] && ${ $uid . $newboard }{'lastposttime'} && ${ $board_totals{$newthreadid} }[0] >=
             ${ $uid . $newboard }{'lastposttime'} ) ) 


This is now checking to make sure all the variables related to the '>=' have values.
  

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 #189 - Sep 11th, 2017 at 6:52pm
Mark & QuoteQuote  
Unfortunately no success

An Error Has Occurred. Argument "" isn't numeric in numeric ge (>=) at Sources/MoveSplitSplice.pm line 991.


Stop,works!!!!!
  

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: Conversion
Reply #190 - Sep 11th, 2017 at 6:53pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 11th, 2017 at 6:04pm:
And the problem is very probably the 'admin' to 'admin_fix' Board conversion. In forum.master make sure there's no '$board{'admin'} lurking in there - 2.7 chokes on that board name. Also check forum.control and forum.totals and make sure $control{'admin_fix'}and $totals{admin_fix'} have data. For those it's less critical but they still have the potential of choking BoardIndex.


Controlled and nothing suspicious found.
  

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: Conversion
Reply #191 - Sep 12th, 2017 at 4:09am
Mark & QuoteQuote  
I now have an install showing the N/A in the BoardIndex. It's bed time so I'll track this down in the morning.
Edited:
I know what is happening - forum.totals is recording the wrong info. Now to track down why. I think this is another one of those 'how the heck did it work in the first place?'
« Last Edit: Sep 12th, 2017 at 11:15am by Dandello » 
Reason: More info 

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: Conversion
Reply #192 - Sep 12th, 2017 at 12:49pm
Mark & QuoteQuote  
Okay, this was one of those mysterious "if the string ends in 0 let's not read it."  Really?  Shocked Smiley

A tentative fix - some of this will end up in the Importer rather than running the fix every single time you rebuild the MessageIndex.

In Maintenance.pm find
Code (Perl)
Select All
            for (@tempboard) {
                 s/^.*?[|]//xsm;
             }
             @tempboard = reverse sort { lc($a) cmp lc $b } @tempboard;
             my $prnbrd = join q{}, @tempboard;
             open my $NEWBOARD, '>', "$boardsdir/$boardname.txt" 


replace with
Code (Perl)
Select All
            chomp @tempboard;
             for (@tempboard) {
                 s/^.*?[|]//xsm;
             }
             @tempboard = reverse sort {
                  (split /[|]/xsm, $a )[4] <=>
                    (split /[|]/xsm, $b )[4]
             } @tempboard;
 #'0' issues with status
             my @fixer = ();
             foreach (@tempboard) {
                 my @fix = split /[|]/xsm;
                 if ( $fix[8] eq '0' ) {
                     $fix[8] = 'x';
                 }
                 my $fix = join '|', @fix;
                 push @fixer, $fix;
             }
             my $prnbrd = join qq{\n}, @fixer;
             open my $NEWBOARD, '>', "$boardsdir/$boardname.txt" 


Find
Code (Perl)
Select All
        my @ftotals = <$TOTALS>;
         close $TOTALS or croak "$croak{'close'} TOTALS";
         chomp @ftotals; 


add after
Code (Perl)
Select All
        @ftotals = reverse sort {
                  (split /[|]/xsm, $a )[4] <=>
                    (split /[|]/xsm, $b )[4]
             } @ftotals; 


In Post.pm find:
Code (Perl)
Select All
        else { $mstate = '0'; } 


Replace with
Code (Perl)
Select All
        else { $mstate = 'x'; } 


There may be other places with sorting issues but I'm not finished looking for them.
  

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 #193 - Sep 12th, 2017 at 3:05pm
Mark & QuoteQuote  
Well, let's go on. Everything worked on, now comes the following error message with rebuild message index.

Quote:
An Error Has Occurred. Use of uninitialized value $fix[8] in string eq at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Maintenance.pm line 250.


Dandello wrote on Sep 12th, 2017 at 4:09am:
It's bed time so I'll track this down in the morning.


I'll get up again. 9 hours we have time difference.

Dandello wrote on Sep 12th, 2017 at 12:49pm:
Okay, this was one of those mysterious "if the string ends in 0 let's not read it."  Really?


These were the little evil poison dwarfs

  

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: Conversion
Reply #194 - Sep 12th, 2017 at 4:44pm
Mark & QuoteQuote  
Replace
Code (Perl)
Select All
                 if ( $fix[8] eq '0' ) {
                     $fix[8] = 'x';
                 }
  


with
Code (Perl)
Select All
                $fix[8] =~ s/0/x/gxsm; 



If the above doesn't behave then use
Code (Perl)
Select All
                 if ( !$fix[8] || $fix[8] eq '0' ) {
                     $fix[8] = 'x';
                 }
  


That whole block will be moved to the Importer/Converter.

What I had noticed - after breaking forum.totals apart to I could sort it in a spreadsheet - every Board with missing data had a status of '0' in the first or last entry in the board's txt file. The data was intact in the txt file, it just wasn't being properly read.  Cry
  

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 #195 - Sep 12th, 2017 at 5:20pm
Mark & QuoteQuote  
Code (Perl)
Select All
                if ( !$fix[8] || $fix[8] eq '0' ) {
                     $fix[8] = 'x';
                 } 



That works, all N / A's are gone.
  

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: Conversion
Reply #196 - Sep 12th, 2017 at 5:30pm
Mark & QuoteQuote  
Good - I'm not fond of "it's a zero so I won't go there." (I had to change all the sort queries in MessageIndex from '0-9' to 'a-i' because '0' was no longer a valid choice.) I expect more of the little demons to show up. 
Edited:
Now I'm off to get the dog from the groomer and to take a nap since hubby got up a 3 in the morning to catch a plane.
  

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 #197 - Sep 12th, 2017 at 5:52pm
Mark & QuoteQuote  
Dandello wrote on Sep 12th, 2017 at 5:30pm:
Now I'm off to get the dog from the groomer and to take a nap since hubby got up a 3 in the morning to catch a plane.


  Grin Grin Grin Grin Grin

I will not test any more today, the German files I would still make today.
  

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: Conversion
Reply #198 - Sep 13th, 2017 at 6:37am
Mark & QuoteQuote  
After "clean users online log" appears in the maintenance functions, when I go to the overview (index), the following error message appears.

Quote:
An Error Has Occurred. Use of uninitialized value $boardv in hash element at Sources/BoardIndex.pm line 2308.


After F5, however, the error is gone and the forum is displayed normally.
  

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: Conversion
Reply #199 - Sep 13th, 2017 at 1:29pm
Mark & QuoteQuote  
I'm not surprised it cleared after refreshing the page - on the refresh something was written to the users.log.

Looking into a fix that doesn't break anything else.

Edited:
In BoardIndex.pm find
Code (Perl)
Select All
        my ( $name, $date1, $last_ip, $last_host, $boardv ); 


replace with
Code (Perl)
Select All
        my ( $name, $date1, $last_ip, $last_host, $boardv ) = ( q{}, q{}, q{}, q{}, q{} );
  



Find
Code (Perl)
Select All
            $boardv ||= q{}; 

and remove it (it's extra now)
Then find
Code (Perl)
Select All
                    $users .= "&nbsp;<i>($user_ip)</i>";
                     $guestlist =~ s/<i>$lookup_ip<\/i>,\s//oxsm; 


and add above it
Code (Perl)
Select All
$lookup_ip ||= q{}; 



These changes fixed the problem on my testing install. (Reproducible errors are the best kind of errors.)
  

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 #200 - Sep 13th, 2017 at 5:59pm
Mark & QuoteQuote  
Works  Smiley
  

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: Conversion
Reply #201 - Sep 14th, 2017 at 6:48am
Mark & QuoteQuote  
pyragony54 wrote on Sep 14th, 2017 at 6:33am:
Also no error messages within the forum. Everything looks good.


But still found something. By clicking on the birthday list.

Quote:
An Error Has Occurred. Use of uninitialized value $newformat in pattern match (m//) at Sources/DateTime.pm line 624.
  

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: Conversion
Reply #202 - Sep 14th, 2017 at 7:21am
Mark & QuoteQuote  
Attachment file does not work correctly. There should be 6 pictures to be uploaded.
  

Anhaenge.jpg ( 211 KB | 152 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: Conversion
Reply #203 - Sep 14th, 2017 at 12:48pm
Mark & QuoteQuote  
Make sure Import imported your 'number of attachments' - Go to Admin Center -> Advanced Settings -> File Attachments and set it.

But I'm looking into it.

Edited:
Smiley In Post.pm find
Code (Perl)
Select All
                    $my_att_a = qq~ 


and replace with
Code (Perl)
Select All
                    $my_att_a .= qq~ 



It's in two places around line 1316 and line 1332.

And this is why people other than coders need to test things.  Smiley
  

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 #204 - Sep 14th, 2017 at 1:41pm
Mark & QuoteQuote  
But I'm not a coder.
PS: Does not work.
  

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: Conversion
Reply #205 - Sep 14th, 2017 at 3:11pm
Mark & QuoteQuote  
Try the one in the zip. Some of these things are touchier than others.

And you not being a coder is a good thing.
  

Post.zip ( 25 KB | 154 Downloads )

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 #206 - Sep 14th, 2017 at 3:57pm
Mark & QuoteQuote  
Smiley  Works.

Dandello wrote on Sep 14th, 2017 at 3:11pm:
And you not being a coder is a good thing.
                     


At least I can not go wrong. I can html and that's it already.   Wink

Forget not answer # 201.
  

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: Conversion
Reply #207 - Sep 14th, 2017 at 5:22pm
Mark & QuoteQuote  
On #201 - In Sources/DateTime.pm find
Code (Perl)
Select All
    if ( $newformat =~ m/\A(.*?)\s*$maintxt{'107'}\s*(.*?)\Z/ixsm ) { 



and replace with
Code (Perl)
Select All
    if ( $newformat && $newformat =~ m/\A(.*?)\s*$maintxt{'107'}\s*(.*?)\Z/ixsm ) { 



There are at least 2 of these.
  

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 #208 - Sep 14th, 2017 at 5:44pm
Mark & QuoteQuote  
Smiley
Works
  

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: Conversion
Reply #209 - Sep 14th, 2017 at 6:40pm
Mark & QuoteQuote  
Just uploaded all the current changes to the base 2.7 SVN. Unfortunately, I don't have access to a big 1x board to test on. (Plus I can't get the 1x attachments mod to work at the moment so I can't test that either.  Cry )

Now to take a break since I've been looking at code since 5 AM.
  

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 #210 - Sep 15th, 2017 at 3:11am
Mark & QuoteQuote  
A 1x forum has actually no more. I know no one at all.
  

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: Conversion
Reply #211 - Sep 15th, 2017 at 4:00am
Mark & QuoteQuote  
I have a version of 1sp1.3 running for checking mods, so I know the basic data gets imported. I just have to trust that the loops behave like they're supposed to when there's big data.

Plus there's the complication of the Mods - the original converter has references to mods that are no longer around and without those mods, it's hard to test whether that data get imported properly.
  

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 #212 - Sep 15th, 2017 at 3:47pm
Mark & QuoteQuote  
I can not help you YaBB 1, I do not know. XTC may be it. Write him an email. If he can, he will help you. More, I can not disclose.
  

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: Conversion
Reply #213 - Sep 15th, 2017 at 4:56pm
Mark & QuoteQuote  
I'm fairly confident the 1x converter will work on big boards. I'm hoping that at some point someone will volunteer a big 1x board for testing.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 
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