Click to See Complete Forum and Search --> : Error message with session creation


Anon
12-14-2001, 05:06 AM
Hi folks,

I have successfully installed php, apache and mysql on my w2k machine. Now I am trying to add sessions to my site, but always get the following error messages:

Warning: open(/tmp\sess_175cb9d5dcc2fbec0cb77165a96cbf5f, O_RDWR) failed: m (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


Do I have to create a /tmp directory and if so: where?

Thx for your help,

IK

Anon
12-14-2001, 08:51 AM
Yes..in php.ini under [Session] you can find the path to where sessions are saved.

So.. you must either create the dir (default is c:/tmp) or cahge the path to an existing dir.

I have a example at my site www.mdz.dk if this didnt help you..

Greets, Mads