welovesushi Posted January 30, 2015 Share Posted January 30, 2015 Bonjour à tous,je rencontre un soucis avec ma boutique www.decorationsmariages.comEn effet, j'ai voulu modifier le fichier homefeatured.php et une erreur est apparue. Mon site ne fonctionne pas et affiche une page blanche, il ne se charge plus du tout. Impossible d'y accéder.Comment puis remettre en marche mon site ?Merci d'avanceCordialementAlexandre Link to comment Share on other sites More sharing options...
ai-dev Posted January 30, 2015 Share Posted January 30, 2015 Bonjour, Remettez l'ancienne version du module et re-vérifiez les fichiers modifiés. Avez vous activé le mode débug de votre boutique pour voir si l'erreur s'affiche ? En majorité, les pages blanches découlent d'erreur de parsing, donc un souci dans les fichiers que vous avez du modifier. Link to comment Share on other sites More sharing options...
welovesushi Posted January 30, 2015 Author Share Posted January 30, 2015 Bonjour,tout d'abord merci de votre réponse si rapide.En fait, mon client voulait que je change la phrase "Produits phares" sur sa page d'accueil par autre chose. Je me suis donc rendu dans le fichier homfeatured.php et remplacer homefeatured qui se situait ici :" public function __construct() { $this->name = 'homefeatured'; "par le mot qui voulait changer. L'erreur page blanche est arrivée, j'ai donc remis homefeatured comme initialement présenté avant le changement. Mais la page blanche persiste.Je n'ai pas activé le mode debug non. Link to comment Share on other sites More sharing options...
welovesushi Posted January 30, 2015 Author Share Posted January 30, 2015 Je viens d'activer le mode debug, voici le messageNotice: Use of undefined constant ‘homefeatured’ - assumed '‘homefeatured’' in /home/decoratimr/www/modules/homefeatured/homefeatured.php on line36Fatal error: Uncaught exception 'SmartyException' with message 'Missing template name' in /home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_template.php:639 Stack trace: #0 /home/decoratimr/www/tools/smarty/sysplugins/smarty_cacheresource.php(289): Smarty_Internal_Template->__get('source') #1 /home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_template.php(666): Smarty_Template_Cached->__construct(Object(Smarty_Internal_Template)) #2 /home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(389): Smarty_Internal_Template->__get('cached') #3 /home/decoratimr/www/classes/module/Module.php(1769): Smarty_Internal_TemplateBase->isCached(NULL, '\xE2\x80\x98homefeatured...', NULL) #4 /home/decoratimr/www/modules/homefeatured/homefeatured.php(130): ModuleCore->isCached('homefeatured.tp...', '\xE2\x80\x98homefeatured...') #5 /home/decoratimr/www/classes/Hook.php(473): HomeFeatured->hookDisplayHome(Array) #6 /home/decoratimr/www/controllers/front/IndexController.php(39): HookCore::exec('displ in/home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_template.php on line 639 Link to comment Share on other sites More sharing options...
welovesushi Posted January 30, 2015 Author Share Posted January 30, 2015 J'ai résolu le problème mais maintenant j'ai ce message d'erreur.Fatal error: Uncaught exception 'SmartyException' with message 'Missing template name' in /home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_template.php:639 Stack trace: #0 /home/decoratimr/www/tools/smarty/sysplugins/smarty_cacheresource.php(289): Smarty_Internal_Template->__get('source') #1 /home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_template.php(666): Smarty_Template_Cached->__construct(Object(Smarty_Internal_Template)) #2 /home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(389): Smarty_Internal_Template->__get('cached') #3 /home/decoratimr/www/classes/module/Module.php(1769): Smarty_Internal_TemplateBase->isCached(NULL, 'homefeatured\xE2\x80\x99...', NULL) #4 /home/decoratimr/www/modules/homefeatured/homefeatured.php(130): ModuleCore->isCached('homefeatured.tp...', 'homefeatured\xE2\x80\x99...') #5 /home/decoratimr/www/classes/Hook.php(473): HomeFeatured->hookDisplayHome(Array) #6 /home/decoratimr/www/controllers/front/IndexController.php(39): HookCore::exec('displ in/home/decoratimr/www/tools/smarty/sysplugins/smarty_internal_template.php on line 639Je ne sais plus trop comment faire.Merci d'avance.Cordialement Link to comment Share on other sites More sharing options...
ai-dev Posted January 31, 2015 Share Posted January 31, 2015 (edited) Bonjour, tout d'abord merci de votre réponse si rapide. En fait, mon client voulait que je change la phrase "Produits phares" sur sa page d'accueil par autre chose. Je me suis donc rendu dans le fichier homfeatured.php et remplacer homefeatured qui se situait ici : " public function __construct() { $this->name = 'homefeatured'; Sans le " à la fin. par le mot qui voulait changer. L'erreur page blanche est arrivée, j'ai donc remis homefeatured comme initialement présenté avant le changement. Mais la page blanche persiste. Je n'ai pas activé le mode debug non. Oula ! Non, ce n'est pas du tout comme ça qu'il faut procéder. Remettez le $this->name = 'homefeatured'; " en place. Une fois que c'est fait allez sur l'admin, dans module, puis configurer le homefeatured. Sur la page de config, vous allez avoir un menu pour traduire, vous choisissez la langue et ensuite vous remplacez le texte que vous voulez. Bon week end. Edited January 31, 2015 by @ide-info (see edit history) Link to comment Share on other sites More sharing options...
welovesushi Posted February 1, 2015 Author Share Posted February 1, 2015 Bonjour,j'ai résolu le problème entre temps. J'ai tout simplement remis ce que vous dîtes dans votre message, j'ai supprimé le module via mon serveur ftp et j'en ai réinstallé un via toujours mon ftp. Du coup, cela a remarché.Je vous remercie pour votre réponse et votre aide.Cordialement Link to comment Share on other sites More sharing options...
ai-dev Posted February 2, 2015 Share Posted February 2, 2015 De rien. Bonne journée. 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