Page 1 of 1

Problem....

Posted: Mon Jun 30, 2003 11:19 am
by Drachlen
Okay.. I'm using phptriad, and i had to make my own directories so i could use sessions.. I created a folder called tmp, and a folder inside it called files. I checked my php.ini and thats where it was trying to go. previously to doing this when ever i tried using sessions i would get errors. Now when i have the folders i get a message saying:
X-Powered-By: PHP/4.0.5 Content-type: text/html
For some documents its just placed before all the code, But for others, it cuts everything off. I dont understand what this is, and was curious how to get rid of it..

Posted: Mon Jun 30, 2003 11:26 am
by Drachlen
Okay its not if the folders exsist or not, its when i add a \ to the session.save_handler = files ; handler used to store/retrieve data
With it written like that, i dont get the weird message, but i get the errors
with it written like session.save_handler = \files ; handler used to store/retrieve data i get the weird message but no errors.. Also, the errors im getting are:

Warning: open(\tmp\sess_500eab5907a12268247e517795412634, O_RDWR) failed: m (2) in C:\apache\htdocs\stuff\verify.php on line 2

Warning: open(\tmp\sess_500eab5907a12268247e517795412634, 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

Posted: Mon Jun 30, 2003 11:52 am
by Drachlen
nevermind, volka fixed the problem. yay