Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem accessing admin section


i2yan

Recommended Posts

Recently i moved servers and had to relocate my store, so i uploaded everything and added the sql backups from the previous server. i had to make a few changes to the configure file, such as db name, username, password etc, and i got the main page working. But now im having problems getting into the admin section.

whenever i goto /admin i get this error:

 

 

Fatal error: Cannot re-assign $this in /home/quinlon/public_html/shop/admin/includes/classes/upload.php on line 31

 

can someone please tell me how i'd go about fixing this problem?

Link to comment
Share on other sites

Your new server has PHP5 installed so you are seeing this error with your older version of osC. To fix this problem and others you may start getting, check this link:

 

http://www.oscommerce.com/ext/update-20051113.html

 

I would backup any file I was going to change first though......just in case! ;)

 

Incidentally, there is a newer update, available from here but I've seen one or two issues using it so a read up on the forums is a good idea.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...