SM-sam Posted April 21, 2006 Posted April 21, 2006 Hi I just installed osCommerce on my own server, and it all went fine. The mysql database updated and installed succesfully, and the site is online. BUT... When I try to go to the admin area /admin/index.php nothing happens. The page is left blank like the .html file does. I have PHP5 on my mashine and centOS. Is this a known problem? What am I to do.. :) More info: I run several websites on the mashine. I would be happy to get some help. Regards Samuel
kgt Posted April 21, 2006 Posted April 21, 2006 You probably have display_errors turned off in php.ini (look in /etc/php.ini). Turn it on and restart apache. Then go to your admin section. You should now be seeing a fatal error. Since you have PHP 5, it's probably going to say something like Cannot reassign $this in .../upload.php on line 31. If so, open upload.php and change line 31 from $this = null; to unset( $this ); Contributions Discount Coupon Codes Donations
SM-sam Posted April 21, 2006 Author Posted April 21, 2006 You probably have display_errors turned off in php.ini (look in /etc/php.ini). Turn it on and restart apache. Then go to your admin section. You should now be seeing a fatal error. Since you have PHP 5, it's probably going to say something like Cannot reassign $this in .../upload.php on line 31. If so, open upload.php and change line 31 from $this = null; to unset( $this ); Thanx. It worked perfectly. Do you know any other errors with PHP5 that I should be aware of?
kgt Posted April 21, 2006 Posted April 21, 2006 You might run into some small issues: http://www.google.com/search?hl=en&q=php5+...G=Google+Search In truth, you're probably also running MySQL 5, which I believe is more likely to give you some problems. It depends on how the server is configured. You shouldn't be running into any show-stopper problems though. Contributions Discount Coupon Codes Donations
JnJSpdShop Posted May 2, 2006 Posted May 2, 2006 You probably have display_errors turned off in php.ini (look in /etc/php.ini). Turn it on and restart apache. Then go to your admin section. You should now be seeing a fatal error. Since you have PHP 5, it's probably going to say something like Cannot reassign $this in .../upload.php on line 31. If so, open upload.php and change line 31 from $this = null; to unset( $this ); 2: Change in catalog/admin/includes/classes/upload.phpon line 31 change $this = null; to //$this = null; Okay what is the more correct way or doesn't it matter?? unset( $this ); or //$this = null;
Recommended Posts
Archived
This topic is now archived and is closed to further replies.