Page Index Toggle Pages: 1 [2]  ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) missing path.pm (Read 20530 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 882
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: missing path.pm
Reply #2 - Apr 30th, 2019 at 6:47pm
Mark & QuoteQuote  
OK. I made the changes, the paths look very good and I attach them. The error message is the same. I made the changes and then re-setup. The result is the same. It was practically a new installation, with fresh variables. If you want to have FTP access, no problem. Tomorrow we have the first of May, holiday to Germany, Labor Day. I go fishing.

Code
Select All
###############################################################################
 # Paths.pm                                                                    #
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
 # Version:        YaBB 2.6.12                                                 #
 # Packaged:       December 2, 2014                                            #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
 # Copyright (c) 2000-2016  YaBB (www.yabbforum.com) - All Rights Reserved.    #
 # Software by:  The YaBB Development Team                                     #
 #               with assistance from the YaBB community.                      #
 ###############################################################################

 $lastsaved = "Administrator";
 $lastdate = "1556648594";

 ########## Directories ##########

 $boardurl = "https://boardmod.de/cgi-bin/yabb2";  # URL of your board's folder (without trailing '/')
 $boarddir = "/home/users/boardmod/www/cgi-bin/yabb2"; # The server path to the board's folder (usually can be left as
                                                   #  '.')
 $boardsdir = "/home/users/boardmod/www/cgi-bin/yabb2/Boards"; # Directory with board data files
 $datadir = "/home/users/boardmod/www/cgi-bin/yabb2/Messages"; # Directory with messages
 $memberdir = "/home/users/boardmod/www/cgi-bin/yabb2/Members"; # Directory with member files
 $sourcedir = "/home/users/boardmod/www/cgi-bin/yabb2/Sources"; # Directory with YaBB source files
 $admindir = "/home/users/boardmod/www/cgi-bin/yabb2/Admin"; # Directory with YaBB admin source files
 $vardir = "/home/users/boardmod/www/cgi-bin/yabb2/Variables"; # Directory with variable files
 $langdir = "/home/users/boardmod/www/cgi-bin/yabb2/Languages"; # Directory with Language files and folders
 $helpfile = "/home/users/boardmod/www/cgi-bin/yabb2/Help"; # Directory with Help files and folders
 $templatesdir = "/home/users/boardmod/www/cgi-bin/yabb2/Templates"; # Directory with template files and folders
 $htmldir = "/home/users/boardmod/www/public_html/yabbfiles"; # Base Path for all public-html files and folders
 $facesdir = "/home/users/boardmod/www/public_html/yabbfiles/avatars"; # Base Path for all avatar files
 $uploaddir = "/home/users/boardmod/www/public_html/yabbfiles/Attachments"; # Base Path for all attachment files
 $pmuploaddir = "/home/users/boardmod/www/public_html/yabbfiles/PMAttachments"; # Base Path for all PM attachment files
 $modimgdir = "/home/users/boardmod/www/public_html/yabbfiles/ModImages"; # Base Path for all mod images

 ########## URLs ##########

 $yyhtml_root = "https://boardmod.de/public_html/yabbfiles"; # Base URL for all html/css files and folders
 $facesurl = "https://boardmod.de/public_html/yabbfiles/avatars"; # Base URL for all avatar files
 $uploadurl = "https://boardmod.de/public_html/yabbfiles/Attachments"; # Base URL for all attachment files
 $pmuploadurl = "https://boardmod.de/public_html/yabbfiles/PMAttachments"; # Base URL for all PM attachment files
 $modimgurl = "https://boardmod.de/public_html/yabbfiles/ModImages"; # Base URL for all mod images

 1;
  

  

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: 2276
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: missing path.pm
Reply #1 - Apr 30th, 2019 at 1:00pm
Mark & QuoteQuote  
In Yabb.pl find:
Code (Perl)
Select All
 #use Cwd;
 #my $cwd = cwd();
 #push @INC, $cwd; 


and remove the '#' on all three lines.

Do the same for AdminIndex.pl

Also make sure your Paths.pm has full directory paths, not '.' or './'
This will be on the order of:
Code
Select All
/home/mysite/public_html/cgi-bin/yabb2 


Note that there's no '/' at the end.
  

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: 882
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
missing path.pm
Apr 30th, 2019 at 5:12am
Mark & QuoteQuote  
YaBB 2.6.12

I got the new server. not with the plesk, but with a completely unknown. Call yourself keyhelp.
Now, however, I still get this error message. The setup went through without problems.

Quote:
Can't locate Paths.pm in @INC (you may need to install the Paths 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 /usr/lib/x86_64-linux-gnu/perl-base) at YaBB.pl line 39.
BEGIN failed--compilation aborted at YaBB.pl line 74.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
missing path.pm

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