Page Index Toggle Pages: [1]  Send Topic
Hot Topic (More than 10 Replies) Server Issues (Read 2213 times)
 
Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.
Back to top
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
 
Smiley

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
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.
Back to top
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)
Select All
$extendedprofiles = 0;  



That Did It!!! Yay!! Smiley Smiley

Thank you, Thank You.
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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)
Select All
$extendedprofiles = 0;  

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
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.  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
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Server Issues
Reply #13 - Sep 27th, 2024 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
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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)
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
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)
Select All
			if ($extendedprofiles && require "$sourcedir/ExtendedProfiles.pl" ) {
  				require "$sourcedir/ExtendedProfiles.pl";

  

  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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)
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
*****
Offline


I love YaBB 2.7!

Posts: 2260
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.
Back to top
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?
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2260
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
*****
Offline


I love YaBB 2.7!

Posts: 2260
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
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 )
Back to top
 
IP Logged
 
RonS2
Junior Member
**
Offline


I Love YaBB!

Posts: 53
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
Junior Member
**
Offline


I Love YaBB!

Posts: 53
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
*****
Offline


I love YaBB 2.7!

Posts: 2260
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