Guest Posted July 17, 2008 Share Posted July 17, 2008 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 More sharing options...
spooks Posted July 17, 2008 Share Posted July 17, 2008 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 More sharing options...
Guest Posted July 17, 2008 Share Posted July 17, 2008 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 Thanks for your help, but i'm still getting that error after doing the changes Andrew Link to comment Share on other sites More sharing options...
spooks Posted July 17, 2008 Share Posted July 17, 2008 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 More sharing options...
villageweb Posted July 21, 2008 Share Posted July 21, 2008 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 More sharing options...
villageweb Posted July 21, 2008 Share Posted July 21, 2008 Okay, now I'm really embarrased, uploaded the wrong file. Site is now working properly. Thanks! Susan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.