Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Error "Assuming NOT a POSIX class" Reply #15 - Nov 6th, 2018 at 11:22pm Mark & QuoteQuote 2.6.11 doesn't have 'use strict' and 'use warnings' in the *.pm files. 2.7 does. So undo all the suggested fixes and comment out 'use warnings' starting with Subs.pm. Oh, and the alnum fix for LogInOut and display should be: Code s/([[:^alnum:]])/sprintf('%%% 02X', ord($1))/egxsm (remove the space between the % and the 02X) I really shouldn't code when I'm tired. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Error "Assuming NOT a POSIX class" Reply #16 - Nov 8th, 2018 at 1:29pm Mark & QuoteQuote Okay - Activestate Perl 5.024 actually has all the Perl Modules I need for my own coding so I was able to install it without wrecking everything. (There have been versions that didn't have TK in the PPM.) I'll be uploading the alnum fixes to the SVN shortly. The other error appears to be a regex issue in YaBBC.pm - comment out 'use warnings;' at the top of that file for the short term fix. 5.024 doesn't have the './'deprecated yet as I'm able to run older versions of YaBB that have been fixed to run under 5.022 without any problems. Edited: Okay - found the regex causing all the problems. This code is in two places in YaBBC.pm (four places with the added capture checks). Code (?:[\w~.;:,\$\-+!*?\/=&@#%()\[\]\x80-\xFF]{1,}) The highlighted section is what's causing the problems but the regex won't properly render urls without it. I've just uploaded a version of YaBBC.pm to the SVN that has the places this is used put under 'no warnings' so as to not trigger the error. Fixing this regex is beyond me, I'm afraid. « Last Edit: Nov 8th, 2018 at 5:12pm by Dandello » Reason: More info Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Error "Assuming NOT a POSIX class" Reply #17 - Nov 9th, 2018 at 3:59am Mark & QuoteQuote Thx dandello I check that out tomorrow .... lg XTC IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Error "Assuming NOT a POSIX class" Reply #18 - Nov 11th, 2018 at 8:08am Mark & QuoteQuote Hello Have upload the actual branches 2038 Sources .....and the Forum runs without error messages. Only at in the YaBB.pl the "use lib '.'; " line for my webspace perl. There are many code changes in the YaBBC.pm .... you are the best lg XTC IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Error "Assuming NOT a POSIX class" Reply #19 - Nov 11th, 2018 at 1:24pm Mark & QuoteQuote I had put off refactoring YaBBC and when I started I realized there was a lot of repeated code that could be refactored. And then there was the issue of warnings picking up things that had never been warned about. I'll be looking into the '.' issue later this week. (Assuming I can get my test version of YaBB 2.7 to pop up with the related errors.) Edited: There may still be a minor regex problem in YaBBC.pm. With any luck I'll have a corrected verison in the SVN tomorrow. I'm also working on the '.' issue and some other security things. ( I was able to find instructions on how to invoke the "disable ./" for 5.024.) « Last Edit: Nov 13th, 2018 at 2:03am by Dandello » Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Error "Assuming NOT a POSIX class" Reply #20 - Nov 15th, 2018 at 12:22am Mark & QuoteQuote Both the corrected YaBBC AND a version of YaBB 2.7 that doesn't use any './' and so doesn't need the work around. (It uses a safer workaround.) Note the 2.7 will not be able to use './' in Paths.pm but will need the full directory path instead for those places that used to use the './'. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged