technicalmagic Posted April 8, 2011 Share Posted April 8, 2011 http://technicalmagichosting.com/gogreeddiapers/Error:Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/technica/public_html/gogreeddiapers/themes/theme086/header.tpl" on line 40 "{if "MSIE 6"|eregi:$smarty.server.HTTP_USER_AGENT or "Internet Explorer"|eregi:$smarty.server.HTTP_USER_AGENT}{include file=$tpl_dir./ie6.tpl}{/if}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/technica/public_html/gogreeddiapers/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/technica/public_html/gogreeddiapers/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/technica/public_html/gogreeddiapers/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /home/technica/public_html/gogreeddiapers/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparse in /home/technica/public_html/gogreeddiapers/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431Help please, newbieTHanks 1 Link to comment Share on other sites More sharing options...
Darkie Posted November 5, 2011 Share Posted November 5, 2011 I have the same problem Link to comment Share on other sites More sharing options...
ruidodemente Posted April 25, 2013 Share Posted April 25, 2013 same problem Link to comment Share on other sites More sharing options...
moffatt1982 Posted April 25, 2013 Share Posted April 25, 2013 i am wondering if anybody have an idea of fixing this because its been a problem with me either. Link to comment Share on other sites More sharing options...
instinct Posted September 16, 2013 Share Posted September 16, 2013 Hi.. I had the same problem, resolved it by doing the following: turn off magic_quotes_gpc and magic_quotes_runtime Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 17, 2013 Share Posted September 17, 2013 Hi.. I had the same problem, resolved it by doing the following: turn off magic_quotes_gpc and magic_quotes_runtime Thanks for the reply. Yes, magic_quotes needs to be disabled for PrestaShop to work. I'll go ahead and mark this as SOLVED. Please make sure to clear Smarty Cache as well. Link to comment Share on other sites More sharing options...
cybershopdirect Posted March 24, 2014 Share Posted March 24, 2014 I am getting ther following error anyone have a solution? Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/cybersho/public_html/modules/homeslider/views/templates/hook/header.tpl" on line 2 "{addJsDef homeslider_loop=$homeslider.loop}" unknown tag "addJsDef"' in /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(453): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ad...', 2) #1 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('addJsDef', Array) #2 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #4 /hom in /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667Has anyone a solution? I can still get into the admin page and make changes but the site doesn't come up. Link to comment Share on other sites More sharing options...
vekia Posted March 24, 2014 Share Posted March 24, 2014 hello and you also use prestashop 1.3 as author of this topic? your issue is totally different... i bet. 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