Page Index Toggle Pages: [1]  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) tmp missing (Read 7573 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
tmp missing
Sep 23rd, 2017 at 2:31pm
Mark & QuoteQuote  
Build 1905

Quote:
Directory: /var/www/vhosts/yabbtest.de/yabbfiles/tmp No such file or directory
  

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: tmp missing
Reply #1 - Sep 23rd, 2017 at 10:04pm
Mark & QuoteQuote  
Convert2x should create a $htmldir/tmp folder for you. I'll check it when I get home Monday. It's possible I accidentally hard coded a path.
« Last Edit: Sep 24th, 2017 at 7:09pm by Dandello »  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: tmp missing
Reply #2 - Sep 24th, 2017 at 6:35pm
Mark & QuoteQuote  
What were you doing when you got the missing folder error?
  

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 #3 - Sep 24th, 2017 at 10:06pm
Mark & QuoteQuote  
Convert to UTF-8
  

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: tmp missing
Reply #4 - Sep 25th, 2017 at 1:18am
Mark & QuoteQuote  
Which language packs did you have installed and which one were you in when you clicked on the 'Go to Convert Language' button?

I'm stumped because ConvertLang doesn't call for the /tmp folder at all and all the calls to $htmldir/tmp are all in Admin.pm, Convert1x and Convert2x and none ask for 'yabbfiles'.
  

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 #5 - Sep 25th, 2017 at 3:54am
Mark & QuoteQuote  
Sorry, I have described the wrong:
Setup is running and running. Then go to the Admin Center on go to Convert. The intro appears. ('intro1' from Convert.lng). Click Continue and the error message appears. Installation of the forums I always do first in English, since I can still have mistakes in the translation. Only when the installation runs in English, I delete everything again and then try the German files.
  

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: tmp missing
Reply #6 - Sep 25th, 2017 at 1:11pm
Mark & QuoteQuote  
Okay - this is a weird test BUT - in Template Configuration, can you create a new templates graphics folder? I'm suspecting a server issue that's preventing Perl scripts from creating folders outside of the cgi-bin.

I moved the tmp folder from inside the cgi-bin/yabb2 to yabbfiles because the server security settings here don't allow files in the cgi-bin to be directly opened into a browser.
  

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 #7 - Sep 25th, 2017 at 2:07pm
Mark & QuoteQuote  
Can not

Quote:
An Error Has Occurred. readdir() attempted on invalid dirhandle TMPLDIR at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/ManageTemplates.pm line 322.


Quote:
An Error Has Occurred. readdir() attempted on invalid dirhandle TMPLDIR at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/ManageStyles.pm line 227.
  

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: tmp missing
Reply #8 - Sep 25th, 2017 at 2:34pm
Mark & QuoteQuote  
Okay - since I know that section works here, the problem is a server permissions issue on your server. Try to set yabbfiles to 777 (yes, I know it's not recommended) and see if that allows YaBB to create directories in yabbfiles.
  

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 #9 - Sep 25th, 2017 at 3:01pm
Mark & QuoteQuote  
No impact. I have already found a lot of errors again, but first the problem has to 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: tmp missing
Reply #10 - Sep 25th, 2017 at 3:16pm
Mark & QuoteQuote  
try setting Convert2x.pl and AdminIndex.pl to 777 (again, not good practice).
  

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 #11 - Sep 25th, 2017 at 3:42pm
Mark & QuoteQuote  
500 Internal Server Error

The server does not allow this.
I have to check in Plesk, if something can be done. But I do not believe.

Edited:
Also on the server no chance. At Perl is ending with 755.
  

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: tmp missing
Reply #12 - Sep 25th, 2017 at 4:17pm
Mark & QuoteQuote  
FTP in and create the tmp folder. (It won't try to create a folder if one exists.) But this also means you cannot create graphics folders from within YaBB - we'll have to create more checks for this issue.

Another check - can you edit css files?
  

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 #13 - Sep 25th, 2017 at 4:26pm
Mark & QuoteQuote  
Dandello wrote on Sep 25th, 2017 at 4:17pm:
Another check - can you edit css files?
                   



Yes, i hope. I have already made templates.

Edited:
It is strange. The folders I can put on 777 and it works. The file is at 755 celebration.
  

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 #14 - Sep 25th, 2017 at 4:57pm
Mark & QuoteQuote  
Quote:
Directory: /var/www/vhosts/yabbtest.de/yabbfiles/tmp No such file or directory


I notice something. For me the path looks like this.

Quote:
/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles


Can it be? Maybe only the path is not found.
  

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: 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
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 #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
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 #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
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 #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
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 #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
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 #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
 
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 #30 - Oct 2nd, 2017 at 12:25pm
Mark & QuoteQuote  
In point of fact, this entire thread has to do with the tmp folder not being created due to a misconfigured folder path in Paths.pm.

We're going to have to change the instructions to make sure people understand those sections may have to be edited to match the real paths.

Code
Select All
    'prehtmldir' => q~HTML Root Directory:<br /><span style="font-size: 11px;">Base Path for all /html/css files and folders</span>~,
     'prehtml_root' => q~HTML Root URL:<br /><span style="font-size: 11px;">Base URL for all /html/css files and folders</span>~, 



Should probably be
Code
Select All
    'prehtmldir' => q~HTML Root Directory:<br /><span style="font-size: 11px;">Base Path for all /html/css files and folders - edit to match the path on <b>your</b> server</span>~,
     'prehtml_root' => q~HTML Root URL:<br /><span style="font-size: 11px;">Base URL for all /html/css files and folders - edit to match the url on <b>your</b> server</span>~, 

  

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 #31 - Oct 2nd, 2017 at 3:47pm
Mark & QuoteQuote  
Everything right and nice, but in the past it has always done everything automatically.
Why not anymore? That just does not want to be in my head. I've never had to change anything on the paths.
  

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: tmp missing
Reply #32 - Oct 2nd, 2017 at 4:29pm
Mark & QuoteQuote  
Actually, what you were seeing before (as near as I can figure) was your browser remembering the previous values for a textbox with the same name.

The problem there was that for a lot of people, the results of that previous value was either nonsense or nothing at all. On my test machine, Firefox kept insisting that the 'correct' path for the html folder was to a harddrive that no longer exists.

When installing YaBB on a hosted site, I've always had to input the correct paths for the html folder since it either 'remembered' the wrong info or had nothing.

Now, assuming the person doing the installing puts yabb2 into the cgi-bin and yabbfiles into public_html, the initial results in those text boxes should be valid for most installations since most servers use a pretty standard configuration and have the main cgi-bin sitting inside the public_html folder. (Very few YaBB installs I've done troubleshooting for have not had this server configuration.)

So basically, you were lucky in that the 'remembered' values were the right ones. You are one of the few for which that was true.
  

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 #33 - Oct 2nd, 2017 at 5:16pm
Mark & QuoteQuote  
So I used to install many YaBB forums on different servers. I never had problems with the paths. I have an idea, if the server admits.
  

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: tmp missing
Reply #34 - Oct 2nd, 2017 at 6:09pm
Mark & QuoteQuote  
Okay, I was checking the old code for how Setup.pl found the 'correct' folder for the htmldir and html_url - Setup looked in the 'obvious' place for it, and if it didn't find it, started searching other folders for yabbfiles. BUT it used the found path value for the url as well.

Which means, whether we use the old 'search for it' or the current 'assume it's sitting next to the cgi-bin', you will end up editing either the htmldir path (new version) or the html_url path (old version) - because those paths are apparently different in your current install. (Of course, this still doesn't answer why, on my machine, Setup.pl was finding stuff that didn't exist.)

Edited:
You're lucky. I've always had path problems unless yabbfiles was uploaded in the same folder as held the cgi-bin folder. Hmm, maybe a combo of the old and new - start with the 'next to the cgi-bin' and then search for it.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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: tmp missing
Reply #35 - Oct 2nd, 2017 at 10:55pm
Mark & QuoteQuote  
Just uploaded a new Setup.pl to the SVN - this one combines both the 'new yabbfile finder' with the old 'lets search for yabbfiles somewhere on the harddrive'.

I suspect it's going to have the url to your yabbfiles wrong but it would have done that before anyway.
  

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 #36 - Oct 3rd, 2017 at 12:41am
Mark & QuoteQuote  
Very good, but still a little wrong. In the Base URL "httpdocs" is not allowed, otherwise the path to the * .css is not found and no graphic is shown. Why? No idea. See my previous posts.


Quote:
$lastsaved = 'Administrator';
$lastdate = '1506990720';                                             ########## Directories ##########

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

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

$yyhtml_root = 'http://yabbtest.de/httpdocs/yabbfiles';               # Base URL for all html/css files and folders
$facesurl = 'http://yabbtest.de/httpdocs/yabbfiles/avatars';          # Base URL for all avatar files
$uploadurl = 'http://yabbtest.de/httpdocs/yabbfiles/Attachments';
                                                                       # Base URL for all attachment files
$pmuploadurl = 'http://yabbtest.de/httpdocs/yabbfiles/PMAttachments';
                                                                       # Base URL for all PM attachment files
$modimgurl = 'http://yabbtest.de/httpdocs/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 #37 - Oct 3rd, 2017 at 12:44am
Mark & QuoteQuote  
Dandello wrote on Oct 2nd, 2017 at 10:55pm:
I suspect it's going to have the url to your yabbfiles wrong but it would have done that before anyway.



did not have it !!!
  

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: tmp missing
Reply #38 - Oct 3rd, 2017 at 1:36am
Mark & QuoteQuote  
What I was trying to explain - according to the actual code in the old Setup.pl Setup.pl looked through the folders to find exactly what folder yabbfiles was in. It already knew the 'server url' from where Setup.pl was and just tacked the path to yabbfiles onto the server url.

Code
Select All
/var/www/vhosts/yabbtest.de 

corresponds with
Code
Select All
http://yabbtest.de 

so logically
Code
Select All
/var/www/vhosts/yabbtest.de/cgi-bin 

corresponds with
Code
Select All
http://yabbtest.de/cgi-bin 

(and does).

So logically
Code
Select All
/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles 

should correspond with
Code
Select All
http://yabbtest.de/httpdocs/yabbfiles 

but doesn't because on this particular server
Code
Select All
/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles 

corresponds with
Code
Select All
http://yabbtest.de/yabbfiles 



No automated script is going to be able to figure that out because the script has no way of knowing that the server is renaming or disguising the real location of yabbfiles when yabbfiles is called via url. I mean, Setup.pl found yabbfiles at
Code
Select All
/var/www/vhosts/yabbtest.de/httpdocs/yabbfiles 

It has no way of detecting that the server thinks the logical url should be something else.

BTW - the only time I've seen path discrepancies like that is on sites using mod rewrite to create SEO friendly urls. So I'm betting there's an .htaccess file in there disguising the httpdocs folder.

Edited:
I'm not discounting that you've not had this problem before. But the problem exists on THAT server/hosting service. So even if you used an original Setup.pl, the problem would still persist on that 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: tmp missing
Reply #39 - Oct 3rd, 2017 at 1:54am
Mark & QuoteQuote  
And I can only say I have never had to change the paths before and I have many YaBB forums installed on the most diverse servers.

For me, it is not a problem to change the paths, but think of the many others who do not have this experience. They are stupid, delete YaBB and then never use it again or it comes to many questions in the YaBB forum.

Edited:
I think, but it does not know exactly, at build 1903 it still worked. I still have this on the computer. Will install it today and then make a screener of the paths.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Rucola
Senior Member
Bug Finder
****
Offline



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: tmp missing
Reply #40 - Dec 8th, 2017 at 2:17pm
Mark & QuoteQuote  
pyragony54 wrote on Oct 3rd, 2017 at 1:54am:
Build 1905

Quote:
Directory: /var/www/vhosts/yabbtest.de/yabbfiles/tmp No such file or directory


I know the wrong path is specified-just fix it in the admin path settings
  
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 #41 - Dec 8th, 2017 at 3:05pm
Mark & QuoteQuote  
@Rucola
This problem was solved in October and was due to a non-typical server configuration.
  

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



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: tmp missing
Reply #42 - Dec 8th, 2017 at 3:09pm
Mark & QuoteQuote  
server here for nothing, do not find the files in the directory, the path is incorrect
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Rucola
Senior Member
Bug Finder
****
Offline



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: tmp missing
Reply #43 - Dec 8th, 2017 at 3:10pm
Mark & QuoteQuote  
and neither I thought of it and you wrote to me when I had a mistake, but I looked at the admin panel. I actually had a non-correct domain after fixing it all worked
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 
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