Topic awaiting preservation: Unable to read/write sessions |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: San Antonio |
posted 07-20-2008 18:04
At one point, I'd like to think I was at least literate when it came to PHP, however troubleshooting a problem this morning, I'm realizing I'm woefully ignorant after not seeing anything in PHP for over 3 years code: Warning: session_start() [function.session-start]: open(/tmp/sess_26592e0f89fbadb6b2c6a495d19f8a5d, O_RDWR) failed: Input/output error (5) in /path_to_file/_common.php on line 39 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /path_to_file/_common.php:39) in /path_to_file/_common.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /path_to_file/_common.php:39) in /path_to_file/_common.php on line 41
code: Warning: Unknown(): open(/tmp/sess_26592e0f89fbadb6b2c6a495d19f8a5d, O_RDWR) failed: Input/output error (5) 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 (/tmp) in Unknown on line 0
|
Paranoid (IV) Inmate From: Norway |
posted 07-20-2008 18:16 |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 07-20-2008 19:55
but the real trouble seems to be with your server, which can't store files in /tmp anymore -is your disk full? |
Paranoid (IV) Inmate From: Norway |
posted 07-20-2008 19:58
that'll teach to read PHP questions in diagonal. |
Maniac (V) Inmate From: San Antonio |
posted 07-22-2008 02:50
I just got ahold of tech support and walked someone who wasn't exactly fluent in English how to get the error. She was convinced that it was a scripting error, but 'humored' me by checking permissions and the contents of /tmp. /tmp was set to 777 and the session file (or one of them in the folder at least) was 600 (which seems right to me... owner (which is my website account) has read/write for the individual file. Am I understanding that right?). |