Engkus Kusnadi Posted March 21, 2011 Share Posted March 21, 2011 i have error syntax ManufacturerFatal error: Uncaught exception 'SmartyException' with message '{php} is deprecated, set allow_php_tag = true to enable' in C:\xampp\htdocs\prestashop\tools\smarty\plugins\block.php.php:21 Stack trace: #0 C:\xampp\htdocs\prestashop\tools\smarty\compile\e8e8b6d5d906d483c9d2b82a472696de5548c07c.file.extramanufacturer.tpl.php(26): smarty_block_php(Array, NULL, Object(Smarty_Internal_Template), true) #1 C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(433): include('C:\xampp\htdocs...') #2 C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(568): Smarty_Internal_Template->renderTemplate() #3 C:\xampp\htdocs\prestashop\tools\smarty\Smarty.class.php(339): Smarty_Internal_Template->getRenderedTemplate() #4 C:\xampp\htdocs\prestashop\classes\Module.php(823): Smarty->fetch('C:\xampp\htdocs...', NULL, NULL) #5 C:\xampp\htdocs\prestashop\modules\extramanufacturer\extramanufacturer.php(170): ModuleCore::display('C:\xampp\htdocs...', 'extramanufactur...') #6 [internal function in C:\xampp\htdocs\prestashop\tools\smarty\plugins\block.php.php on line 21and my script manufacturer.php function hookExtraLeft($params) { global $smarty; $mn = Configuration::get('EXTRAMANUFACTURER_MN'); $mi = Configuration::get('EXTRAMANUFACTURER_MI'); $sn = Configuration::get('EXTRAMANUFACTURER_SN'); $si = Configuration::get('EXTRAMANUFACTURER_SI'); $id_product = intval(Tools::getValue('id_product')); $product2 = new Product($id_product, true, intval($cookie->id_lang)); $smarty->assign(array( 'mn' => $mn, 'mi' => $mi, 'sn' => $sn, 'si' => $si, 'product2' => $product2 )); return $this->display(__FILE__, 'extramanufacturer.tpl'); }do you know that this problem ?? Link to comment Share on other sites More sharing options...
Artizzz Posted March 21, 2011 Share Posted March 21, 2011 same thing for me! interested for solution too. Link to comment Share on other sites More sharing options...
shacker Posted April 16, 2011 Share Posted April 16, 2011 Hi. I updated the module so now works on 1.4 and add better code Link to comment Share on other sites More sharing options...
zzprogrammers Posted May 8, 2017 Share Posted May 8, 2017 You can update your shop like in my case here I use 1.6 and it works perfectly for me Link to comment Share on other sites More sharing options...
selectshop.at Posted May 8, 2017 Share Posted May 8, 2017 You can update your shop like in my case here I use 1.6 and it works perfectly for me The initial question was for Prestashop 1.4., you are using 1.6. Versions are complete different in architecture. Modules working in PS 1.4. will not work in PS 1.6. 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