----- Original Message ----- 
From: "bryan_is_south" 

> And it gives me three error messages:
> 
> 2 like this: "Warning: open(/tmp\sess_..., O_RDWR) failed: No such
> file or directory (2) in ..."
> And another that says "Failed to write session data (files). Please
> verify that the current setting of session.save_path is correct..."

> ------------------------------------
> 
> /tmp\sess_...
> 
> Linux or Windows?
> 
> Make up your mind lol!
>

------------

I'm on Windows. XP to be exact. But that is the error it gives me...
The only thing I changed in those was I took out the long string of
letters and numbers. Here is the full error messages without any
deletions though:

Warning: open(/tmp\sess_a68c3a0287f2393832cc6a40b5d77755, O_RDWR)
failed: No such file or directory (2) in c:\phpdev5\www\metalopia
website\sessions.php on line 2

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

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



Is this abnormal for Windows or something?
Any ideas for getting it running?

Thanks,
-bryan


------------------------------------

Hello Bryan,

Your session save path is wrong. 

It is pointing to c:/tmp\ which does not exist. 

Open your php.ini file in a text editor. 
It should be in c:\phpdev5\bin\php\ or c:\phpdev5\bin\php\phpx.x.x\

Make sure of the path to your temporary directory exists. 
It should be c:\phpdev5\tmp\

In php.ini look for the setting session.save_path
Change '/tmp' to the correct setting. This should be - 
'c:\phpdev5\tmp'

Then you must restart your server. 

Thanks, Robert. 

Reply via email to