Page Index Toggle Pages: 1 ... 12 13 [14] 15  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Conversion (Read 101206 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 856
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: 2270
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 Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2270
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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 856
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: 2270
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: 856
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: 2270
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 Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2270
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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 856
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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 856
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 Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2270
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: 856
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: 2270
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 Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2270
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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 856
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
 
Page Index Toggle Pages: 1 ... 12 13 [14] 15 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Conversion

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

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







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