Re: Reg-Session problem
| From: | Andrey Hristov | Date: | Thu, 30 Aug 2001 12:15:49 +0000 |
| Subject: | Re: Reg-Session problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65260@lists.php.net to get a copy of this message | ||
May be you save as session variable a object and try to recreate in another script. But in this
second script you don't
include/require the script with definition of the class. If this definition is in the first script
cut it from there and paste into
a new file save it using some name and include()/require() in every file which uses sessions.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
----- Original Message -----
From: "senthilvellan" <senthilvellan@visolve.com>
To: "Richard Lynch" <ceo@l-i-e.com>; <php-general@lists.php.net>
Sent: Thursday, August 30, 2001 3:51 PM
Subject: [PHP] Reg-Session problem
Helo techies ,
Iam getting the following error .Any help is appreciated.
Fatal error: The script tried to execute a method or access a property of an incomplete object.
Please ensure that the class
definition user of the object you are trying to operate on was loaded _before_ the session was
started in theme.inc on line 6
Thanks in advance,
Senthilvellan.