Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot re-assign $this in /home/users


RoughBoy

Recommended Posts

Posted

During entering administration panel such error occours : Fatal error: Cannot re-assign $this in /home/users/www/ocean/www/admin/includes/classes/upload.php on line 31.

Is thah some kind of SQL error ?

What is going on ? The rest runs correctly...

Thanks

Posted

:D Hey I sorta had this problem too.

 

It seems like you're using PHP5 (which isn't really supported by the osCommerce people yet to be bug free)

 

So what I did was open up "upload.php" and locate line #31.

 

it should be:

 

$this = null

 

or something similar to that. Change it to

 

unset(this)

 

then save and restart your server and it should be ok.

Posted

This has been fixed in CVS :)

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Archived

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

×
×
  • Create New...