|
Posted by Lόpher Cypher on 10/22/05 02:02
Hi,
I have a few classes, and I keep objects of those in session. I now got
an error saying that I am trying to access a method of an incomplete
object. Just can't figure it out now - anyone has ideas? The inclusion
hierarchy is as follows:
index.php -> class Page, starts session, in constructor inits database
access as object of class DB
class Page -> includes class Form_Register, inherited from class Form
class Form_Register tries to access database via object of DB, at which
point I get an error that it is incomplete (DB is stored in session as well)
Any ideas? I tried to close the browser (destrot session) and reopen it,
but it's still the same..
Thank you,
LΓΌph
Navigation:
[Reply to this message]
|