NemoPS Posted May 7, 2011 Share Posted May 7, 2011 Hey there guys,It's 2 days i'm wondering why the force compile option in presta 1.4.1 doesn't work for me. Whenever i edit a tpl file, i have to manually delete all files in the "compile" folder, otherwise modifications won't show up. Anybody facing the same issue?Thanks in advance Link to comment Share on other sites More sharing options...
shokinro Posted May 7, 2011 Share Posted May 7, 2011 Did you mean you have set "Force Compile" at back office at following location?Preference tabPerformance sub tabIt is weird if you have set it correctly.Try to set to off , save and then set to on and save again. Link to comment Share on other sites More sharing options...
NemoPS Posted May 7, 2011 Author Share Posted May 7, 2011 Yep, that's what i did. Sometimes works, but most times not Link to comment Share on other sites More sharing options...
shokinro Posted May 7, 2011 Share Posted May 7, 2011 Sometimes works, but most times not in that case, it could your browser's cache. next time, try to clear your browser cache see if it changes Link to comment Share on other sites More sharing options...
NemoPS Posted May 7, 2011 Author Share Posted May 7, 2011 Ok, now i'm dumb, that's what it was. Strange though, had same issue with safari, firefox, ie and chrome. Thanks pal Link to comment Share on other sites More sharing options...
Raphael2010 Posted May 13, 2011 Share Posted May 13, 2011 i have a trouble as well with force compile with prestashop 1.4.1if i say yes to force compile, my website is blank page, but if i select no, my website is back to normal. any idea what the problem might be? thanks!EDIT i've found out, just a bad tpl, i replaced it, now it's working fine. Link to comment Share on other sites More sharing options...
shokinro Posted May 13, 2011 Share Posted May 13, 2011 I am glad you figured it out by yourself and thanks for you feedback. if i say yes to force compile, my website is blank page, but if i select no, my website is back to normal. any idea what the problem might be? thanks! Just for your reference.Basically it means that there are some error occurs and it only uses old cached page. You can turn on display_errors in /config/config.inc.php, it will give you some clue to fix your problem. Link to comment Share on other sites More sharing options...
Raphael2010 Posted May 15, 2011 Share Posted May 15, 2011 thanks a lot for the hint! it took me a while to find out which tpl was bad. your hint will come handy next time! Link to comment Share on other sites More sharing options...
bobaes Posted June 19, 2011 Share Posted June 19, 2011 Thanks a lot for advices. I have the same problem. After turn force compile on - i have a blank page. I turned on display_errors in config.inc.php and this is what i get :Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/data/html/capacky.sk/public_html/modules/jbx_menu/menu_tree.tpl" on line 23 "{foreach from=$item.childrens item=item name=menuTreeChildrens}" item variable 'item' may not be the same variable as at 'from'' in /home/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_compile_foreach.php(40): Smarty_Internal_TemplateCompilerBase->trigger_template_error('item variable '...', 23) #1 /home/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(284): Smarty_Internal_Compile_Foreach->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /home/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase->callTagCompiler('foreach', Ar in /home/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431I have no idea what does it mean.....Does anybody know? thank you. Link to comment Share on other sites More sharing options...
cyremia Posted May 9, 2012 Share Posted May 9, 2012 I had a similar issue (i.e. When "forcing Compile", part of the page did not appear). For me it was an issue with some inline javascript we had added. It did not compile well in Smarty. I found out when I turned on the display_errors in /config/config.inc.php Removing it or using the {literal} {/literal} tags around the code fixed it. Link to comment Share on other sites More sharing options...
[email protected] Posted May 13, 2013 Share Posted May 13, 2013 OK, my display_errors is "on", and presta is not promting any of them.. Now the force compile switch is not working. Was switching on and off etc. PLEASE HELP. Tom 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