Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with log in on OS control panel


ctcco1

Recommended Posts

Posted

Hello,

 

I cannot log on to the panel to get orders or update. When I go thru my username and password section it goes to a page that says "Fatal error:cannot re-assign $ this in /home/*****/public_html/admin/includes/classes/upload.php on line 31

 

Can anyone tell me what has happened? It has worked fine for two years? Thanks.....

 

Chris

Posted
Edit the upload.php from the admin/includes/classes folder with a text editor.

 

Look for this line

 

// self destruct

$this = null;

 

Change to

 

// self destruct

// $this = null;

unset($this);

This is usually the result of a server upgrade from PHP4.x to PHP5.x

Posted
This is usually the result of a server upgrade from PHP4.x to PHP5.x

 

That is what happened. And it has been fixed with your help. Thanks......

 

Chris

Archived

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

×
×
  • Create New...