Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error Problem, Please help Catalog works but browsing products does not


emontano

Recommended Posts

Hello my site has gone down. It has worked fine for months now. When I go to my catalog page everything seems to be fine, but when I click on a category from left nav or in center I get this message:

 

Fatal error: Call to a member function add_current_page() on a non-object in /home/content/l/i/m/limelite/html/catalog/includes/application_top.php on line 312

 

Here is what the code looks like in the area:

 

// 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();

 

Last line is line 312.

 

Please help, Thanks,

Eric Montano

www.LimeLiteWireless.com

Thanks,

Eric Montano

LimeLite Wireless

Link to comment
Share on other sites

Look at the links in my posts here: 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...