Tom Meekers
|
| Posted: 04/15/2002, 5:37 AM |
|
I'm running a local Apache webserver and I use Codecharge to generate PHP4 documents (MySQL database). I just started using Codecharge today, so I don't known it very well yet.
My site works, but I keep getting the same Warnings. I already tried all the examples codecharges comes with... and they all give these errors :
Warning: open(/tmp\sess_5b71caeebbde45247b22bc268d3d7dbe, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\default.php on line 17
Warning: open (/tmp\sess_5b71caeebbde45247b22bc268d3d7dbe, 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
It has something to do with sessions, but I have no idea what to do about it.
Does anyone know what to do ?
Thanks.
|
|
|
 |
Alex Alexapolsky
|
| Posted: 04/15/2002, 6:01 AM |
|
this kind of error means that PHP tries to store session information in
unexisting directory. To set it up correctly you must open your php.ini
file (usually residing in winnt or windows catalog) , find session_save_path
variable and set to to existing directory where PHP will store session info , e.g c:/windows/temp
|
|
|
 |
Tom Meekers
|
| Posted: 04/15/2002, 6:06 AM |
|
Ok, it works now.
Thanks a lot !
|
|
|
 |
|