Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ooopsie!


Guest

Recommended Posts

Posted

Hi guys..

 

Firstly, I've been playing about with my oscommerce for about 3 days now and this forum is awesome - a ginormous thankyou to everybody who posts here to help! You've already helped me loads.

 

My current problem - I edited something in ...languages/english/index.php and it caused an error, so I changed what I edited back to what it was (Yes, I made a copy of it before I edited - great big thanks to the folks who keep reiterating to do that - it's saved me plenty of times already.. :) ).. but the error just changed to something different:

 

 

Fatal error: Call to a member function add_current_page() on a non-object in *rest of address deleted for privacy*/includes/application_top.php on line 312

 

I reloaded the original, default index.php (that file is back to factory now).. but I'm still getting this error :(

 

I've looked at line 312 in the file that it refers to, but I can't see anything there to fix, or really how it has anything at all to do with what I edited.. What did I do wrong?

 

Little help?

Posted

Nevermind.. I fixed it. :)

 

(I have no idea how I fixed it.. I just tweaked some text.. but it worked - yay me!) </proudness>

Posted
Nevermind.. I fixed it. :)

 

(I have no idea how I fixed it.. I just tweaked some text.. but it worked - yay me!) </proudness>

 

Anytime you edit something be extremely careful to get the "grammar" correct. Real stick if a ' or ; or > is missing somewhere.

 

Again just remember before you make any change, BACKUP, BACKUP, BACKUP!!!!

 

Fred

www.21st-tees.com

Frederick C Brace,III PA-C

www.21st-tees.com (osc)

www.tanda-designs.com (osc)

Posted

Glad you sorted it but also be warned, a lot of the filenames are similar and belong under different folders. I have accidentally amended and uplaoded the wrong english.php file before.

Debbie Harrison

 

Archived

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

×
×
  • Create New...