#19022 [Com]: PHP Warning: Failed to write session data (files)
From: skye at f4 dot ca Date: Tue, 22 Apr 2003 00:25:05 +0000 Subject: #19022 [Com]: PHP Warning: Failed to write session data (files) References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-38022@lists.php.net to get a copy of this message
ID: 19022
Comment by: skye at f4 dot ca
Reported By: phpbugs at mx4k dot com
Status: No Feedback
Bug Type: Session related
Operating System: linux (rh7.3), apache 1.3.26
PHP Version: 4.2.2
New Comment:
I am also having this problem, FreeBSD 4.6.2 with
Apache/1.3.27 (Unix) mod_throttle/3.1.2 mod_gzip/1.3.19.1a PHP/4.2.3
Using SquirrelMail 1.4.0 I get the usual:
Failed to write session data
(files). Please verify that the current setting of session.save_path
is
correct (/tmp) in Unknown on line 0
My box has multiple CPUs.
Previous Comments:
------------------------------------------------------------------------
[2003-04-18 09:01:34] php at rjs3 dot com
I have had this problem for a long time.
Thanks to the individual that mentioned the /var/www/tmp directory. I
did not change the permissions of the directory, I simply got rid of it
and the problem went away.
I used to have a /var/www/tmp from testing in the past. So I just
deleted it and the problem is solved.
PHP developers: Any reason why this would mess up PHP sessions?
------------------------------------------------------------------------
[2003-03-21 06:35:25] jsarac at fi dot uba dot ar
I was having similar problems. It seems to be related to the require()
statement.
I solved this putting the seesion_start() statement outside the
included script (e.g. if I have require("auth.php") I put
session_start() issue outside auth.php.
At least It works in my particular case. You can test it and see if it
works for you too.
Please post your results. I
------------------------------------------------------------------------
[2003-02-08 01:01:21] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-01-30 03:52:32] cold80 at libero dot it
I HAVE SOLVED!!!
I created a tmp directory in /var/www that is my OpenBSD Apache root
directory (not document root). I set the right permissions and now it
runs!!!
Good luck guys!
------------------------------------------------------------------------
[2003-01-29 06:02:15] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
(can not reproduce anywhere)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19022
--
Edit this bug report at http://bugs.php.net/?id=19022&edit=1
Thread (75 messages)
- #19022 [Opn]: PHP Warning: Failed to write session data (files)
- #19022 [Opn->Bgs]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Bgs]: PHP Warning: Failed to write session data (files)
- #19022 [Bgs->Opn]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Opn->Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk->NoF]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [NoF->Opn]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Opn->Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk->NoF]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [NoF]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
| « previous | php.bugs (#38022) | next » |
|---|