sadnic Posted August 18, 2016 Share Posted August 18, 2016 (edited) Hi,so I changed 2 lines in '..\config\smarty.config.inc.php' file and now I get these errors.(I didn't change anything else!)The lines I changed: (1) original: require_once(_PS_SMARTY_DIR_.'Smarty.class.php'); changed to: require_once(_PS_SMARTY_DIR_.'SmartyBC.class.php'); (2) from $smarty = new SmartyCustom(); to: $smarty = new SmartyBC(); I have Product Properties Extension module.Error front page: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/var/www/vhosts/MYWEBSITE/themes/warehouse/modules/blockcart/blockcart.tpl" on line 70 "{assign var='icpClass' value=$product|icp:id_cart_product}" unknown modifier "icp" <-- thrown in /var/www/vhosts/MYWEBSITE/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 70 Errors backoffice (if I click the message to solve it 'Product Properties Extension: Integration warning. Your site will not work properly until you resolve the integration problems.') Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/var/www/vhosts/MYWEBSITE/modules/pproperties/views/templates/admin/_configure/pproperties/templates.tpl" on line 12 "{l s='Add new' mod='pproperties'}" unknown modifier "pp_safeoutput" <-- thrown in /var/www/vhosts/MYWEBSITE/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 12 [PrestaShop] Fatal error in module file :/var/www/vhosts/MYWEBSITE/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:Uncaught --> Smarty Compiler: Syntax error in template "/var/www/vhosts/MYWEBSITE/modules/pproperties/views/templates/admin/_configure/pproperties/templates.tpl" on line 12 "{l s='Add new' mod='pproperties'}" unknown modifier "pp_safeoutput" <-- thrown Backoffice popup warning: Warning on line 198 in file /var/www/vhosts/MYWEBSITE/modules/gamification/gamification.php[2] file_put_contents(/var/www/vhosts/MYWEBSITE/modules/gamification/views/css/advice-1.6.1.5_508.css): failed to open stream: Permission denied I replaced the modified file with a copy of the original, but it still shows these errors.I delete the caches but the page still not displayed and the errors still there.Anyone could help me? Edited August 18, 2016 by sadnic (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2016 Share Posted August 19, 2016 problem that you have is related to some custom module named pproperties it is not a default module so its hard to help, we dont know what this module does and how it is coded. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 19, 2016 Share Posted August 19, 2016 Why are you changing these line? You should not do that as they are the core files of PrestaShop and might cause some serious issues in the actual functionality. 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