Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

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
Topic Summary - Displaying 10 post(s). Click here to show all
Posted by: Dandello
Posted on: Apr 21st, 2019 at 11:47pm
@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.
Posted by: XTC
Posted on: Apr 20th, 2019 at 12:21pm
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
Posted by: Dandello
Posted on: Apr 16th, 2019 at 8:20pm
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.

Posted by: pyragony54
Posted on: Apr 16th, 2019 at 3:34pm
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.
Posted by: Dandello
Posted on: Apr 15th, 2019 at 9:45pm
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.
Posted by: pyragony54
Posted on: Apr 15th, 2019 at 9:24pm
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.
Posted by: Dandello
Posted on: Apr 15th, 2019 at 9:05pm
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.

Posted by: pyragony54
Posted on: Apr 15th, 2019 at 9:01pm
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.
Posted by: Dandello
Posted on: Apr 15th, 2019 at 8:50pm
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.
Posted by: pyragony54
Posted on: Apr 15th, 2019 at 7:46pm
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.