Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error


altereco

Recommended Posts

Posted

Hi, this is my first post and I am pretty novice so any help is really appreciated.

 

I was trying to change the "specials.php" tab in my store, to a page without any products and just some general information (text). As I said, I am pretty novice and I messed something up pretty bad because I got this message when I tried to view some changes I made in my browser:

 

fatal error: Call to a member function add_current_page() on a non-object in /home/includes/application_top.php on line 320

 

what do I need to do to correct this? I made a back up of the specials.php file before I made any changes and then I deleted the modified specials.php that I made and just used the back up, but this message still appears and now it says this error for any page I try to get to!

 

Thanks in advance!

Posted

Follow 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 >

Posted

Wow, that was not nearly as bad as I thought! Thanks a lot!

 

but now when I am trying to get into that specials.php page this string of messages appears on the page:

 

Warning: include(template.inc) [function.include]: failed to open stream: No such file or directory in /home/gogett9/public_html/go/osc/includes/languages/english/specials.php on line 13

 

Warning: include(template.inc) [function.include]: failed to open stream: No such file or directory in /home/gogett9/public_html/go/osc/includes/languages/english/specials.php on line 13

 

Warning: include() [function.include]: Failed opening 'template.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gogett9/public_html/go/osc/includes/languages/english/specials.php on line 13

 

Fatal error: Class 'Template' not found in /home/gogett9/public_html/go/osc/includes/languages/english/specials.php on line 14

Archived

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

×
×
  • Create New...