#23315 [Opn->Bgs]: Array of Objects in Session produces an 'PHP_Incomplete_Class Object'
| From: | alan_k@php.net | Date: | Wed, 23 Apr 2003 14:39:40 +0000 |
| Subject: | #23315 [Opn->Bgs]: Array of Objects in Session produces an 'PHP_Incomplete_Class Object' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38214@lists.php.net to get a copy of this message | ||
ID: 23315
Updated by: alan_k@php.net
Reported By: asnagy at syr dot edu
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Redhat 7.2
PHP Version: 4.3.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
you need to make sure that all the classes reference by the session
object are loaded before you call session start.
Previous Comments:
------------------------------------------------------------------------
[2003-04-23 09:35:31] asnagy at syr dot edu
I am keeping an array of objects in my session array. This does not
work as it creates an Incomplete Object, here is an example, as you can
see in the object within the 'survey' array is an 'Incomplete Object'.
Array
(
[session_objects] => Array
(
[member] => member Object
(
[_DB_DataObject_version] => 1.0
[__table] => member
[N] => 1
[_database_dsn] =>
[_database_dsn_md5] =>
fd3a974639bb48378f4778bebb95e22e
[_database] => chinwag
[_condition] => WHERE id =
'1e7211819204a4905f5b1aba09b127b3'
[_group_by] =>
[_order_by] =>
[_limit] =>
[_data_select] => *
[_DB_resultid] => 3
[_link_loaded] =>
[_join] =>
[_lastError] =>
[id] => 1e7211819204a4905f5b1aba09b127b3
[username] => asnagy
[first_name] => Andrew
[last_name] => Nagy
[last_login] => 2003-04-23 10:05:16
[old_login] => 2003-04-23 09:19:31
)
[survey] => Array
(
[survey] => __PHP_Incomplete_Class Object
(
[__PHP_Incomplete_Class_Name] => survey
[_DB_DataObject_version] => 1.0
[__table] => survey
[N] => 1
[_database_dsn] =>
[_database_dsn_md5] =>
fd3a974639bb48378f4778bebb95e22e
[_database] => chinwag
[_condition] =>
[_group_by] =>
[_order_by] =>
[_limit] =>
[_data_select] => *
[_DB_resultid] => 5
[_link_loaded] =>
[_join] =>
[_lastError] =>
[id] => 95c58f49823e0e4334e8827b8059140d
[stamp] => 2003-04-18 16:05:09
[title] => Test 2
[category] => aksldjflkas djfl
[description] =>
[startdate] =>
[enddate] =>
[published] => f
)
)
)
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23315&edit=1