Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot re-assign $this in /home/cmotion/public_html/includes/header.php on line 62


Guest

Recommended Posts

Hi,

 

Website was working perfect 8 hours ago, nothing new has been added or deleted

 

getting the error on the index page:

Fatal error: Cannot re-assign $this in /home/cmotion/public_html/includes/header.php on line 62

 

website: www.custommotion.ie

 

Any help appreciated

 

Andrew

Link to comment
Share on other sites

Sudden Cannot re-assign $this usually means your server has been upgraded to php5

 

Update your version with the required php5/mysql5 code snippets

 

http://www.oscommerce.com/community/contributions,4654

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Check your code with error, if you have

 

$this = null;

 

change to:

 

unset($this);

 

otherwise post your code, cant fix wot cant see

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I've tried to use the snippet for this error:

 

Cannot re-assign $this in /home/myClientSite/public_html/catalog/admin/includes/classes/upload.php on line 31

 

However, it hasn't helped in this case. I've looked through other contributions but don't see anything related to this.

 

Can you help?

 

:blush: Susan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...