m_passe Posted November 28, 2013 Share Posted November 28, 2013 hi everybody, i followed every tutorial on this subject, still i wasn't able to deactivate smarty cache on my ps installation (1.49) .... so now i'm totally unable to edit .tpl files... here's the list of things i tried to do to fix the issue: 1. from BO i set performance/force compile 2. i deleted via FTP client every files in tools/smarty/cache (but index.php) and tools/smarty/compile (but index.php) 3.i obviously deletetd my browser cache (using google chrome) = no way to see changes after modifying some .tpl files (of my /mytheme folder) after all this i even tried: 4. using phpMyadmin, on table ps_configuration i set '0' for PS_SMARTY_CACHE 5. edited config/smarty.config.inc.php define('_PS_SMARTY_DIR_', _PS_TOOL_DIR_.(_PS_FORCE_SMARTY_2_ ? 'smarty_v2' : 'smarty').'/'); require_once(_PS_SMARTY_DIR_.'Smarty.class.php'); global $smarty; $smarty = new Smarty(); $smarty->template_dir = _PS_THEME_DIR_.'tpl'; $smarty->compile_dir = _PS_SMARTY_DIR_.'compile'; $smarty->cache_dir = _PS_SMARTY_DIR_.'cache'; $smarty->config_dir = _PS_SMARTY_DIR_.'configs'; $smarty->caching = false; //$smarty->force_compile = (bool)Configuration::get('PS_SMARTY_FORCE_COMPILE'); $smarty->force_compile = true; $smarty->compile_check = true; $smarty->debugging = false; $smarty->debugging_ctrl = 'URL'; /* 'NONE' on production */ so caching = false and commented out $smarty->force_compile =... to make sure the value was 'true', as i set on line 40 6. checked folder tools/smarty_v2/ but it seems it's not active .... so now i really don't know what to do.. after points 1 to 6 i still get tools/smarty/cache and tools/smarty/compile generating cache files... how can it be? i'll really appreciate your help and support in this issue.... thank you Link to comment Share on other sites More sharing options...
m_passe Posted December 2, 2013 Author Share Posted December 2, 2013 no ideas? please i need support for this... Link to comment Share on other sites More sharing options...
Dh42 Posted December 2, 2013 Share Posted December 2, 2013 You can delete all of the files in the tools/smarty/compile directory. Link to comment Share on other sites More sharing options...
m_passe Posted December 2, 2013 Author Share Posted December 2, 2013 On 12/2/2013 at 9:37 AM, Dh42 said: You can delete all of the files in the tools/smarty/compile directory. i already did, and first i set 'force compilation' to yes, but it seems that tools/smarty/compile keep generating files every second, so i'm not able to see template files modifications, it takes several hours for them to have effect so i'm not able to really edit the files and try something in maintenance mode... Link to comment Share on other sites More sharing options...
Recommended Posts