stanleyz Posted August 22, 2005 Posted August 22, 2005 Hi I tried to install os on the localhost (my laptop and php sofeware is WAMP5). The installation went well. I can see the page "127.0.0.1/catalog". However, I cannot have access to the administration page by typing "127.0.0.1/catalog/admin" in the browser. It shows the error as following: "Fatal error: Cannot re-assign $this in c:\wamp\www\catalog\admin\includes\classes\upload.php on line 31" How can fix the problem? Also, how can I transfer files to localhost and change chomod property of files using cuteftp just as if to the real server? Thanks in advance.
Wendy James Posted August 22, 2005 Posted August 22, 2005 Not sure how or why you would need to set permissions on your local machine... i thought it worked without that so can't help you there but had you done a search for "Cannot re-assign $this" you would have found php5 compatibility problem: \catalog\admin\includes\classes\upload.php on line 31 edit this: $this = null; to this: unset($this); Thanks to Vger :) Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
stanleyz Posted August 22, 2005 Author Posted August 22, 2005 Not sure how or why you would need to set permissions on your local machine... i thought it worked without that so can't help you there but had you done a search for "Cannot re-assign $this" you would have found php5 compatibility problem: \catalog\admin\includes\classes\upload.php on line 31 edit this: $this = null; to this: unset($this); Thanks to Vger :) <{POST_SNAPBACK}> yes, it works perfectly. Thanks a lot. Can I ask why it should be in this way?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.