Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal errors occuring randomly!


surgevel

Recommended Posts

Posted

I just started getting this error randomly!!!!

 

Everything was running smoothly. I decided to update the privacy.php file, and upon submit the changes the site starts giving me this error on every page:

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

So I went to line 312 and it read:

$navigation->add_current_page();

 

So I tried just commenting out that line since I have no idea what to do right now and that allowed me to view all the products and pages. But then any time I try to checkout (just testing it) or check my account I get:

Fatal error: Call to a member function set_snapshot() on a non-object in /computers/store/checkout_shipping.php on line 18

and

Fatal error: Call to a member function set_snapshot() on a non-object in /computers/store/account.php on line 16

 

I tried reverting the privacy page back to it's default message, but that didn't help.

 

--------------------

Ok did some more testing.. If you have a user account already, it will let you login and then no errors happen. (you can only login at the home page, though, as the checkout error comes before it lets you login).

Posted

MY POSTS here:

 

Click Me

 

contain links to temporary and permanant solutions.

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 >

Archived

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

×
×
  • Create New...