Page Index Toggle Pages: 1 Send Topic
Hot Topic (More than 10 Replies) Server Issues (Read 618 times)
 
RonS2
New Member
*
Offline


I Love YaBB!

Posts: 43
Joined: Feb 12th, 2014
Mood: Confused
Re: Server Issues
Reply #14 - Today at 7:19pm
 
I'm afraid my forum is toast.  Smiley

Code
Select All
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. Smiley 

  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
YaBB Modder
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Server Issues
Reply #13 - yesterday at 11:26pm
 
You can also try
Code (Perl)
Select All
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.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
YaBB Modder
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Server Issues
Reply #12 - yesterday at 11:03pm
 
Yes.  But I suspect there's a deeper issue in ExtendedProfiles.pl.

In ExtendedProfiles find:
Code (Perl)
Select All
			} elsif ($group =~ m~^Post{(\d+)}$~) { 



and make it
Code (Perl)
Select All
			} elsif ($group =~ m~^Post\{(\d+)}$~) { 

  

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


I Love YaBB!

Posts: 43
Joined: Feb 12th, 2014
Mood: Confused
Re: Server Issues
Reply #11 - yesterday at 7:37pm
 
Dandello wrote yesterday 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)
Select All
			if ($extendedprofiles && require "$sourcedir/ExtendedProfiles.pl" ) {
  				require "$sourcedir/ExtendedProfiles.pl";

  

  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
YaBB Modder
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Server Issues
Reply #10 - yesterday at 6:32pm
 
And just to remind everyone, I cannot test suggested fixes.
In Display.pl find:
Code (Perl)
Select All
			if ($extendedprofiles) {
 				require "$sourcedir/ExtendedProfiles.pl"; 



edit to:
Code (Perl)
Select All
			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)
Select All
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.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
YaBB Modder
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Server Issues
Reply #9 - yesterday at 5:56pm
 
A Perl update making what was a security warning into a security error.
  

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


I Love YaBB!

Posts: 43
Joined: Feb 12th, 2014
Mood: Confused
Re: Server Issues
Reply #8 - yesterday 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?
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
YaBB Modder
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Server Issues
Reply #7 - Sep 26th, 2024 at 9:47pm
 
In ExrtendedProfiles.pl find:
Code (Perl)
Select All
			} elsif ($group =~ m~^NoPost{(\d+)}$~) { 



and replace with:
Code (Perl)
Select All
			} 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.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
YaBB Modder
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.
Back to top
WWW  
IP Logged
 
RonS2
New Member
*
Offline


I Love YaBB!

Posts: 43
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 | 4 Downloads )
Back to top
 
IP Logged
 
RonS2
New Member
*
Offline


I Love YaBB!

Posts: 43
Joined: Feb 12th, 2014
Mood: Confused
Re: Server Issues
Reply #4 - Sep 26th, 2024 at 1:40pm
 
pyragony54 wrote on Sep 8th, 2024 at 9:47am:
RonS2 wrote on Jun 17th, 2024 at 8:54pm:
Hello

I've having a similar  problem with my forum since May 3rd.  I'm still using 2.5.2, is there a fix for this version?

Thanks


What kind of problem? Describe it in more detail.


Thanks, this problem has been solved. The txt files in the Boards folder was corrupted. It was an easy fix once it was discovered. I just had to delete the first few lines. Thanks for asking.

  
Back to top
 
IP Logged
 
pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Server Issues
Reply #3 - Sep 8th, 2024 at 9:47am
 
RonS2 wrote on Jun 17th, 2024 at 8:54pm:
Hello

I've having a similar  problem with my forum since May 3rd.  I'm still using 2.5.2, is there a fix for this version?

Thanks


What kind of problem? Describe it in more detail.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
RonS2
New Member
*
Offline


I Love YaBB!

Posts: 43
Joined: Feb 12th, 2014
Mood: Confused
Re: Server Issues
Reply #2 - Jun 17th, 2024 at 8:54pm
 
Hello

I've having a similar  problem with my forum since May 3rd.  I'm still using 2.5.2, is there a fix for this version?

Thanks
  
Back to top
 
IP Logged
 
Bill Myers
Tester
***
Offline


Using YaBB since 2002

Posts: 90
Location: Los Angeles, CA
Joined: Feb 13th, 2014
Gender: Male
Awards: 1
Who Knows
Mood: Blessed
Zodiac sign: Aries
Re: Server Issues
Reply #1 - Jun 13th, 2024 at 4:12pm
 
Thank you for the notification. It's appreciated. Thankfully, I did receive it in email yesterday.  Cool
  

Morning, noon, or night, have a great one!
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Online


I love YaBB 2.7!

Posts: 2246
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Server Issues
Jun 12th, 2024 at 9:52pm
 
We had the server upgraded yesterday and as usual it went sideways since the 'new' upgrades actually conflicted with 'fixes' related to glitches caused by the LAST uograde.

Hopefully this is pretty well sorted now. However, those of you who have email notifications turned on may not be getting them due to 'upgraded' security.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo