Jump to content

Problems with cloning 1.4.1.0 on Wamp


Recommended Posts

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

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 by Mohammed Atalla (see edit history)
  • Like 1
Link to comment
Share on other sites

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 by Daiavedra (see edit history)
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...