Guest Posted July 24, 2005 Share Posted July 24, 2005 The catalog works just great but when i try to enter the admin directory im getting the following error: Fatal error: Cannot re-assign $this in /usr/home/web/web69407/admin/includes/classes/upload.php on line 31 I have tried to cmod the file and directory to 777 but with no luck :( Link to comment Share on other sites More sharing options...
OceanRanch Posted July 24, 2005 Share Posted July 24, 2005 Edit line 31 in /usr/home/web/web69407/admin/includes/classes/upload.php and change it to //$this = null; It's a php5 issue that doesn't allow for setting $this to anything. Tom Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2005 Share Posted July 24, 2005 linie 31 Its by default set to $this = null; // self destruct $this = null; return false; } So ? :( Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2005 Share Posted July 24, 2005 linie 31 Its by default set to $this = null; // self destruct $this = null; return false; } So ? :( <{POST_SNAPBACK}> Tom asked you to comment it out, hence the // Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2005 Share Posted July 24, 2005 Thx It worked .. by the way thx for the quick respons! Link to comment Share on other sites More sharing options...
khokolate Posted July 25, 2005 Share Posted July 25, 2005 This was helpfull but hard to find if I didnt know that is was a php5 version conflict that cause the issue in the script. Link to comment Share on other sites More sharing options...
GsmCorner Posted July 26, 2005 Share Posted July 26, 2005 Edit line 31 in /usr/home/web/web69407/admin/includes/classes/upload.php and change it to //$this = null; It's a php5 issue that doesn't allow for setting $this to anything. Tom <{POST_SNAPBACK}> Thanks, sorted it for me also. regards Tom Link to comment Share on other sites More sharing options...
Guest Posted July 26, 2005 Share Posted July 26, 2005 Yes im sure alot of people had the same error so guess u have helped alot of people. Thx again Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2005 Share Posted July 27, 2005 the prerequisites for osCommerce are posted and it states clearly that it is not compatible with PHP5, that in itself should be enough to let people know there could potentially be other problems. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.