Guest Posted January 17, 2006 Posted January 17, 2006 I am brand new to PHP, CGI, eCommerce, shopping carts (except in the supermarket), and just started setting up a site. osCommerce was recommended as an easy to use shopping cart solution, so I installed it per my web host's script. Unfortunately, when I try to access the admin panel, I receive this error: Fatal error: Cannot re-assign $this in /home/bonsallb/public_html/ShoppingCart/admin/includes/classes/upload.php on line 31 When I look at the upload.php file, there is no "$this" on line 31. Hmmmm........ Can anyone point me in the right direction to get past this first roadblock on my pathway to riches? Thanks! Mike
Guest Posted January 17, 2006 Posted January 17, 2006 I found the answer in vger's signature. Thanks, Vger!!!!!!!!!!!!
Guest Posted January 18, 2006 Posted January 18, 2006 I'm having this problem also. Would you mind sharing how to fix it? thanks.
Guest Posted January 18, 2006 Posted January 18, 2006 Sorry...found it: php5 compatibility problem admin/includes/classes/upload.php on line 31, edit $this = null; to this: unset($this); Vger
mnk Posted January 18, 2006 Posted January 18, 2006 Sorry...found it: php5 compatibility problem admin/includes/classes/upload.php on line 31, edit $this = null; to this: unset($this); Vger Thanks brianb! now admin panel work! :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.