Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Restore Index.Php


Guest

Recommended Posts

Posted

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

 

 

This was the effect in installing a backed up file that was working,now the whole sites down,can any help with how I get this going.

Even happy to put in a completely new file with me changes to the file names.

 

Thank

 

Keith

Posted

What file do I put the code into, and at what point please

 

Also how does a file a not even working in loss the link? and why does the restore of the working file not work? Its just yes I am very new here and I look for the restore to fix the the problem.

 

Thanks Learning Keith

Posted

You don't have to change anything if you don't want to.

 

The "problem" will go away all by itself if you close your browser completely and delete all the cookies and clear the browser cache. Or wait until the sessoin expires.

 

The session is where the problem is. Not in any file and that is why uploading backups doesn't fix it.

 

The session is like a restraunt menu or football playbook the server uses to store things for each user on the website.

 

But the session only has a limited time after no activity is detected until it expires (around a half an hour I think).

 

Although changing the code so this will never happen again is probably the ultimate solution.

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