Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Admin panel error :S


Recommended Posts



I have installed osc on my server...the shop works fine... ...but my admin panel doesn't work...


I have recived an error:


Fatal error: Cannot re-assign $this in /opt/lampp/htdocs/shop/admin/includes/classes/upload.php on line 31


What shal I do...


Pleas help...

Link to comment
Share on other sites

Had you done a search for "Cannot re-assign $this"


You would have found this answer. :)


Comment out line 31 in




//$this = null;



So, look to see exactly which page you are recieving the error on, then see if you can find the line with $this in it.

Wendy James


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

TnX it works now :D I just add // befor the line $this = null; :D so this is a coment now :D but it works....


What about password protect for admin folder... what must I write in .htaccsess


TnX agan!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...