Page Index Toggle Pages: 1 ... 3 4 [5]  Send TopicPrint
Very Hot Topic (More than 25 Replies) BUGS!!! (Read 40713 times)
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #4 - May 8th, 2016 at 12:27pm
Print Post  
Dandello wrote on May 7th, 2016 at 8:38pm:
cPanel can ship with 5.8.8, 5.10 or 5.16 at '/usr/bin/perl/' depending on the server OS and tech choice. The newest cPanel also comes with Perl 5.22 at '/usr/local/cpanel/3rdparty/bin/perl'

My testbed runs Activestate Perl 5.16.3
This forum's host is running 5.8.8. Plus I can change the shebang and access Perl 5.14.4 at '/usr/local/cpanel/3rdparty/bin/perl'

YaBBForum is running Perl 5.12.4

I know some things have been deprecated between 5.16 and 5.22 so I'll check to see if 5.22 supports some of the Modules I need for my testbed so I can see what warnings it throws.



These are just some examples from errorlog.txt:
Quote:

1462647464|1462647464|84.251.212.53|Tapahtui virhe! Subroutine main::find_latest_data redefined at Sources/BoardIndex.pm line 776.||||RJL|
1462647548|1462647548|54.221.104.60|Tapahtui virhe! Use of uninitialized value $template_print_post in concatenation (.) or string at Sources/Display.pm line 1438.||1368612703|haku||
1462647624|1462647624|40.77.167.12|Tapahtui virhe! Use of uninitialized value in string eq at ./Sources/RSS.pm line 341.|RSSrecent||||
1462648040|1462648039|157.55.39.73|Tapahtui virhe! Use of uninitialized value $template_print_post in concatenation (.) or string at Sources/Display.pm line 1438.||1368612703|haku||
1462648191|1462648191|188.143.232.70|Tapahtui virhe! Use of uninitialized value in concatenation (.) or string at ./Templates/srhs/Register.template line 288.|register||||
1462648195|1462648194|188.143.232.70|Tapahtui virhe! Use of uninitialized value in concatenation (.) or string at ./Sources/Search.pm line 74.|search||||


Quote:

1462650296|1462650296|85.76.131.129|Tapahtui virhe! Value of <HANDLE> construct can be "0"; test with defined() at ./Sources/Memberlist.pm line 297.|ml|||vesa.k|


Quote:

1462652613|1462652613|91.233.116.228|Selvitt�m�t�n virhe :<br />The 'epoch' parameter ("Ei tiedossa") to DateTime::from_epoch did not pass regex check at /usr/local/lib64/perl5/DateTime.pm line 488      DateTime::from_epoch(undef, 'epoch', 'Ei tiedossa') called at Sources/DateTime.pm line 54      main::toffs('Ei tiedossa', undef) called at Sources/DateTime.pm line 177      main::timeformat('Ei tiedossa') called at Sources/BoardIndex.pm line 457      main::BoardIndex() called at YaBB.pl line 226      main::yymain() called at YaBB.pl line 171      eval {...} called at YaBB.pl line 171||||TOH|


Quote:

1462653210|1462653209|151.80.31.175|Tapahtui virhe! Use of /g modifier is meaningless in split at Sources/MediaCenter.pm line 135.||1420742338|muut_radiolaitteet||


Some warnings don't cause croak, but make some features no-op, like viewing IMs and adding or editing attachments.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #3 - May 7th, 2016 at 8:38pm
Print Post  
cPanel can ship with 5.8.8, 5.10 or 5.16 at '/usr/bin/perl/' depending on the server OS and tech choice. The newest cPanel also comes with Perl 5.22 at '/usr/local/cpanel/3rdparty/bin/perl'

My testbed runs Activestate Perl 5.16.3
This forum's host is running 5.8.8. Plus I can change the shebang and access Perl 5.14.4 at '/usr/local/cpanel/3rdparty/bin/perl'

YaBBForum is running Perl 5.12.4

I know some things have been deprecated between 5.16 and 5.22 so I'll check to see if 5.22 supports some of the Modules I need for my testbed so I can see what warnings it throws.

Edited:
Just installed Activestate Perl 5.22.1 on my testbed. Aside from some deprecated regex issues I already knew about, YaBB 2.6.11 and YaBB 2.7.x work fine under ActivePerl 5.22.1. Therefore I suspect the problems you are seeing with Perl 5.10.1 has to do with some sort of security protocols. You don't say what server errors there are. The server errors will tell you if it's a deprecated code issue. I also cannot reproduce the @ARG in RSS.pm error with WinApache 2.22.2 on a Win7 machine. So I'm tending towards thinking this is a Win/IIS issue that I cannot test.





  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #2 - May 7th, 2016 at 5:48pm
Print Post  
Dandello wrote on May 6th, 2016 at 1:28pm:
So long as c-Panel ships with Perl 5.08, that's our oldest supported Perl. I know YaBB 2.52 through 2.6+ work on Perl 5.18 but there may be a deprecation problem with RSS.pm with Perl 5.2+ (Luckily the problem appears to be in section that can be safely removed as RSS.pm will never call it.)

The problems with older versions of YaBB is mostly deprecated code, very old html and very old javascript.


Cpanel says Perl version is 5.10.1, but YaBB 2.6.11 fails when it starts loading Path.pm... I tracked down the main problem and that is uninitialized variables do not default to numeric zero anymore, so a lot of code that assumes it can use uninitialized variables stopped working. Another problem is that chomping file handles that are explicitly cast as arrays is not supported anymore... If I use push inside readline loop, chomp works without giving warning.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #1 - May 6th, 2016 at 1:28pm
Print Post  
So long as c-Panel ships with Perl 5.08, that's our oldest supported Perl. I know YaBB 2.52 through 2.6+ work on Perl 5.18 but there may be a deprecation problem with RSS.pm with Perl 5.2+ (Luckily the problem appears to be in section that can be safely removed as RSS.pm will never call it.)

The problems with older versions of YaBB is mostly deprecated code, very old html and very old javascript.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
BUGS!!!
May 6th, 2016 at 11:11am
Print Post  
What is going to be the minimum and maximum supported version of Perl as recently on one of forums I help with I noticed old YaBB stopped loading completely because of breaking API changes...
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 
Send TopicPrint