livesol Posted November 3, 2008 Posted November 3, 2008 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
FIMBLE Posted November 3, 2008 Posted November 3, 2008 Try this gr http://www.oscommerce.com/forums/index.php?showtopic=293138 Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
livesol Posted November 3, 2008 Author Posted November 3, 2008 Try this gr http://www.oscommerce.com/forums/index.php?showtopic=293138 Nic Thanks Nic, I will look at this should my current fix fail. My current fix was to clear my cache for my browser. It now works :D So, clear cache - error goes away. GR
Recommended Posts
Archived
This topic is now archived and is closed to further replies.