musicmaster Posted July 29, 2013 Share Posted July 29, 2013 Using PS 1.5.4.1 I have some problems with switching off caching. I am experimenting with my theme and had stored a backup of my theme directory. When I switched back to this backup I get an error from which it seems very hard to escape. In the discarded version I had used a file product-list2.tpl and now I get the Smarty error Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'C:\xampp\htdocs\_uptest/themes/cakeshop/./product-list2.tpl' in 'C:\xampp\htdocs\_uptest/themes/cakeshop/modules/homefeatured/homefeatured.tpl'' in C:\xampp\htdocs\_uptest\tools\smarty\sysplugins\smarty_internal_templatebase.php:127 Stack trace: #0 I tried in the performance menu to switch to "force compile" but that doesn't work. As soon as I have pushed the Save button the radio button switch back to "recompile when files have changed". When I do a text search for "product-list2" I see it is still in the cache in files like C:\xampp\host\_test\cache\smarty\compile\0a\9f\30\0a9f30d03cbac0952575910ea83c20dcfc17ff39.file.homefeatured.tpl.php I am wondering whether I should empty this cache directory with all its subdirectories. Link to comment Share on other sites More sharing options...
tdr170 Posted July 29, 2013 Share Posted July 29, 2013 Yes delete all files from the cache and compile folder with the exception of any index.php. cache/smarty/cache & compile Link to comment Share on other sites More sharing options...
Recommended Posts