pman233 Posted February 14, 2003 Share Posted February 14, 2003 I'm not quite as manic today since I visited guide.oscdox.com, but I'm still wound pretty tight. I'm the first to admit I'm no PHP expert, but this is driving me nuts. Fatal error: Unknown(): 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 /home/pman233/www.bikermikesshop.com/docs/catalog/includes/application_top.php on line 293 Help Please?!? Link to comment Share on other sites More sharing options...
toolcrazy Posted February 14, 2003 Share Posted February 14, 2003 You might want to send your last error to your provider. Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server This is prob causing your error. Unless you have your own server and you need to do what this error says. Your prob, I think, is with sessions. Steve ------------------------- Link to comment Share on other sites More sharing options...
pman233 Posted February 14, 2003 Author Share Posted February 14, 2003 Thanks Tool Crazy. I'm on it. Link to comment Share on other sites More sharing options...
pman233 Posted February 14, 2003 Author Share Posted February 14, 2003 Tech support at my host told me to drop the line session.auto_start=0 into my .htaccess file, which promptly led to a 500 server error. What now? Link to comment Share on other sites More sharing options...
toolcrazy Posted February 14, 2003 Share Posted February 14, 2003 Did you take out the entry from your .htaccess ? I'm getting the old errors. Steve ------------------------- Link to comment Share on other sites More sharing options...
pman233 Posted February 14, 2003 Author Share Posted February 14, 2003 I have a solution brewing. Thanks again for the help. Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2003 Share Posted February 15, 2003 I can across the exact same problem some days ago. Got it working by creating a .htaccess file (placed in the 'catalog' directory) with the following line: php_value session.auto_start 0 Link to comment Share on other sites More sharing options...
pman233 Posted February 15, 2003 Author Share Posted February 15, 2003 Install - Worked like a freakin' champ. Thanks for the code. I was almost ready to bag this script out of frustration. Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2003 Share Posted February 23, 2003 I have the same problem but when I tried making a .htaccess file I get the page not found error. I dont know much about .htaccess do you need to make a file of this name and just add the 1 line php_value session.auto_start 0 :shock: Link to comment Share on other sites More sharing options...
DragonEyeDesign Posted May 1, 2004 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.