News:

Wondering if this will always be free?  See why free is better.

Main Menu

install error

Started by dufas, December 27, 2004, 07:41:18 PM

Previous topic - Next topic

dufas

Perhaps you guys can help, I get this on the first step of the install, when I go here http://www.yourdomain.tld/smf/install.php

//////////////
Please inform your host that the session.save [nofollow]_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

Click here to try this step again.

Warning: Unknown(): open(/tmp\sess_2b8278f7acc9f635d35f1196ffb4eef7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save [nofollow]_path is correct (/tmp) in Unknown on line 0
///////////////

Thanks in advance...

Jerry

that means your host does not have php configured correctly, they need to set the tmp directories or create that folder.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

dufas

Right I was able to figure that much out by reading the error msg

"tmp" file located exactly where?

c:\tmp

C:\web\tmp

C:\php\tmp

c:\mysql\tmp

C:\winnt\tmp?

Thanks but I  need specific detailed directions unlike the vague error message :-)

I am a computer moron I DONT know DOS or command line crapola, "linux" wasnt he one of them guys on the peanuts? I was able to setup phpbb after about 100 hrs but cant get past the first step on  this one :-)

Thanks again...

Trekkie101

Do you host yourself?

If so, did you edit the php and apache configarations properly,

If not and you have got hosting, your host should know.

dufas

" Do you host yourself?"
huh? I am a computer moron and am not sure I get all the computer lingo and acronyms yet...

Where should the missing tmp dir be? that is the error and that is the question. I searched the PHP ini for "session.save_path" (got that form the error message)  in the PHP.ini it says "session.save_path = /tmp"

How am I suppose to know if I edited the php and apache configurations properly? there a test I can run?

Again I am a computer moron but the error says it cant find the tmp dir, I search my computer and find all kinds of tmp dir's what one is it looking for ?  my PHPBB is and has been running just fine so I assume its tmp dir (if it uses one) is just fine and dandy?


Thanks again

Trekkie101

 ??? Do you ru your site on your computer
or do you pay someone to hold the files and such and "host" it.


dufas

Quote from: Trekkie101 on December 28, 2004, 06:42:56 PM
??? Do you ru your site on your computer
or do you pay someone to hold the files and such and "host" it.



Yes I run it on my computer but what difference does that make?
What about the  error I am getting?

Jerry

you need to open up your php.ini and define the temporary path.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

dufas

Quote from: Jerry on December 28, 2004, 08:41:25 PM
you need to open up your php.ini and define the temporary path.

Ok right now the php.ini  says "session.save_path = /tmp" what
should it say to make the error happy?

FYI I used this http://www.enscape.net/index.php?id=114&pg=2 [nofollow] to
setup the server, after following the instrustions over and over about
10 times I got it to run :-) then I found the http://www.easyphp.org [nofollow]
DOH!!! never tired it but it looks much faster than the instructions I
used...

Thanks again

Trekkie101

If C:\tmp exists then there
But C:\WINNT\tmp
C:\php\tmp

But if XP you could use C:\WINDOWS\Temp

In conclusion find a real tmp file that exists already and change the paths to that.

Plus if you didnt host it on your computer then it would be your host that needed to change it.

dufas

Ok now I think we are getting some place, I created a tmp dir under
c:\tmp and run the http://www.yourdomain.tld/smf/install.php again
this time I still got the error

///////
Please inform your host that the session.save [nofollow]_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

Click here to try this step again.
///////

But this part of the error went away

//////////
Warning: Unknown(): open(/tmp\sess_2b8278f7acc9f635d35f1196ffb4eef7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save [nofollow]_path is correct (/tmp) in Unknown on line 0
///////////////

I look in the dir I created (c:\tmp) and it has written a file named sess_d67ab6d4b34dbfc65d28fa5032de49a8
I open the file with notepad and it says this inside.
/////////
smf_install_lang|s:19:"Install.english.php";
////////

Thanks again...

Trekkie101

I think its got to be a already Windows made temporary folder, i dont think you can just make one.

Grudge

Well - the good news is that it's finding the directory. I expect it's throwing the error because you haven't "officially" told the web server that it can write there. Can you look at this tutorial, and check that the directory you created is writable by windows:
http://unknown.network32.net/tutorial.basic-server
I'm only a half geek really...

dufas

Before we go any farther how do I get that floating box on this page to go away?

Trekkie101

The llama and mistletoe cant eb removed just yet, but you could change to the SMF Default theme then it will be gone

dufas

What theme will remove 99% of all the graphic crapola this thing is
so cluttered up I have a hard time trying to read the text, I just want
to ask questions and get answers......


dufas

Getting back to my install problems how do I check that the directory I created (tmp) to make sure it is writable by windows?

over the years I have seen this 777 677 things to give files access but have no idea how that applies to any of the windows settings seems all the instrustions you read are centered around remote admin using FTP.

[Unknown]

If you're really a minimalist, look here:
http://www.simplemachines.org/community/index.php?wap2

777 doesn't apply to Windows.  However, it still has to be writable.  If you're using Windows XP, 2003, or 2000, you're probably using NTFS.  You'll want to make sure the tmp directory is writable in the Security tab by Everyone.  Or, you may wish to check to see what user account Apache/IIS uses (if you use IIS it's IUSR_COMPUTERNAME) and use that instead of Everyone.

-[Unknown]

dufas

Quote from: [Unknown] on December 30, 2004, 10:27:16 AM
If you're really a minimalist, look here:
http://www.simplemachines.org/community/index.php?wap2

777 doesn't apply to Windows.  However, it still has to be writable.  If you're using Windows XP, 2003, or 2000, you're probably using NTFS.  You'll want to make sure the tmp directory is writable in the Security tab by Everyone.  Or, you may wish to check to see what user account Apache/IIS uses (if you use IIS it's IUSR_COMPUTERNAME) and use that instead of Everyone.

-[Unknown]

I am using win2k service pack4.......
I assume it is ok since I look in the dir I created (c:\tmp) and it has written a file named sess_d67ab6d4b34dbfc65d28fa5032de49a8
I open the file with notepad and it says this inside.
/////////
smf_install_lang|s:19:"Install.english.php";
////////

Thanks again...

[Unknown]

Sounds fine then.  You should still set the ini setting to C:\tmp, but... you should be fine now ;).

-[Unknown]

Advertisement: