Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problem with Admin


Recommended Posts

Hi Guys,


I have setup an apache server with php and mysql on my PC for testing and the site works exactly as it does when online except for the admin section. I get this error


Fatal error: Cannot re-assign $this in C:\apachefriends\xampp\htdocs\catalog\admin\includes\classes\upload.php on line 31


Has anybody else had this problem?


If so, how can it be fixed?





Link to comment
Share on other sites

If you had used the Search feature you would have found the answer in seconds. Go to upload.php, find where it says $this, and change to //$this


XAMPP uses php5, and this came out after osCommerce, so this change needs to be made to make osCommerce work with it.



Link to comment
Share on other sites


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

  • Create New...