Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Software error 2.6.11 (Read 10939 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Software error 2.6.11
Apr 15th, 2019 at 7:46pm
Mark & QuoteQuote  
The next garbage on the neck.
I want to switch to a new server.
On the current server I have public-html and cgi-bin separated in the root. There was no problem with a installation here. This does not work for the new server. Here the cgi-bin must be installed in the public html. Looks like this: public_html ---> cgi.bin. The forum can not be started so.
Error message:


Quote:
Can't locate Sources/Subs.pm in @INC (you may need to install the Sources::Subs module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /etc/apache2 / //Modules/) at /var/www/vhosts/boardmod.de/httpdocs/cgi-bin/yabb2/Setup.pl line 75.


Is not that a good joke? Although Plesk is programmed in Perl, we had to install Perl ourselves. Most of the modules that Yabb needs are missing. So whether I keep the new server depends on whether the problem can be solved.
  

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


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Software error 2.6.11
Reply #1 - Apr 15th, 2019 at 8:50pm
Mark & QuoteQuote  
Are you using 2.6.11 Setup.pl or or 2.6.12 Setup.pl?

2.6.11 uses './' as a pointer to to YaBB's home directory and newer versions of Perl have that turned off so Setup.pl can't find anything it needs.

I'll get back on a fix, assuming I can get MY server to throw the same error.

Personally, I prefer cPanel - it normally comes with Perl installed.
  

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


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Software error 2.6.11
Reply #2 - Apr 15th, 2019 at 9:01pm
Mark & QuoteQuote  
To test the new server, I have 2.6.11 loaded. I would also like to have cPanel, but our server operator does not offer that.
  

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


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Software error 2.6.11
Reply #3 - Apr 15th, 2019 at 9:05pm
Mark & QuoteQuote  
Okay - I can't get my 2.6.11 Setup.pl to fail in the way described BUT you might try finding:
Code (Perl)
Select All
require Sources::Subs; 


and replacing it with
Code (Perl)
Select All
require "$script_root/Sources/Subs.pm"; 



I know the above issue cropped up in 2.7 early on.

Edited:
You may have to make the same edit in YaBB.pl and AdminIndex.pl.

  

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


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Software error 2.6.11
Reply #4 - Apr 15th, 2019 at 9:24pm
Mark & QuoteQuote  
That's good

Code (Perl)
Select All
require "$script_root/Sources/Subs.pm";
 require "$script_root/Sources/System.pm";
 require "$script_root/Sources/Load.pm";
 require "$script_root/Sources/DateTime.pm"; 



but next

Quote:
cannot print cook.txt at /var/www/vhosts/boardmod.de/httpdocs/cgi-bin/yabb2/Setup.pl line 108.
  

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


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Software error 2.6.11
Reply #5 - Apr 15th, 2019 at 9:45pm
Mark & QuoteQuote  
Are the folder permissions for the Variables folder set to 755? (Maybe they need to be set to 777. If so, then all the YaBB folders will need to be set to 777.)

(Setup.pl did manage to 'open to write' the cook.txt file but couldn't write to it.)

BTW, if you have to set the folders to 777, that indicates a server misconfiguration that may keep you from running Wordpress or anything else that writes to the server.
  

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


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Software error 2.6.11
Reply #6 - Apr 16th, 2019 at 3:34pm
Mark & QuoteQuote  
Okay, did not work either. Now the question? Which Apache modules need to be activated in Plesk. The new server no longer has all the modules that we have with the old one. More and more people are leaving Perl and soon there will not be any more servers offering Perl. We even had to install mod_perl ourselves. Otherwise, you can not do much wrong in Plesk.

PS: At the weekend I look again at the German files for 2.7. I translated almost everything, even the help files. Have to see what happened last year, when I was not there, everything.
  

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


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Software error 2.6.11
Reply #7 - Apr 16th, 2019 at 8:20pm
Mark & QuoteQuote  
Perl 5.24 should have installed with all but one required Perl Module and that is CGI.pm which is used for file uploads.

Any other modules that might be missing are for optional functions.

The fact that changing folder permissions did not fix the write problem indicates a server misconfiguration such as folders being 'owned' by the wrong entity or some other issue.

BTW. 2.6.11 is going to have deprecated code issues in Perl 5.24.
2.6.12 should not have those issues.

Edited:
BTW, cPanel just increased Perl's usability for users using shared hosting.

  

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


YaBB 2.6.0/1/11 Mods

Posts: 174
Location: @ustria
Joined: Feb 12th, 2014
Gender: Male
Mood: Freaky
Zodiac sign: Aquarius
Re: Software error 2.6.11
Reply #8 - Apr 20th, 2019 at 12:21pm
Mark & QuoteQuote  
Hallo

Hatte das Problem auch.....

Füge mal in der Setup.pl, YaBB.pl und AndminIndex.pl z.b nach ....

Code (Perl)
Select All
use warnings; 



.... dies hinzu

Code (Perl)
Select All
use lib '.'; 



lg XTC
  

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


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Software error 2.6.11
Reply #9 - Apr 21st, 2019 at 11:47pm
Mark & QuoteQuote  
@XTC - Perl 5.24 should have behaved okay without the need for adding back the '.' BUT, who knows if the host actually installed all the required libraries or set a security setting to something odd.

In terms of the Setup -Pyragony and I got it to the point where it was supposed to write the cookies list to Variables but it didn't have permission to actually write to the file - which points to a folder/file ownership or permissions issue.
  

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

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