Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!


bobrobert

Recommended Posts

Posted

This is the error message I get when I click "online cataloge" from admin. Is was working fine yesterday afternoon and I don't think I have done anything since then.

 

Fatal error: Call to a member function add_current_page() on a non-object in /home/bahama6/public_html/onlinestore/includes/application_top.php on line 312

 

Any help with this would be appreciated. Sorry I'm a noob.

 

Robin

Posted

do the search on the forum.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

This happens when Navigation object is in session but code assumes sessions variables to be global.

 

Apply register globals patch.

 

if ( ($session_started == true) && (PHP_VERSION >= 4.3) && function_exists('ini_get') && (ini_get('register_globals') == false) ) {

extract($_SESSION, EXTR_OVERWRITE+EXTR_REFS);

}

 

this line will also help.

 

but needs to be placed before the error line code.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

I also get this error message and am stuck. Background info - I decided to add google analytics script to the page (dumb) and then got the message:

 

Fatal error: Call to a member function add_current_page() on a non-object in /home/content/m/7/m/m7movement/html/catalog/includes/application_top.php on line 314

 

Of course I backed up the file but when I put the old file back up I still get the message.

 

Help a noob

Archived

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

×
×
  • Create New...