Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #19 - Nov 13th, 2024 at 11:28am In the SVN download the 'trunk" - that's 2.6.12 and I last night I did a fix to ManageTemplates.pm Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 Junior Member Offline I Love YaBB! Posts: 53 Joined: Feb 12th, 2014 Mood: Confused Re: Server Issues Reply #18 - Sep 30th, 2024 at 7:55pm Dandello wrote on Sep 29th, 2024 at 9:49pm:The code in ExtendedProfiles.pl has some very iffy 'shortcuts' that have stopped working. For 2.6 it had to be completely refactored. At 75 I'm not as sharp as I used to be. I'm thinking maybe I should break down and update my forum and I can't seem to locate it the right file in the SVN tab IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #17 - Sep 29th, 2024 at 9:49pm The code in ExtendedProfiles.pl has some very iffy 'shortcuts' that have stopped working. For 2.6 it had to be completely refactored. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 Junior Member Offline I Love YaBB! Posts: 53 Joined: Feb 12th, 2014 Mood: Confused Re: Server Issues Reply #16 - Sep 29th, 2024 at 8:46pm Dandello wrote on Sep 28th, 2024 at 9:31pm:Revert you last edits (the suggested eval), go into your Settings file and disable ExtendedProfiles.Code (Perl)$extendedprofiles = 0; That Did It!!! Yay!! Thank you, Thank You. IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #15 - Sep 28th, 2024 at 9:31pm Revert you last edits (the suggested eval), go into your Settings file and disable ExtendedProfiles.Code (Perl)$extendedprofiles = 0; Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 Junior Member Offline I Love YaBB! Posts: 53 Joined: Feb 12th, 2014 Mood: Confused Re: Server Issues Reply #14 - Sep 28th, 2024 at 7:19pm I'm afraid my forum is toast. Code Untrapped Error : syntax error at ./Sources/Display.pl line 590, near ") {" syntax error at ./Sources/Display.pl line 598, near "} elsif" syntax error at ./Sources/Display.pl line 603, near "} else" syntax error at ./Sources/Display.pl line 610, near "}" syntax error at ./Sources/Display.pl line 719, near ") {" syntax error at ./Sources/Display.pl line 787, near "}" syntax error at ./Sources/Display.pl line 961, near "}" syntax error at ./Sources/Display.pl line 1017, near "}" syntax error at ./Sources/Display.pl line 1079, near "}" syntax error at ./Sources/Display.pl line 1110, near "}" ./Sources/Display.pl has too many errors. Compilation failed in require at /home/rons/public_html/cgi-bin/yabb2/YaBB.pl line 154. IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #13 - Sep 27th, 2024 at 11:26pm You can also try Code (Perl)if ($extendedprofiles && eval( "$sourcedir/ExtendedProfiles.pl") ) { require "$sourcedir/ExtendedProfiles.pl"; instead. In theory the above is less likely to crash ExtendProfiles. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #12 - Sep 27th, 2024 at 11:03pm Yes. But I suspect there's a deeper issue in ExtendedProfiles.pl. In ExtendedProfiles find: Code (Perl) } elsif ($group =~ m~^Post{(\d+)}$~) { and make it Code (Perl) } elsif ($group =~ m~^Post\{(\d+)}$~) { Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 Junior Member Offline I Love YaBB! Posts: 53 Joined: Feb 12th, 2014 Mood: Confused Re: Server Issues Reply #11 - Sep 27th, 2024 at 7:37pm Dandello wrote on Sep 27th, 2024 at 6:32pm:And just to remind everyone, I cannot test suggested fixes. I understand and thank you for your time. Sadly, I'm still getting the same error Untrapped Error : ./Sources/ExtendedProfiles.pl did not return a true value at ./Sources/Display.pl line 591. Just to be clear this is what I need to add this in both places? Line 591 and line 719? Code (Perl) if ($extendedprofiles && require "$sourcedir/ExtendedProfiles.pl" ) { require "$sourcedir/ExtendedProfiles.pl"; IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #10 - Sep 27th, 2024 at 6:32pm And just to remind everyone, I cannot test suggested fixes. In Display.pl find: Code (Perl) if ($extendedprofiles) { require "$sourcedir/ExtendedProfiles.pl"; edit to: Code (Perl) if ($extendedprofiles && require "$sourcedir/ExtendedProfiles.pl" ) { require "$sourcedir/ExtendedProfiles.pl"; What the error is saying is ExtendedProfiles.pl is not properly finishing BUT isn't throwing a 'real' fatal error. You can try to add a diagnostic to ExtendedProfiles.pl by adding Code (Perl)use CGI::Carp qw(fatalsToBrowser); to just below the copyright block at the top of the file. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #9 - Sep 27th, 2024 at 5:56pm A Perl update making what was a security warning into a security error. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 Junior Member Offline I Love YaBB! Posts: 53 Joined: Feb 12th, 2014 Mood: Confused Re: Server Issues Reply #8 - Sep 27th, 2024 at 3:24pm Thanks Dandello, Looks like I'm half way there. I'm now getting this message Untrapped Error : ./Sources/ExtendedProfiles.pl did not return a true value at ./Sources/Display.pl line 591. === I'm curious, these files have been in use since 2013, why did this error pop up now? IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #7 - Sep 26th, 2024 at 9:47pm In ExrtendedProfiles.pl find: Code (Perl) } elsif ($group =~ m~^NoPost{(\d+)}$~) { and replace with: Code (Perl) } elsif ($group =~ m~^NoPost\{(\d+)}$~) { The highlighted symbol is the needed escape. So this should fix that issue. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2260 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Server Issues Reply #6 - Sep 26th, 2024 at 2:14pm The unescaped left brace is a hard one to actually SEE. I should have time later today to look at it. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 Junior Member Offline I Love YaBB! Posts: 53 Joined: Feb 12th, 2014 Mood: Confused Re: Server Issues Reply #5 - Sep 26th, 2024 at 1:42pm A problem I'm having today is I'm getting this error message Untrapped Error : Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^NoPost{ <-- HERE (\d+)}$/ at ./Sources/ExtendedProfiles.pl line 294. Compilation failed in require at ./Sources/Display.pl line 591. Looking at the code it seems ok (see attachment) yabb252.zip ( 29 KB | 15 Downloads ) IP Logged