ID:               17436
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ndp at mac dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: MacOS X 10.1.4
 PHP Version:      4.2.1
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-09-16 14:55:39] [EMAIL PROTECTED]

It should be documented that session autostart causes this problem
(read latest posting by user).

Derick

------------------------------------------------------------------------

[2002-06-20 14:10:08] ndp at mac dot com

Yes, the issue is indeed session auto_start. (I put a 
comment in about this, but don't see it now.) 

My recommendation was that the error message could be 
changed to indicate what is going on, as this was pretty 
hard to track down. The upgrade came with a new php.ini 
file, and I trusted it-- therefore it seemed like the new 
version was broken, when it wasn't. 

The error message could be something like "session objects 
are not compatible with session_auto_start setting". That 
would help you fix the problem.

I put notes where I could on the php.net site, but it seems 
like someone else will undoubtedly run into the same 
problem and have the same difficulty diagnosing it.

Andy

------------------------------------------------------------------------

[2002-06-19 05:44:50] twocandles3000 at hotmail dot com

i suppose you have session auto_start disabled, don't you? since class
declaration must appear before unserializing an object, this code won't
work because of the unserialization occurs before the class declaration
if auto_start is set.

------------------------------------------------------------------------

[2002-06-01 12:32:06] [EMAIL PROTECTED]

Um, sorry, I reproduced a different bug. Sessions are not 
working at all on my box. Looking into it.

------------------------------------------------------------------------

[2002-06-01 12:14:52] [EMAIL PROTECTED]

Reproduced here on OS X. mod_files can write the session 
files ok, but doesn't seem to be able to read them. Digging 
into this.

------------------------------------------------------------------------

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/17436

-- 
Edit this bug report at http://bugs.php.net/?id=17436&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to