Page 1 of 1

php5

Posted: 20 Dec 2008, 16:26
by VipeR
I have trouble with php5, btw on php4 anything runs great. Apache configs are same for both handlers.

So, I've get this error, running on php5:
Warning: session_start() [function.session-start]: open(/tmp/sess_379d9b22353c34cf98e910b633228b8e, O_RDWR) failed: Permission denied (13) in /home/***/public_html/imagevue/index.php on line 8

A PHP Error was encountered
Severity: Warning
Message: Unknown: open(/tmp/sess_379d9b22353c34cf98e910b633228b8e, O_RDWR) failed: Permission denied (13)
Filename: Unknown
Line Number: 0

Warning: Unknown: open(/tmp/sess_379d9b22353c34cf98e910b633228b8e, O_RDWR) failed: Permission denied (13) in Unknown on line 0

A PHP Error was encountered
Severity: Warning
Message: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)
Filename: Unknown
Line Number: 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
session.save_path is correct, can't find out this trouble yet =/

Posted: 20 Dec 2008, 18:18
by Felix J
My host runs their servers on php5 also... Hope I will not get the same problem if I buy and install the script.

Posted: 21 Dec 2008, 01:37
by Nick
Clearly, even it session.save_path is pointing at /tmp and you have this directory - it's unwritable for php anyway.

You should address this issue to you hosting support and ask em to fix permissions.

Posted: 21 Dec 2008, 08:12
by VipeR
Well, i've figured out.
Reason of this error was php4 session file (i've forgot to kill old session before switching to php5).