jazzcatt Posted June 2, 2007 Posted June 2, 2007 Hi Folks, brand new to osCommerce. I have a site hosted by IPowerweb, and chose to install osCommerce from their control panel. I get a verification of successful installation, and upon clicking to open the admin pages, get this error: Fatal error: Cannot re-assign $this in /home/de-signs/public_html/store/catalog/admin/includes/classes/upload.php on line 31 I spent 50 minutes on the phone with their tech support, and they couldn't figure out what the problem was. They told me they could log in successfully, but didn't know why I couldn't. They suggested the Commnunity Support Forums, so here I am. Thanks in advance for any help... Sincerely, Jack Ciarniello
Guest Posted June 2, 2007 Posted June 2, 2007 use the upload.php file from the latest osc http://www.oscommerce.com/solutions/downloads
bito Posted June 8, 2007 Posted June 8, 2007 Lines 27-34 in catalog/admin/includes/classes/upload.php must be changed from: if ( ($this->parse() == true) && ($this->save() == true) ) { return true; } else { // self destruct $this = null; return false; } to: if ( ($this->parse() == true) && ($this->save() == true) ) { return true; } else { return false; }
garb Posted June 8, 2007 Posted June 8, 2007 Thank you so much.....I had the same problem that appeared overnight. My site was working perfectly until two days ago when I started getting this error. The fix you provided solved the problem but I'd love to know why the error only just started happening?? Thanks again!!
bhanzel Posted June 9, 2007 Posted June 9, 2007 Great, I found it. The same problem I am having also loaded from Ipower.net. I will try this out. Thanks. :rolleyes:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.