consolefx Posted August 2, 2003 Posted August 2, 2003 I just installed the script and the page /catalog/ loads but when you refresh it or click on anything else it has the following error...... Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>navigationhistory</b> of the object you are trying to operate on was loaded _before_ the session was started in /home/atech/www.webaddress.com/docs/catalog/includes/application_top.php on line 309 Does anyone know what this means? I appreciate any help!!! Thanks Tom
Guest Posted August 2, 2003 Posted August 2, 2003 I would try downloading the files again and reinstalling. Since you haven't done any modifications yet (at least I assume you haven't) this shouldn't be difficult. Also, there aren't many other explanations as to why this is happening if there are no modifications. Btw, 2.2 Milestone 2 is the current release. The CVS is a development release for testing purposes. Hth, Matt
consolefx Posted August 2, 2003 Author Posted August 2, 2003 Okay, I deleted the existing cart, downloaded 2.2 Milestone 2 and it installed successfully, but I still get the same error. The only thing I have yet to change is disable the session.auto_start. Could this be the problem?
Guest Posted August 3, 2003 Posted August 3, 2003 Hmm...I suppose it could. Why not try it? What's the worst that could happen? Good luck, Matt
DragonEyeDesign Posted May 1, 2004 Posted May 1, 2004 After wresting briefly with this problem, I found the solution. The problem is that in some configurations (at least mine), the navigation history section in "application_top.php" doesn't catch the possibility that the session "navigation" variable is registered and the PHP version running is 4 or above. I'm really not quite sure what caused this huge oversight on the part of the developers (with all due respect). Change the nagivation history chunk of code to read: // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } else { $navigation = new navigationHistory; } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); and it should work just fine.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.