I am having trouble setting up sessions to work in php. Now I have tried a few things(with the help of people at this forum) like setting the save_path and sofourth. But when I first had this problem I had 8 error messages everytime I tried to start a session, now I only have 2. Here they are:
Warning: Unknown(): open(C:\Program Files\Apache2\sessions\\sess_d48d15459bcc6f40d1ffe2ac679eb9e5, 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_path is correct (C:\Program Files\Apache2\sessions\) in Unknown on line 0
Thanks for all help and advice provided.
php.ini + session config
Moderator: General Moderators
php.ini + session config
Last edited by nigma on Wed Feb 18, 2004 9:41 pm, edited 2 times in total.
hi
dunno if you managed to sort this yet
i am no expert but it would seem to me that the directory where your php.ini is set to save the sessions cannot be found
this is set here
session.save_path = "C:\Program Files\Apache2\sessions"
i see you have already messed with savepath (your comments in your post) but all i know is that the default is set to /tmp and it works fine for me
maybe you could try this?
if you already have then i apologise
dunno if you managed to sort this yet
i am no expert but it would seem to me that the directory where your php.ini is set to save the sessions cannot be found
this is set here
session.save_path = "C:\Program Files\Apache2\sessions"
i see you have already messed with savepath (your comments in your post) but all i know is that the default is set to /tmp and it works fine for me
maybe you could try this?
if you already have then i apologise