Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot re-assign $this


gammada

Recommended Posts

Hey there,

 

Just finished installing a test store on my computer (winxp pro sp1, wamp server 5) but whenever I click on the 'Administration Tool' button I get the following error:

 

Fatal error: Cannot re-assign $this in c:\wamp\www\public_html\catalog\admin\includes\classes\upload.php on line 31

 

Any ideas as to what is going on with this?

 

Thanks in advance!

Link to comment
Share on other sites

Many threads cover this topic. :)

 

Second post searching for "Cannot re-assign $this"

shows you this as a reply

 

 

admin/includes/classes/upload.php on line 31

 

edit:

 

$this = null;

 

to this:

 

unset($this);

Wendy James

 

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

Link to comment
Share on other sites

Hi Wendy,

 

Thanks a million, seems to be working pefectly just now!

 

Best regards

 

Many threads cover this topic. :)

 

Second post searching for "Cannot re-assign $this"

shows you this as a reply

admin/includes/classes/upload.php on line 31

 

edit:

 

$this = null;

 

to this:

 

unset($this);

Link to comment
Share on other sites

  • 3 years later...

Archived

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

×
×
  • Create New...