Jump to content

[Résolu] Page blanche après transfert de distant à local


Recommended Posts

Bonjour,

Je suis sur Prestashop 1.6

J'ai suivi un tuto pour mettre mon site distant en local.

Renommer les tables de la BDD, changer les infos dans settings.inc.php

Ma base de donnée est donc bien connectée, par contre j'ai une page blanche, j'ai activé le display_errors.

QQN serait m'aider à comprendre l'erreur ci-dessous?

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /Applications/XAMPP/xamppfiles/htdocs/winco/cache/smarty/compile/fa/12/a3/wrt5358e0df30e254.26235876' in /Applications/XAMPP/xamppfiles/htdocs/winco/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/winco/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/Applications/X...', '<?php /* Smarty...', Object(Smarty)) #1 /Applications/XAMPP/xamppfiles/htdocs/winco/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /Applications/XAMPP/xamppfiles/htdocs/winco/classes/module/Module.php(1860): Smarty_Internal_TemplateBase->fetch() #3 /Applications/XAMPP/xamppfiles/htdocs/winco/modules/paypal/paypal.php(1163): ModuleCore->display('/Applications/X...', 'js/paypal.js') #4 /Applications/XAMPP/xamppfiles/htdocs/winco/modules/paypal/paypal.php(379): PayPal->fetchTemplate('js/paypal. in/Applications/XAMPP/xamppfiles/htdocs/winco/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

 

Merci beaucoup

Edited by webinti (see edit history)
Link to comment
Share on other sites

Le premier message indique un probleme d'interdiction en ecriture sur le dossier de cache. Il vous faut donc appliquer un CHMOD 755 récursif sur ce dossier. Je vous conseil egalement de vider cache/smarty/cache sauf l'index.php et smarty/compile sauf l'index.php.

Link to comment
Share on other sites

Le premier message indique un probleme d'interdiction en ecriture sur le dossier de cache. Il vous faut donc appliquer un CHMOD 755 récursif sur ce dossier. Je vous conseil egalement de vider cache/smarty/cache sauf l'index.php et smarty/compile sauf l'index.php.

 

Bonjour,

En effet, cela a résolu mon problème, je suis allé sur le terminal et appliqué un CHMOD 666 sur le .htaccess et un 755 sur cache.

Je vois mon site, le BO et plus aucune erreur.

Merci de votre aide.

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