ikmyer Posted April 3, 2005 Share Posted April 3, 2005 hi all, i have tried seaching for help but found nothing, I have installed OSC correctly but when i try to access the admin page i get the following error. Fatal error: Cannot re-assign $this in C:\...\...\catalog\admin\includes\classes\upload.php on line 31 Would anyone be able to provide help in fixing this issue. :( Thanks, Ikmyer Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted April 3, 2005 Share Posted April 3, 2005 Hi I just ran into the same issue with a client of mine setting up another store. according to the knowledge base on the german support site, this is an issue with PHP 5 solution is to change $this = null; to unset($this) But, I don't know if that's the only issue with PHP 5. I need to find this out as well over the coming days ... Carine KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
ikmyer Posted April 3, 2005 Author Share Posted April 3, 2005 i changed the what you had said and now i get the following: Parse error: syntax error, unexpected T_RETURN, expecting ';' in C:\...\...\...\catalog\admin\includes\classes\upload.php on line 34 any ideas? Thanks!! ikmyer Link to comment Share on other sites More sharing options...
OceanRanch Posted April 3, 2005 Share Posted April 3, 2005 unset($this) should be unset($this); HTH Tom Link to comment Share on other sites More sharing options...
ikmyer Posted April 3, 2005 Author Share Posted April 3, 2005 Sweet. Admin tool is working now. thanks to all who helped. :thumbsup: Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted April 4, 2005 Share Posted April 4, 2005 Oops sorry for missing ; Glad someone was up late at night for me :D KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.