Page Index Toggle Pages: 1 2 [3]  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) tmp missing (Read 7571 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 #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
*****
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
*****
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
*****
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
*****
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 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