markjl Posted August 13, 2013 Share Posted August 13, 2013 (edited) Hello I've been trying to modify my template product.tpl and to do so advised to turn on force compilation. Doing so gives server error. How can I find out what is causing that error? Thanks Edited August 13, 2013 by markjl (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 13, 2013 Share Posted August 13, 2013 what kind of server error you've got? turn on error reporting in your store, then you will see message with full error code Link to comment Share on other sites More sharing options...
markjl Posted August 14, 2013 Author Share Posted August 14, 2013 (edited) I have this server Prestashop Version: 1.4.9.0 Server information: Linux #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64 Server software Version: Apache PHP Version: 5.3.20 MySQL Version: 5.1.69 I turned on reporting by doing this and got the following error message Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/FilerWeb03/mjlvideo.fr/httpdocs/modules/ganalytics/header.tpl" on line 47 "" unclosed {if} tag' in /var/www/vhosts/FilerWeb03/mjlvideo.fr/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:656 Stack trace: #0 /var/www/vhosts/FilerWeb03/mjlvideo.fr/httpdocs/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(118): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {if} t...') #1 /var/www/vhosts/FilerWeb03/mjlvideo.fr/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile(' I thus edited the header.tpl file above on line 47 adding a {/if} and I can now force compile, thanks However this does not solve the question of the position of the description relative to J2T module Edited August 14, 2013 by markjl (see edit history) Link to comment Share on other sites More sharing options...
markjl Posted August 16, 2013 Author Share Posted August 16, 2013 Solved in effect by moving {$HOOK_PRODUCT_FOOTER} to below {$HOOK_PRODUCT_TAB_CONTENT} Thanks all including J2T developer 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