quierob Posted April 30, 2011 Share Posted April 30, 2011 Hello, i made a new category in my new installed prestashop and when i try to access from te site eg:http://www.quierobarato.com/httpdocs/new_presta/category.php?id_category=9it give me a lot of errores:Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/quierobarato.com/httpdocs/new_presta/themes/prestashopic/category.tpl" on line 1 "{include file=$tpl_dir./breadcrumb.tpl}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /var/www/vhosts/quierobarato.com/httpdocs/new_presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /var/www/vhosts/quierobarato.com/httpdocs/new_presta/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /var/www/vhosts/quierobarato.com/httpdocs/new_presta/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /var/www/vhosts/quierobarato.com/httpdocs/new_presta/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 /var/www/vhosts/quierobarato.com/httpdocs/new in /var/www/vhosts/quierobarato.com/httpdocs/new_presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431can sombody tell me what's the problem?thank.s Link to comment Share on other sites More sharing options...
shokinro Posted April 30, 2011 Share Posted April 30, 2011 from error message, it seems that your theme is not compatible with PrestaShop.try change this line, do the same for any the include statementFROM{include file=$tpl_dir./breadcrumb.tpl}TO{include file="$tpl_dir./breadcrumb.tpl"} Link to comment Share on other sites More sharing options...
quierob Posted May 1, 2011 Author Share Posted May 1, 2011 thanks. I changed in the backoffice from smarty 3 to smarty 2 1 Link to comment Share on other sites More sharing options...
shokinro Posted May 1, 2011 Share Posted May 1, 2011 yes, that will also solve the problem. Link to comment Share on other sites More sharing options...
clarify Posted January 2, 2012 Share Posted January 2, 2012 Hi, Can you please tell how to change from smarty 3 to smarty 2 in backoffice Link to comment Share on other sites More sharing options...
Recommended Posts