Kragen Posted January 12, 2005 Share Posted January 12, 2005 Hi, I have just installed a fresh copy of osCommerce 2.2 MS2 on localhost. My machine has Windows XP Pro with Apache 2.0.52, PHP 5.0.3RC2-dev and mySQL 4.1.7. Everything in the catalog-part works fine, but when im trying to access the admininistration i get this error-message: Fatal error: Cannot re-assign $this in E:\apachefriends\xampp\htdocs\shop2\admin\includes\classes\upload.php on line 31 I havent changed a thing, and since i installed the shop by following the "web-install steps" i guess that the error are in the admin configuration.php Does anyone have an idea of what i can do to fix this?? Link to comment Share on other sites More sharing options...
Kragen Posted January 12, 2005 Author Share Posted January 12, 2005 Solved the problem. I changed to PHP 4, and then everything worked. But still, does anyone have an idea how to make it work on php5? Link to comment Share on other sites More sharing options...
♥Vger Posted January 12, 2005 Share Posted January 12, 2005 Simple. Go to includes/classes/upload.php and on line 31 where it says $this, change it to //$this That's all you need to do. This is one of the most widely posted problems, and use of the Search facility would have saved you a lot of trouble. Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.