note 19970 deleted from language.oop.serialization by danbrown
| From: | danbrown@php.net | Date: | Sat, 07 Nov 2009 19:13:14 +0000 |
| Subject: | note 19970 deleted from language.oop.serialization by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162615@lists.php.net to get a copy of this message | ||
Note Submitter: ggiulb at netscape dot net
----
PHP.INI FILE AND SESSION.AUTO_START
Set
session.auto_start = 0
in php.ini file if you want that all works well during serialization/unserialization.
If session.auto_start is set to 1 all class definition is loaded after unserialization process,
infact you obtain a messagge error like this "The script tried to execute a method or access a
property of an incomplete object. Please ensure that the class definition className of the object
you are trying to operate on was loaded _before_ the session was started in scriptFile on line
n"