ID: 32330
Comment by: horvathi at internode dot on dot net
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Session related
Operating System: *
PHP Version: 5CVS, 4CVS (2005-03-17)
New Comment:
I havent had any problems until implementing a custom database-using
session handler. Now sometimes I have this error message at the line
where the session_start() is called, after a session_write_close().
win xp on local development machine, php5.0.4, Apache 2.0.49,
mysql4.1.7
Previous Comments:
------------------------------------------------------------------------
[2005-06-04 00:25:54] [EMAIL PROTECTED]
PS(mod_data) gets set to NULL with these:
session_write_close(),
session_module_name('foo'),
session_destroy()
------------------------------------------------------------------------
[2005-05-31 09:44:11] fteodoro at teatrodetabuas dot com dot br
Is this discussion opened yet?
I think I got a tip in this bug - not the more elegant, but it's
working now.
I was facing the random "failed to initialize storage module" bug. The
bug seems to be related to the physical recording of session data. No
worries on my test server (linux + php 4.2.2 + mysql 3.23.54), but all
the worries on the web server (php 4.3.11 + mysql 4.0.22).
Since I have no access to the commercial server unless ftp, I achieved
the trick with a simple .access file, with a simple couple of
handlers:
php_value session.save_handler files
php_value session.save_path /home/domain/htdocs/temp
and I haven't received error messages for some days.
Too dummy? Hope it works...
------------------------------------------------------------------------
[2005-05-21 19:19:42] [EMAIL PROTECTED]
I think you are on the right track mfischer. It looks like PS(mod) and
PS(mod_data) can get out of synch which would cause this. And I think
all the others with seemingly unrelated issues are actually related.
If PS(mod_data) leaks out of the per-request sandbox and infects
subsequent requests all it takes is one application on a server to use
its own session handler and it could affect other seemingly trivial
standalone session apps on that server.
------------------------------------------------------------------------
[2005-05-19 14:09:55] lekhoi at lekhoi dot com dot au
I use
Window XP -- running Apache
SQLite version 2.8.14
PHP version 5.0.4
and am experiencing the same problem of PHP reporting error when
calling session_start()
I have never have this problem before.
However, I am using SQLiteManager ver 1.0.6 and during the development
stage I came across this problem. This problem occurs quite randomly
specially when I try to modify the database structure or have troubled
sql statement. It feels and sounds like a memory leak problem with
SQLite functions. I have to stress that I come across this only when
using SQLiteManager.
I have used and configured session using SQLite as the database for
sessions storing and never have a problem.
To fix this, I restart Apache, and it works everytime.
------------------------------------------------------------------------
[2005-05-17 21:01:39] semorales at segob dot gob dot mx
Any notice about this bug? I'm thinking about using the handler but I'm
afraid it will crash my server. Please let me know.
------------------------------------------------------------------------
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/32330
--
Edit this bug report at http://bugs.php.net/?id=32330&edit=1