Page 1 of 1

Session errors from maybe the web server??

Posted: Mon Feb 18, 2008 6:02 am
by mcccy005
Hi there, I get the following errors in my code which I've just uploaded to hosting company's web server:

Warning: Unknown: open(c:\temp\sess_c2073f5695eb88545366170f1a6a7d9d, 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:\temp) in Unknown on line 0
Error in my_thread_global_end(): 1 threads didn't exit


I've searched high and low and read through a bunch of bugs on the search results but there appears to be no definitive answer so I thought I would try here.
FOr the record, I call session_start( ) at the beginning of a few scripts and it's the first thing thats called. A lot of the errors mention something about using session_id( ) which I don't use. To date I haven't had any problems using any of the code on my localhost web server.

Thanks

Re: Session errors from maybe the web server??

Posted: Mon Feb 18, 2008 6:22 am
by JAM
Yah, most likely the server. The server is missing the temp directory and/or doesn't have it writeable. Never seen a hosting company use c:\temp...
Contact them with this error. It's a very basic error and they should know how to fix it...