killerfrog Posted January 2, 2005 Posted January 2, 2005 Hello everyone, I'm getting a bug when instaling OSCommerce 2.2 MS2 Here is my configuration : Windows XP pro. My server is apache from apachefriends (http://www.apachefriends.org/en/xampp-windows.html) My webserer runs without any problem (Phpbb2 works, Squiremail works etc) but it Have set it up on port 8080 cause my ISP blocks port 80. Here is the bug: I've installed OSCommerce and got no error. At the end of installation if I goes to catalog it works (it ask me to delete install folder and put read only to configure.php but it works) But when I try to go to admin i receive this error : "Fatal error: Cannot re-assign $this in C:\apachefriends\xampp\htdocs\dany\catalog\admin\includes\classes\upload.php on line 31" I looked on boards and on the net, but found no way to solve this problem. Does someone could help me with this issue please? Thx
Guest Posted January 2, 2005 Posted January 2, 2005 copied this from another post. Thought you might have php5 PHP5 does not allow you to assign values to the reserved variable $this. Comment out line 31 //$this = null; and things will work without any ill affects. Not sure which file, but, hey... :) Must be the php.ini ??? heres a link to the search http://www.oscommerce.com/forums/index.php?act...26%23036%3Bthis TJ
killerfrog Posted January 3, 2005 Author Posted January 3, 2005 I Went to C:\apachefriends\xampp\htdocs\dany\shop\admin\includes\classes and modified line 31 to comment and everything now seems to work. Thank for help
Recommended Posts
Archived
This topic is now archived and is closed to further replies.