From:             [EMAIL PROTECTED]
Operating system: HP Unix 10
PHP version:      4.0.5
PHP Bug Type:     Session related
Bug description:  Error with Object saved in Session

I have the follow Problem:

Fatal error:  The script tried to execute a method or access a property of
an incomplete object. Please ensure that the class definition test of the
object you are trying to operate on was loaded _before_ the session was
started in /u4_1/www/rf/includes/all_sicherheit.inc on line 3

Very simple:

In file 1:

class foo
{
...
}
$x=new foo
$x->... = 123;
session_register("x");

in 2. file:

class foo
{
...
}

echo $x->...;

When I do a session_register("x") befor I printed $x->...
it get the same error.

Is there a Workaround?
-- 
Edit bug report at: http://bugs.php.net/?id=12230&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to