nelsoncomas Posted September 20, 2002 Share Posted September 20, 2002 I found the solution to my problem in the forum but does anyone know why the session auto start setting to one causes this error? Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition navigationhistory of the object you are trying to operate on was loaded _before_ the session was started in D:*******************application_top.php on line 279 Link to comment Share on other sites More sharing options...
Ian Posted September 20, 2002 Share Posted September 20, 2002 With php if you want to register an object as a session variable, then you must define the object before starting the session. If session auto start is enable then a session is started before application_top starts, hence the navigation class has not been defined, and then you get your error message. Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
nelsoncomas Posted September 20, 2002 Author Share Posted September 20, 2002 Thanks Ian, I am sure that others will have that same question. I hate just changing things and not knowing why. Cheers, Nelson Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.