Page Index Toggle Pages: 1 [2] 3  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) tmp missing (Read 7572 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: tmp missing
Reply #15 - Sep 25th, 2017 at 5:53pm
Mark & QuoteQuote  
The problem is: I can't figure out where that yabbfiles call is coming from.
that section in Convert2x should look like
Code (Perl)
Select All
        mkdir "$htmldir/tmp", 0755;
         if ( !-d "$htmldir/tmp" ) {
             setup_fatal_error( "Directory: $htmldir/tmp", 1 );
         } 



$htmldir is taken directly from Paths.pm - so you might want to check that variable in Paths.pm.

  

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: tmp missing
Reply #16 - Sep 25th, 2017 at 5:53pm
Mark & QuoteQuote  
I've edited the paths and bingo, 100% and a new Washing machine.
The temporary folder has been created.

Edited:
We both had the same idea. Now only the installation routine has to be adapted.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
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: tmp missing
Reply #17 - Sep 25th, 2017 at 6:10pm
Mark & QuoteQuote  
Dandello wrote on Sep 25th, 2017 at 5:53pm:
The problem is: I can't figure out where that yabbfiles call is coming from.
that section in Convert2x should look like
Code (Perl)
Select All
        mkdir "$htmldir/tmp", 0755;
         if ( !-d "$htmldir/tmp" ) {
             setup_fatal_error( "Directory: $htmldir/tmp", 1 );
         } 



$htmldir is taken directly from Paths.pm - so you might want to check that variable in Paths.pm.



So it is synonymous in the Convert2, but does not work as the main folder httpdocs are simply ignored. That had not been all before.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
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: tmp missing
Reply #18 - Sep 25th, 2017 at 6:19pm
Mark & QuoteQuote  
Code (Perl)
Select All
$htmldir = '/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles';          # Base Path for all public-html files and folders
 $facesdir = '/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles/avatars';
                                                                       # Base Path for all avatar files
 $uploaddir = '/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles/Attachments';
                                                                       # Base Path for all attachment files
 $pmuploaddir = '/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles/PMAttachments';
                                                                       # Base Path for pm attachment files
 $modimgdir = '/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles/ModImages';
                                                                       # Base Path for all mod images 



The paths are set in the setup and not in the Convert.

Edited:
Now some mistakes should have disappeared.




  

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: tmp missing
Reply #19 - Sep 25th, 2017 at 6:52pm
Mark & QuoteQuote  
Well, in Setup.pl it now gives a 'best guess' as to where yabbfiles ended up. But if it guesses wrong, you have to edit both the url and the dir sections to get them to point to the right place. Most of the time people don't even notice if $htmldir is wrong until they need to edit something in yabbfiles/Templates or they turn on attachments or user avatars.


  

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: tmp missing
Reply #20 - Sep 25th, 2017 at 7:06pm
Mark & QuoteQuote  
I have now come by chance.
But next: The setuproutine runs perfectly in German.
But: From Convert2 it is despite translation only in English. I have looked at the Setup.pl and the Convert2.pl. The devil is in the details.
Since I think, I simply times the German Convert.lng over the English copied. Is working. So you should also look at the Setup.pl and the Convert2.pl, possibly also the ConvertLang.pl.
  

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: tmp missing
Reply #21 - Sep 25th, 2017 at 7:34pm
Mark & QuoteQuote  
The problem is in Admin.lng

in %setup  in 'conv2' the language has to be passed as a query: "$boardurl/Setup.pl?lang=German" (or whatever folder the alternate language is in.) This will pass the language variable to the next step.  Embarrassed

  

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: tmp missing
Reply #22 - Oct 1st, 2017 at 5:58am
Mark & QuoteQuote  
Build 1909

Paths must still be adapted manually before the conversion.
  

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: tmp missing
Reply #23 - Oct 1st, 2017 at 2:34pm
Mark & QuoteQuote  
Please post a copy of the Paths.pm created by Setup.pl (Or PM me a copy.) I'm not able to duplicate this problem without skipping editing the html directory field.

I'm wondering if there needs to be additional checks added to make sure folders exist.

Edited:
And the problem may be in Convert.lng  Embarrassed

In Convert.lng find
Code (Perl)
Select All
$boardurl/tmp/datacheck.txt 

and replace with
Code (Perl)
Select All
$yyhtml_root/tmp/datacheck.txt 

« Last Edit: Oct 1st, 2017 at 4:52pm by Dandello »  

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: tmp missing
Reply #24 - Oct 2nd, 2017 at 4:04am
Mark & QuoteQuote  
Build 1910

That's how it looks


Code (Perl)
Select All
$lastsaved = 'Administrator';
 $lastdate = '1506916022';                                             ########## Directories ##########

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

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

 $yyhtml_root = 'http://yabbtest.de/yabbfiles';                        # Base URL for all html/css files and folders
 $facesurl = 'http://yabbtest.de/yabbfiles/avatars';                   # Base URL for all avatar files
 $uploadurl = 'http://yabbtest.de/yabbfiles/Attachments';              # Base URL for all attachment files
 $pmuploadurl = 'http://yabbtest.de/yabbfiles/PMAttachments';          # Base URL for all PM attachment files
 $modimgurl = 'http://yabbtest.de/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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: tmp missing
Reply #25 - Oct 2nd, 2017 at 4:10am
Mark & QuoteQuote  
... and so it should look. Has always worked so far.


Code (Perl)
Select All
$lastsaved = 'Administrator';
 $lastdate = '1506916189';                                             ########## Directories ##########

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

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

 $yyhtml_root = 'http://yabbtest.de/yabbfiles';                        # Base URL for all html/css files and folders
 $facesurl = 'http://yabbtest.de/yabbfiles/avatars';                   # Base URL for all avatar files
 $uploadurl = 'http://yabbtest.de/yabbfiles/Attachments';              # Base URL for all attachment files
 $pmuploadurl = 'http://yabbtest.de/yabbfiles/PMAttachments';          # Base URL for pm attachment files
 $modimgurl = 'http://yabbtest.de/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
*****
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: tmp missing
Reply #26 - Oct 2nd, 2017 at 4:52am
Mark & QuoteQuote  
All the html directory paths are based off $htmldir and and all the html urls are based off $yyhtml_url.  This means if $htmldir is wrong then all the paths to the html folder will be wrong.

$htmldir and $yyhtml_url are inputted separately and there's no cross sharing of data. I'm still suspecting that you're not adding the 'httpdocs/' into the $htmldir textbox where it belongs. In fact, since you know what that path is supposed to be, there's no reason you can't just copy the entire path into that box.

  

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: tmp missing
Reply #27 - Oct 2nd, 2017 at 5:06am
Mark & QuoteQuote  
Somehow I do not quite understand. 'httpdocs' I personally after the setup 5 x, because otherwise Convert does not work. and 'tmp' yes can not be created. In the past, this always worked, 'httpdocs' was always recognized. I can not change the server side. Only from Build 1909 it does not work anymore.
  

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: tmp missing
Reply #28 - Oct 2nd, 2017 at 11:13am
Mark & QuoteQuote  
This is from my testbed - for you, the highlighted section needs edited to be
Code
Select All
/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles 


while the textbox beneath needs to be
Code
Select All
http://yabbtest.de/yabbfiles 



The script cannot actually detect where the directory is. The path and url in that section are 'guesses' since on most servers, yabbfiles will be on the same level as cgi-bin and both will be inside a 'httpdocs' or 'public_html' folder. So based on where YaBB.pl is, yabbfiles would normally be up two directory levels from YaBB.pl.

In the second attachment you can see that on my server, I have to edit both the htmldir path and the html url path.

  

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: tmp missing
Reply #29 - Oct 2nd, 2017 at 11:35am
Mark & QuoteQuote  
Sorry, but before build 1905 it all went automatically. All paths were detected automatically. But why not now? That does not want in my head.
Well, I can make it manually, but what do the inexperienced?
  

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

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