[PHP] Re: __PHP_Incomplete_Class

2005-06-29 Thread Jason Barnett
Jay Wright wrote: ... My page uses a header.php5 include file to call session_start(). Next a require_once(classloader.php5) performs the autoload. Here is the problem... you need to switch the order. Load the classes / autoloader first, then session_start(). PHP was able to serialize

[PHP] Re: __PHP_Incomplete_Class Errors...

2004-11-11 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Stephen Craton wrote: 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;

[PHP] Re: __PHP_Incomplete_Class Object

2003-01-29 Thread Philip Hallstrom
I don't see where you include() your class definition in that second file... add include(nycmgMail.php) right before the session_start() line and see if that makes a difference. -philip On Thu, 30 Jan 2003, Weston Houghton wrote: Ok, now I'm frustrated. I'm trying to register an object in