Daiavedra Posted March 20, 2014 Share Posted March 20, 2014 Hello guys, I'm trying to clone my shop on localhost under wamp server and I'm getting this error: Fatal error: Smarty error: [in C:\wamp\www\domain-name.ro/modules/blockfblike/metadata.tpl line 5]: syntax error: unrecognized tag: strip_tags($product->description) (Smarty_Compiler.class.php, line 446) in C:\wamp\www\domain-name.ro\tools\smarty_v2\Smarty.class.php on line 1095 Only the backend admin interface is working. Can anyone help me? Thank you so much! C. Link to comment Share on other sites More sharing options...
Mohammed Atalla Posted March 20, 2014 Share Posted March 20, 2014 (edited) Hello, please try this and let me know if that work with you: {$product->description|strip_tags} instaed of using it on this way strip_tags($product->description) you can refer to smarty docs for more details about using strip_tags inside your tpl file: http://www.smarty.net/docs/en/language.modifier.strip.tags.tpl Edited March 20, 2014 by Mohammed Atalla (see edit history) 1 Link to comment Share on other sites More sharing options...
Daiavedra Posted March 20, 2014 Author Share Posted March 20, 2014 (edited) Excellent! Now is working. The only thing I have now is an error on product page: Fatal error: Smarty error: [in C:\wamp\www\domain-name.ro/themes/prestashop/product.tpl line 496]: syntax error: unrecognized tag: $link->getProductDeletePictureLink($product,{$field.id_customization_field (Smarty_Compiler.class.php, line 446) in C:\wamp\www\domain-name.ro\tools\smarty_v2\Smarty.class.php on line 1095 If you have a suggestion for this I'll thank you in advance. If not, I can live with that. Thank you so much! Edited March 20, 2014 by Daiavedra (see edit history) Link to comment Share on other sites More sharing options...
Mohammed Atalla Posted March 20, 2014 Share Posted March 20, 2014 Hi, happy to hear that it works for you. the problem is with your smarty version, so use version 3 instated of version 2. Link to comment Share on other sites More sharing options...
Daiavedra Posted March 20, 2014 Author Share Posted March 20, 2014 Great! Problems solved. Thank you man! C. Link to comment Share on other sites More sharing options...
Mohammed Atalla Posted March 20, 2014 Share Posted March 20, 2014 you are welcome please let me know if you need anything else. please change the post status to [solved] if possible. 1 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