Jump to content

Recommended Posts

Bonjour a tous,

 

J'ai un soucis sur ma boutique en local sur serveur MAMP.

Après voir fait une modif sur les produits j'ai rechargé ma page d'accueil et là rien ne s'affiche la page reste blanche. J'ai affiché le message d'erreur en ouvrant le fichier /config/defines.inc.php et en remplaçant define('_PS_MODE_DEV_',false); par define('_PS_MODE_DEV_',true); comme indiqué sur ici : http://www.prestatoolbox.fr/content/24-messages-erreurs-prestashop

 

Le message me dit : 

 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/Applications/MAMP/htdocs/locasud2/themes/default-bootstrap/header.tpl" on line 93 "<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) $logo_image_height} height="{$logo_image_height}"/if}/>" too many shorthand attributes <-- thrown in/Applications/MAMP/htdocs/locasud2/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 93

 

Je comprend pas du tout ce que cela signifie donc je vous demande de l'aide.

 

Merci d'avance !!

 

Link to comment
Share on other sites

Ca a marché par contre le clic droit marche plus et quand je clic sur un produit un nouveau message d'erreur s'affiche :

 
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/Applications/MAMP/htdocs/locasud2/themes/default-bootstrap/product.tpl" on line 244 "<form id="buy_block"{if $PS_CATALOG_MODE && !isset($groups) $product->quantity > 0} class="hidden"{/if} action="{$link->getPageLink('cart')|escape:'html':'UTF-8'}" method="post">" too many shorthand attributes <-- thrown in /Applications/MAMP/htdocs/locasud2/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 244

 

Je comprend vraiment pas a quoi c'est due...

 

HELP 

Link to comment
Share on other sites

Un nouveau message d'erreur apparait : 
 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/Applications/MAMP/htdocs/locasud2/themes/default-bootstrap/product.tpl" on line 340 "<label class="attribute_label" {if $group.group_type != 'color' &&}for="group_{$id_attribute_group|intval}"{/if}>{$group.name|escape:'html':'UTF-8'} </label>" - Unexpected "}" <-- thrown in/Applications/MAMP/htdocs/locasud2/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 340

 

Je comprend vraiment pas ce qu'il s'est passé !

Link to comment
Share on other sites

Si vous n'avez touché qu'au CSS, ca me parait plus simple de récupérez l'ensemble des .tpl du thème par défaut, car comme dis Mediacom87, votre template à l'heure actuelle m'a l'air bourré de pas mal d'erreur...

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...