biscuit Posted December 4, 2009 Share Posted December 4, 2009 Hello,I am helping a friend debug some functions in the Admin tabs. So i have zero experience with Smarty or Prestashop. I want to clear all caches to see if that's why my debugging class is not writing to my custom log. I've googled, and searched these forums, but i have yet to find the command line or backend way of clearing the cache. Can someone tell me how, or point me to a tutorial? Francais ou Anglais, peu importe.Thanks,LeighBiscuit Link to comment Share on other sites More sharing options...
mr_rem Posted December 5, 2009 Share Posted December 5, 2009 Watch this 3D, there is a module that could help you.bye Link to comment Share on other sites More sharing options...
biscuit Posted December 5, 2009 Author Share Posted December 5, 2009 Merci, Ca a l'air bien, mais ce n'est pas mon installation, et je ne veux que vider le cache pour faire un petit debug. Il n'y a pas un moyen de vider les cache manuellement? J'ai pas envie d'aller jusqu'à l'installation d'un module custom pour faire ca!Thanks, but it's not my prestashop install, and i just want to clear the cache once for diagnostic purposes. Isn't there a way of emptying the cache easily from the command line? I traced the $cache_dir variable to tools/smarty/cache, and there is an index.php file inside. Anyone have any ideas what I would erase?All the best, Leigh Link to comment Share on other sites More sharing options...
Astro Online Posted December 14, 2009 Share Posted December 14, 2009 SOLVED: I emptied "/tools/smarty/compile" DIR to flush cache 1 Link to comment Share on other sites More sharing options...
biscuit Posted December 15, 2009 Author Share Posted December 15, 2009 Thanks! Great tip. SOLVED. Link to comment Share on other sites More sharing options...
alocin Posted March 18, 2011 Share Posted March 18, 2011 Works for version 1.4.x too. Thank you! Disabling the cache from the Back Office is not enough. Link to comment Share on other sites More sharing options...
mash Posted April 5, 2011 Share Posted April 5, 2011 hi - i am just started with prestashop. so my first steps hase been to figure out how the template strukture works. for example i put some headlines in header.tpl but nothing happened. after cleaning the cache in this direction (mentioned above) the headline apeared. my question at these point is there a module which clean up the cache automaticaly or is there a method where some extra lines would help to clear the cache - i think cleaning up the folder every time i did a change is not a good way to develop a template or its functionality. (any help? eg. mydomain.com/shop/?flush=1)sorry for my bad english i am working on it.thank you the_mashps. as i see there are this lines in the index.php -> this looks gerate but it dosent work. why?header("Cache-Control: no-store, no-cache, must-revalidate");header("Cache-Control: post-check=0, pre-check=0", false);header("Pragma: no-cache"); Link to comment Share on other sites More sharing options...
alocin Posted April 5, 2011 Share Posted April 5, 2011 Mash,the first step is to clear the cache then to avoid keeping on deleting you can force the Smarty re-compilation and set to no the use of the cache in Preferences >> Performance.Nicola 2 Link to comment Share on other sites More sharing options...
UKJamie Posted April 25, 2011 Share Posted April 25, 2011 SOLVED:Thank you so much for the pointer, I did not use the mod but went preferences/force compile to clear it. Works a treat now Link to comment Share on other sites More sharing options...
barefoot Posted September 12, 2012 Share Posted September 12, 2012 I also had to delete the contents of "tools/smarty/cache" to see the effects Link to comment Share on other sites More sharing options...
OndraP Posted April 13, 2013 Share Posted April 13, 2013 After performing migration to PrestaShop 1.5 you may face the issue of irrelevant data storefront due to old cached information. To clear PrestaShop 1.5 cached data, delete the content of the following folders: cache/smarty/compile cache/smarty/cache img/ tmp Clear all data in the folders, except index.php Reload your website in browser to take a look at the changes you have made. http://www.shopping-cart-migration.com/faq/16-prestashop/67-how-to-clear-cache-after-prestashop-15-migration- Link to comment Share on other sites More sharing options...
nimasonline Posted April 29, 2013 Share Posted April 29, 2013 Hi to all, I have a bit of a strange issue - and I am suspecting the cache, yet I cleared all cache in the smarty folder and the problem remains the same. It occurs only in the Back office. In short - If I write down something and later try to replace it with something else the new information does not show up in the BO, yet in the front office it showsexactly as it should. For example: I created a category Baby bibs, but I mistyped "Babay" instead of "Baby". Of course I made the correction and in the front office it shows as it should but in BO it still shows "Babay". Same thing with the attibutes.It is not vital but is annoying. Upgraded to 1.5.4 Link to comment Share on other sites More sharing options...
prestacro Posted October 22, 2013 Share Posted October 22, 2013 Hi. Not sure that's the problem but try to correct name of category in all languages. When you save new category name it will be copied under other languages too. But if you try to change it, it will affect only selected language. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now