[PHP] __PHP_Incomplete_Class

2005-06-29 Thread Jay Wright
I am having problems retrieving objects stored in a session. When they are retrieved, they are incomplete objects (__PHP_Incomplete_Class Object). I've done some research and this seems to be a common problem, typically solved by setting the session.auto_start to off. However this setting is of

RE: [PHP] __PHP_Incomplete_Class Errors...

2004-10-27 Thread Stephen Craton
41" Line 41 calls $user->login() which is the function above. What's odd is the fact the first script call works, since the session variable gets populated. If I comment out the second call, it works fine. Anyone have any ideas? Stephen Craton [EMAIL PROTECTED] IM: [EMAIL PROTECTED] ht

Re: [PHP] __PHP_Incomplete_Class Errors...

2004-10-26 Thread Curt Zirzow
* Thus wrote Stephen Craton: > I've been working on a script for a while now and it works perfectly on my > local machine. I'm using a couple of classes, mainly my database and users > classes. > > After logging in, I assign a session variable to the user's row in the > database: $_SESSION['user']

[PHP] __PHP_Incomplete_Class Errors...

2004-10-26 Thread Stephen Craton
I've been working on a script for a while now and it works perfectly on my local machine. I'm using a couple of classes, mainly my database and users classes. After logging in, I assign a session variable to the user's row in the database: $_SESSION['user'] = $db->row; This works fine locally, bu

Re: [PHP] __PHP_Incomplete_Class Object

2003-01-30 Thread Ernest E Vogelsinger
At 06:20 30.01.2003, Weston Houghton said: [snip] >I'm trying to register an object in the session, and access that object >from 2 different pages. > >I start off in the first file, and do: >include("nycmgMail.php"); >session_start(); >$myMailer = new nycmg

[PHP] __PHP_Incomplete_Class Object

2003-01-29 Thread Weston Houghton
Ok, now I'm frustrated. I'm trying to register an object in the session, and access that object from 2 different pages. I start off in the first file, and do: include("nycmgMail.php"); session_start(); $myMailer = new nycmgMail(); $myMailer->buildRecipients(); $_SESSION['myMailer'] = $myMaile