i2yan Posted September 24, 2006 Posted September 24, 2006 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?
spax Posted September 24, 2006 Posted September 24, 2006 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.
i2yan Posted September 24, 2006 Author Posted September 24, 2006 thanks for the response and help, ive fixed the problem now and the admin sections working fine.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.