You are here: Re: What does "PHP_Incomplete_Class" mean? « PHP Programming Language « IT news, forums, messages
Re: What does "PHP_Incomplete_Class" mean?

Posted by Shelly on 07/14/05 15:04

"elektrophyte" <elektrophyte@yahoo.com> wrote in message
news:1121341850.437588.185450@g43g2000cwa.googlegroups.com...
>I have a class "Form" that I instantiate then put in the SESSION in
> order to use it on another page. When I get to the new page, I can't
> access any of the fields of the class because they're all NULL. The
> weird thing is, in my debugger $_SESSION['myFormInstance'] shows as
> having fields not null -- they are filled with the appropriate values.
> But when I do
>
> $foo = $_SESSION['myFormInstance'];
>
> then
>
> $foo->someField is NULL.
>
> Also, in the listing of SESSION variables in the debugger, under "Type"
> myFormInstance has a type of "object(__PHP_Incomplete_Class)".
>
> Any insight into this would be greatly appreciated.
>
> Thanks,
>
> E
>

OK, I'll ask the obvious: Do you have session_start() right at the top?

Shelly

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация