Jack_mcs Posted June 20, 2012 Author Share Posted June 20, 2012 Hi I have just installed http://addons.oscommerce.com/info/5851/ and the version V 3.2.8 dated 29 Jan 2012 The admin side works perfect but on the front end I get the following error Parse error: syntax error, unexpected T_CLASS in /customers/1/0/7/irhtoys.co.uk/httpd.www/includes/header_tags.php on line 299 My url is www.irhtoys.co.uk The coding below is from 299 onwards where it says the error is case (basename($_SERVER['PHP_SELF']) === FILENAME_SITEMAP.CLASS): It's because you have files in your root directory that shouldn't be there and the Header Tags is trying to make sense of them. In the above case, you have a file named sitemap.class.php but there's no such entry of FILENAME_SITEMAP.CLASS in your filenames file so it is failing. You need to remove such files from your root directory and replace the includes/header_tags.php file. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.