Page Index Toggle Pages: 1 [2]  Reply Send Topic
Hot Topic (More than 10 Replies) Help - Old Forum (Read 20196 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2271
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #9 - Jan 12th, 2025 at 1:18am
Mark & QuoteQuote  
Stick the line below the
Code (Perl)
Select All
$YaBBplver = 'YaBB 2.5 AE $Revision: 1.23 $'; 


line.
Code (Perl)
Select All
 use lib 'usr/lib/perl5'; 



In theory, this should get you CGI.pm and allow you to uncomment that diagnostic line that uses CGI::Carp.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 61
Joined: Feb 12th, 2014
Gender: Male
Mood: Inquisitive
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #8 - Jan 12th, 2025 at 12:31am
Mark & QuoteQuote  
Wow, copied it into the Modules folder and now able to post messages again but I get the 500 error with images attached.

With your suggestion regarding change.  Here is the top of my YaBB.pl file.  Where exactly should it go and should I do it in any other files.

Code
Select All
 ### Version Info ###
 $YaBBversion = 'YaBB 2.5 AE';
 $YaBBplver = 'YaBB 2.5 AE $Revision: 1.23 $';

 if ($action eq 'detailedversion') { return 1; }

 # use CGI::Carp qw(fatalsToBrowser); # used only for tests

 BEGIN {
 	# Make sure the module path is present
 	push(@INC, "./Modules"); 



Thank you so much
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2271
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #7 - Jan 12th, 2025 at 12:08am
Mark & QuoteQuote  
Okay, I only know cPanel and that uses a number of different places to stash Perl Modules. The place you found the file isn't in the list that the Perl being used by YaBB uses to find Modules. So if you have someone helping you, CGI.pm needs to be imported into one of the locations in the @INC list.

You can try to copy CGI.pm directly into the YaBB Modules folder. But that may not work if there are other Modules CGI.pm needs and you don't have. 

But the people helping you with admin should be able to get it imported into one of the locations your other add-on Modules are in.

OR you can add the location of the CGI.pm file to the @INC list: near the tob of the YaBB.pl file, before anything is called add:
Code (Perl)
Select All
 use lib 'location of perl'; 


Obviously, use the correct location.

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 61
Joined: Feb 12th, 2014
Gender: Male
Mood: Inquisitive
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #6 - Jan 11th, 2025 at 10:53pm
Mark & QuoteQuote  
Interesting.  Have now found CGI.pm in

Code
Select All
usr/lib/perl5 



This is not where listed in the error above.  Do I need to change anything??

Feeling so hopeless
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2271
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #5 - Jan 11th, 2025 at 2:41pm
Mark & QuoteQuote  
CGI.pm has removed as an automatically included module. It can be installed as an add-on module (It's installed like that here.)

On cPanel you can add Perl modules and CGI.pm should be in the available list.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 61
Joined: Feb 12th, 2014
Gender: Male
Mood: Inquisitive
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #4 - Jan 11th, 2025 at 6:21am
Mark & QuoteQuote  
Well I am back again.  Once again a host server upgrade and back to the same issue where trying to post a new message throws up a 500 error.

Different this time though as my Admin Panel is throwing up a perl error for CGI saying that CGI.pm is not available.  To my knowledge from searching the net CGI.pm has been removed as a perl module.

They are running Perl Version: 5.26.3

Anyone with any ideas?

Code
Select All
 Information provided by the system:

 Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /home/aussiec1/public_html/cgi-bin/yabb2 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 ./Modules) at (eval 9) line 1.
« Last Edit: Jan 11th, 2025 at 8:41am by Derek Bullock »  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 61
Joined: Feb 12th, 2014
Gender: Male
Mood: Inquisitive
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #3 - Dec 12th, 2023 at 5:24am
Mark & QuoteQuote  
pyragony54 wrote on Dec 6th, 2023 at 2:37am:
@ Derek Bullock

Can I help you, I'll do an upgrade straight away. To do this I need admin rights and FTP access. Repairing YaBB forums is now standard practice for me.

This is not an error from the server. The server operator cannot help you with this.


Sorry it has taken me so long to get back.

I wasn’t aware that they had moved my forum to a different server.  Only noticed when emails stopped coming through.

After a month of back and forwards with the server admin people it has now been fixed although they are unable to tell me how.

Many thanks for the offer Pyragony but will not update yet as I like as it is.

Thanks again.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 856
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Help - Old Forum
Reply #2 - Dec 6th, 2023 at 2:37am
Mark & QuoteQuote  
@ Derek Bullock

Can I help you, I'll do an upgrade straight away. To do this I need admin rights and FTP access. Repairing YaBB forums is now standard practice for me.

This is not an error from the server. The server operator cannot help you with this.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 61
Joined: Feb 12th, 2014
Gender: Male
Mood: Inquisitive
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #1 - Nov 27th, 2023 at 3:07am
Mark & QuoteQuote  
Can anyone help.  My server admins are struggling.

As weird as it sounds I can make a new post or reply to a post in my Global Announcements and Recycle boards but nowhere else.

Really odd.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 61
Joined: Feb 12th, 2014
Gender: Male
Mood: Inquisitive
Zodiac sign: Virgo
Help - Old Forum
Nov 17th, 2023 at 11:14pm
Mark & QuoteQuote  
Hi Dandello

Seems the old Yabbforum has gone so no help there.

I am still running my 2.5 AE version and while I know this is maybe not relevant to the newer versions hoping you can help

Today whenever I am trying to make a post I am getting the following error.  Any idea what that may be??

I have asked the server to look at it but not confident they know anything about YaBB.

Thanks

Quote:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@aussiecampovenforum.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Reply Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Help - Old Forum

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry