SCW Posted April 25, 2011 Share Posted April 25, 2011 After upgrading from 1.3.7 to 1.4.1With prestashop theme I receive a Smarty error when product links are selected. Fatal error: Smarty error: [in /home/username/public_html/themes/prestashop/product.tpl line 495]: syntax error: unrecognized tag: $link->getProductDeletePictureLink($product,{$field.id_customization_field (Smarty_Compiler.class.php, line 446) in /home/username/public_html/tools/smarty_v2/Smarty.class.php on line 1095 I am an SEO - not a coder - so I am clueless here...Please advise.UPDATE:Since there were no responses to the posts - I had to roll-back the upgrade and regroup :-( Link to comment Share on other sites More sharing options...
guest* Posted April 26, 2011 Share Posted April 26, 2011 It seems that you are using an own theme ? Try to use smarty2 instead of smarty3. If problem disappeares so you must adapt your theme to get conform with smarty3. Presta 1.4. has cleared and deprecate many of old commands... From prestaversion 1.5. on smarty2 themes were not supported anymore.BO-> preferences and last lines you will find support for smarty2 or smarty3. Link to comment Share on other sites More sharing options...
texscalper Posted April 27, 2011 Share Posted April 27, 2011 Hi, I've got the same error.i was testing my shop upgraded from 1.3.7 to 1.4.0.17 and then to 1.4.1 [Wed Apr 27 22:19:38 2011] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: [in C:\\web sites\\test\\prestashop141/themes/prestashop/product.tpl line 495]: syntax error: unrecognized tag: $link->getProductDeletePictureLink($product,{$field.id_customization_field (Smarty_Compiler.class.php, line 446) in C:\\web sites\\test\\prestashop141\\tools\\smarty_v2\\Smarty.class.php on line 1095, referer: http://localhost/test/prestashop141/ I switched to the prestashop theme but same error. However my theme was upgraded to 1.4.x standard. Link to comment Share on other sites More sharing options...
LaManeta Posted May 3, 2011 Share Posted May 3, 2011 Same error for me upgrading a really simple Prestashop 1.3.7 (10 categories, 100 items, standard default theme).The error appears when you show a single item, all the rest of the shop seems to work perfectly.[03-May-2011 15:22:28] PHP Fatal error: Smarty error: [in /home/XXX/public_html/venta/themes/prestashop/product.tpl line 495]: syntax error: unrecognized tag: $link->getProductDeletePictureLink($product,{$field.id_customization_field (Smarty_Compiler.class.php, line 446) in /home/XXX/public_html/venta/tools/smarty_v2/Smarty.class.php on line 1095Any idea? Link to comment Share on other sites More sharing options...
Syswatch Posted May 4, 2011 Share Posted May 4, 2011 I have the same problem ...! Anyone with a solution ?For a workaround I just deleted line 488 to 505 in the themes/prestashop/product.tbl, both included, but I dont know what they do ? But now the product page loads...Waiting for a official fix. Link to comment Share on other sites More sharing options...
S7 Media Ltd Posted May 4, 2011 Share Posted May 4, 2011 Quote It seems that you are using an own theme ? Try to use smarty2 instead of smarty3. If problem disappeares so you must adapt your theme to get conform with smarty3. Presta 1.4. has cleared and deprecate many of old commands... From prestaversion 1.5. on smarty2 themes were not supported anymore.BO-> preferences and last lines you will find support for smarty2 or smarty3. I had this same problem.As CD2500 said, it may be to do with what version of Smarty you are using. I edited the default Prestashop template and made it in to my own. For some reason in Preferences, it was set to Use Smarty 2 instead of 3. How I cleared up my error, and therefore was able to view my product information, I disabled Smarty 2, so I am now using 3. However, if you have themes from Prestashop 1.3 this probably won't work. Link to comment Share on other sites More sharing options...
LaManeta Posted May 5, 2011 Share Posted May 5, 2011 Thats!Changing Smarty 2 to 3 has solve it.Thanks. 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