rachel01 Posted January 20, 2014 Share Posted January 20, 2014 (edited) Bonjour, J'essaie de modifier le fichier authentification.tpl mais à chaque tentative, voici ce qu'il est affiché lorsque j'accède à la page : Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/homepages/12/d285470069/htdocs/prestashop/themes /trendy/authentication.tpl" on line 1 "{* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is a lso available through the world-wide-web at this URL: * http://opensource.org/ licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version in /homepages/12/d285470069/htdocs/ prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 665 Cela ne m'affiche même pas le numéro de la ligne d'erreur (c'est écrit ligne 1 mais c'est juste une description de base, l'erreur ne peut être ici), donc impossible de savoir comment résoudre. J'ai tenté de désactiver le cache et forcer la compilation, sans succès. Avez vous déjà rencontré le même problème ? Merci de votre aide Edited January 21, 2014 by hansou (see edit history) Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Salut, as tu tenté de réinstaller le fichier authentication.tpl ? Link to comment Share on other sites More sharing options...
rachel01 Posted January 21, 2014 Author Share Posted January 21, 2014 Salut, as tu tenté de réinstaller le fichier authentication.tpl ? Non, en quoi cela changerait-il ? Link to comment Share on other sites More sharing options...
zaar Posted January 21, 2014 Share Posted January 21, 2014 Ben ton error se situe au niveau de ce fichier. changes le pour voir si t'as du changement Link to comment Share on other sites More sharing options...
rachel01 Posted January 21, 2014 Author Share Posted January 21, 2014 Ben ton error se situe au niveau de ce fichier. changes le pour voir si t'as du changement Merci beaucoup, en effet je ne sais pourquoi mais cela fonctionne maintenant ! Link to comment Share on other sites More sharing options...
zaar Posted January 21, 2014 Share Posted January 21, 2014 de rien ! content d'avoir pu t'aider Peux tu mettre ce post en résolu.merci Link to comment Share on other sites More sharing options...
Gregory Roussac Posted January 23, 2014 Share Posted January 23, 2014 Hello, Votre éditeur enregistre les fichiers avec des octets BOM. Cordialement Link to comment Share on other sites More sharing options...
zaar Posted January 23, 2014 Share Posted January 23, 2014 Votre éditeur enregistre les fichiers avec des octets BOM. Pour éviter cela il faut mettre l'encodage à UTF-8 (sans BOM) (menu-> encodage si vous utiliser Notepad++) 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