Page Index Toggle Pages: 1 [2]  ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) missing path.pm (Read 8678 times)
 
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: missing path.pm
Reply #15 - May 31st, 2019 at 4:52pm
Mark & QuoteQuote  
This should not be a problem with 2.7
The problem you're having with 2.6.12 is that DoBackup.pl is part of a mod.

The 2.6.12 version of DoBackup.pl find:
Code (Perl)
Select All
 require Paths;

 if   ( -e ('YaBB.cgi') ) { $yyext = 'cgi'; }
 else                     { $yyext = 'pl'; }
 our $scripturl = "$boardurl/Dobackup.$yyext"; 


and replace with
Code (Perl)
Select All
 our $script_root = $ENV{'SCRIPT_FILENAME'};
 if ( !$script_root ) {
     $script_root = $ENV{'PATH_TRANSLATED'};
 }
 $script_root =~ s/\/Dobackup[.](pl|cgi)//igxsm;
 push @INC, $script_root;
 require Paths;

 my $yyext = 'pl';
 if   ( -e ('YaBB.cgi') ) { $yyext = 'cgi'; }
 else                     { $yyext = 'pl'; }
 our $scripturl = "$boardurl/Dobackup.$yyext"; 

  

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: missing path.pm
Reply #16 - Jun 1st, 2019 at 6:56am
Mark & QuoteQuote  
okay, thanks, works. but this line was not there.

Code (Perl)
Select All
our $scripturl = "$boardurl/Dobackup.$yyext"; 



old version ?
  

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
*****
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: missing path.pm
Reply #17 - Jun 1st, 2019 at 12:26pm
Mark & QuoteQuote  
That code was from the version from a modded build on my test bed. it was probably
Code (Perl)
Select All
 $scripturl = "$boardurl/Dobackup.$yyext"; 

for your version.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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