Jump to content

Activer {Php} Et {Include} Sous Prestashop 1.5.0.17


Recommended Posts

Bonjour à tous,

 

Je souhaite activer {PHP} et {include} sur mon prestashop car je souhaite faire un include dans une page TPL. J'ai actuellement un message d'erreur :

 

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "product-list.tpl" on line 39 "{include file=$base_dir./test_prix.php}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 Stack trace: #0 tools/smarty/sysplugins/smarty_internal_templateparser.php(3154): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 tools/smarty/sysplugins/smarty_internal_templateparser.php(3219): Smarty_Internal_Templateparser->yy_syntax_error(39, '/') #2 tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(39, '/') #3 tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(171): Smarty_Internal_SmartyTemplateCompiler->doCompile(' in tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 627

 

Pouvez-vous m'indiquer la bonne direction svp ?

 

Merci d'avance !!!!!!

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...