Guest Posted February 10, 2008 Share Posted February 10, 2008 Ok... i fixed my line 17 error according to what was in the previous post... but then I get this... Fatal error: Call to a member function add_current_page() on a non-object in /home/babydood/public_html/catalog/includes/application_top.php on line 312 I don't even know where to start... :'( Link to comment Share on other sites More sharing options...
germ Posted February 10, 2008 Share Posted February 10, 2008 Does your code in that area look like this: // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); And on about line 125, do you have this code: // include navigation history class require(DIR_WS_CLASSES . 'navigation_history.php'); :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2008 Share Posted February 10, 2008 Does your code in that area look like this: // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); And on about line 125, do you have this code: // include navigation history class require(DIR_WS_CLASSES . 'navigation_history.php'); :unsure: Is this going to be in the file it's saying is broken? or in the index.php in my language file? Link to comment Share on other sites More sharing options...
germ Posted February 10, 2008 Share Posted February 10, 2008 My bad... :blush: In: /catalog/includes/application_top.php If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2008 Share Posted February 10, 2008 My bad... :blush: In: /catalog/includes/application_top.php Yep... this is it... // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); and // include navigation history class require(DIR_WS_CLASSES . 'navigation_history.php'); Link to comment Share on other sites More sharing options...
germ Posted February 10, 2008 Share Posted February 10, 2008 Similar problem/fix: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2008 Share Posted February 10, 2008 Thank You! :lol: Link to comment Share on other sites More sharing options...
chaithanya Posted December 15, 2008 Share Posted December 15, 2008 i have a problem can anyone help me: Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 311296 bytes) in /clientdata/n5200-2-dynamic/b/u/mysite.com/www/test/includes/application_top.php on line 413 Link to comment Share on other sites More sharing options...
eyal_barouk Posted May 26, 2009 Share Posted May 26, 2009 Similar problem/fix: Click Me Nice one! problem fixed. BTW: If you still see the error after the fix, I would suggest deleting your sites cookies - It just happened to me. Eyal How About an Open Source Car? Link to comment Share on other sites More sharing options...
apurba4u Posted June 8, 2009 Share Posted June 8, 2009 BUG FIX (IE6) Fatal error: Call to a member function add_current_page() on a non-object in catalog/includes/application_top.php FInd this code in application_top.php // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); Change it TO..........................this // navigation history by apurba 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(); Thanks.......... Link to comment Share on other sites More sharing options...
iggsy Posted December 12, 2009 Share Posted December 12, 2009 tnx Link to comment Share on other sites More sharing options...
not Posted July 11, 2012 Share Posted July 11, 2012 BIG THANKS! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.