Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cannot change template


armangs

Recommended Posts

Posted

when i want to change my web to new template, my web cannot to open..

error fo my website

 

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

 

Anyone know what causes this, ie what I need to do to fix it?

 

my website http://www.rahsiaintim.com/oscom

Posted

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

 

edit:

 

$this = null;

 

to this:

 

unset($this);

 

Plus 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.

Posted

in /home/rahsiain/public_html/oscom/includes/header.php on line 62

 

 

You've had this problem as the template contains outdated code, 1 reason not to use templates, unless you know the code version used to creat it.

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.

Archived

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

×
×
  • Create New...