Page 1 of 1

session_start warning !!!

Posted: Thu Mar 11, 2004 9:56 am
by dmakris
Hello everybody.
I get some "session_start warning" messages but everuthing seems to working fine !!!
Any ideas about these annoying warnings?
Thanks in advance...

Posted: Thu Mar 11, 2004 11:03 am
by markl999
What's the exact error/warning ?

Posted: Thu Mar 11, 2004 1:48 pm
by dmakris
Warning: session_start(): open(/tmp\sess_3e9b7822ff34f10f67512ef55430cb66, O_RDWR) failed: No such file or directory (2) in "folder name"

Warning: session_start(): Cannot send session cookie

Warning: session_start(): Cannot send session cache limiter - headers already sent

Warning: Cannot modify header information - headers already sent

thanks in advance...

Posted: Thu Mar 11, 2004 3:02 pm
by TheBentinel.com
dmakris wrote:Warning: session_start(): open(/tmp\sess_3e9b7822ff34f10f67512ef55430cb66, O_RDWR) failed: No such file or directory (2) in "folder name"

Warning: session_start(): Cannot send session cookie

Warning: session_start(): Cannot send session cache limiter - headers already sent

Warning: Cannot modify header information - headers already sent

thanks in advance...
Once the first error throws the text to the browser, the headers (where the cookie will go) have already been sent. If you correct the first error, you'll probably fix them all.

What code are you running on start of a session? Can you paste it here?

Posted: Thu Mar 11, 2004 4:20 pm
by basdog22
loipon patriwti:

I suppose you use windows :wink:

Open your php.ini and change the line "session.save_path =\"

to:
session.save_path =c:\windows\temp\
if you use other than win98 change the line above to point to your temp folder