Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error with application_top


livesol

Recommended Posts

Hi All,

 

Very odd problem I have suddenly got.

 

I am reworking an OScommerce installation and am playing around with the infoboxes at the moment.

 

The new shop was all working fine, running without any problems at all.

 

I was going to play with the images in the top of the infoboxes and had the /includes/classes/boxes.php open

 

I made a change in here by commenting out a few lines of code to see what would happen. I uploaded boxes.php and got an error when I went to the site.

 

OK, I thought, that does not work, removed the // from the lines I had comented out - and reuploaded the boxes.php file.

 

So, the file uploaded is exactly the same as was there before I commented out 2 lines of code.

 

But - I am now getting the following error when I visit the site...

 

Fatal error: Call to a member function add_current_page() on a non-object in /***/***/***/***/catalog/includes/application_top.php on line 312

 

Line 312 of the application_top.php file is

 

$navigation->add_current_page();

 

How on earth has this happened and what do I need to do to fix it?

 

Many thanks for any help received.

 

Livesol

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...