Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic My forum stopped working with an error (Read 201 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2177
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: My forum stopped working with an error
Reply #3 - Oct 27th, 2021 at 11:42am
Mark & QuoteQuote  
Use the version found here: https://sourceforge.net/p/yabb/svn/HEAD/tree/ (Download the snapshot) - make sure you take a backup of your original (You should be able to zip it up and download it.)

(And don't trust your ISP to help - they don't know Perl.)

  

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


I Love YaBB!

Posts: 2
Joined: Oct 25th, 2021
Re: My forum stopped working with an error
Reply #2 - Oct 27th, 2021 at 4:18am
Mark & QuoteQuote  
Thanks for the reply.
Adding the Quote:
use lib '.';
ad per the post seems to have worked and my forum seems to be running again.

Should I upgrade the yabb version to "properly" fix this and avoid future problems?
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2177
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: My forum stopped working with an error
Reply #1 - Oct 25th, 2021 at 4:43pm
Mark & QuoteQuote  
See: http://www.yabbforum.com/cgi-bin/community/YaBB.pl?num=1556728712

Your host 'upgraded' to a version of Perl that is not compatible with older versions of YaBB. (And their solution won't work because the root cause is that Perl deprecated the use of the '.' as a marker for the root directory. So './Modules' won't work.)
  

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


I Love YaBB!

Posts: 2
Joined: Oct 25th, 2021
My forum stopped working with an error
Oct 25th, 2021 at 4:30pm
Mark & QuoteQuote  
Hi,
I run a yabb forum V2.6.0 that has been running successfully without problems since 2014.
Last week it stopped working - I haven't changed or modified anything - it just stopped.
I get an error Quote:
Software error:
Can't locate Paths.pm in @INC (you may need to install the Paths module) (@INC contains: /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 YaBB.pl line 54.
BEGIN failed--compilation aborted at YaBB.pl line 70.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.


My ISP says there are modules in the wrong directory - but how come? Everything worked fine..

They say Quote:
The perl "push @INC, './Modules';" this is basically the same as use lib "./Modules" so its looking for modules inside ./Modules
but those modules are not in that directory, for example :

require Variables::Settings;
eval { require Time::HiRes; import Time::HiRes qw(time); };
require './Sources/Subs.pm';
require Sources::System;
.... plus more...
... you will need to move ./Sources, ./Variables and Paths.pm back inside the ./Modules directory and it should fix the issues.


I'm reluctant to do this as I haven't changed anything so I can't believe it's this..

Any help please!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
My forum stopped working with an error

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 10000 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