vertmonkee Posted February 20, 2006 Posted February 20, 2006 I have just installed PHP 5, previously using version 4. I clicked on my admin section and get the following message Fatal error: Cannot re-assign $this in C:\Program Files\Apache Group\Apache2\htdocs\website\catalog\admin\includes\classes\upload.php on line 31 It is the "else" section of a statement and is trying to assign "null". If i comment out the line it seems to work but I haven't really tested out everything. Can anyone shed some light on it as i would prefer not to comment it out for obvious reasons. Thanks all
user99999999 Posted February 20, 2006 Posted February 20, 2006 Comment/remove that line its not needed. Check the update http://www.oscommerce.com/forums/index.php?showtopic=180289
Guest Posted February 21, 2006 Posted February 21, 2006 Or find this code at line 31 of catalog/admin/includes/classes/upload.php $this = null; change to unset($this); and you're done
Guest Posted February 21, 2006 Posted February 21, 2006 Or find this code at line 31 of catalog/admin/includes/classes/upload.php $this = null; change to unset($this); and you're done That has no effect with php5
Recommended Posts
Archived
This topic is now archived and is closed to further replies.