armangs Posted July 29, 2008 Posted July 29, 2008 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
spooks Posted July 29, 2008 Posted July 29, 2008 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.
armangs Posted July 29, 2008 Author Posted July 29, 2008 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 which file name to edit??
spooks Posted July 30, 2008 Posted July 30, 2008 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.