Xcart templates not updating site

June 26, 2009 6:49 pm
Published by
Leave your thoughts

If you’re working on Xcart and you find that when you make a change to a template file and it isn’t reflected on the site you might want to try this. Xcart keeps a cache of templates files in the following folder:
xcart-root/var/templates_c/
Hence you can make changes to the templates in the skin directory without seeing any changes to the site which is still being loaded from cache. To overcome this you can either navigate to this folder directly and delete the contents – or more conveniently simply navigate to:
www.your-xcart-site.com/cleanup.php
This will empty the contents of the template cache without having to mess around in ftp. Once that’s done just hit refresh on your browser and you should see the effects of your changes. Tags:

Categorised in: ,

This post was written by WillyNilly

Leave a Reply

Your email address will not be published. Required fields are marked *