Jump to content

header.tpl error, need help fast


Recommended Posts

Hi I recently did a fresh install of my site in 1.4 and installed a theme from template monster, the theme was made for 1.3 and I didn't find that out till now. So basically now I get a blank page and after turning on the displayerrors I get this;

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/user12/public_html/mysite.com/themes/theme062/header.tpl" on line 41 "{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/user12/public_html/mysite.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/user12/public_html/mysite.com/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/user12/public_html/mysite.com/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /home/user12/public_html/mysite.com/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, in /home/user12/public_html/mysite.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431


How can I fix this/make this theme run on 1.4?
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...