zepokpok Posted August 14, 2017 Share Posted August 14, 2017 Bonjour à tous, J'ai un vieux site en 1.4.7 qui tournait chez OVH jusqu'à encore peu de temps assez bien, version de PHP 5.4, Mysql 5.5.J'ai un message d'erreur qui me dit qu'il ne trouve pas mon thème, dans le BO tout est cassé.Quand je regarde dans la source à la place des chemins j'ai des "_PS_CSS_DIR_" dans les chemins. ça sent le code qui ne s'execute pas pour récupérer les variables. A mon avis c'est un problème de version de PHP, j'ai joint OVH pour voir s'il y avait eu des changements chez eux, le technicien me dit que non (en même temps il voulait me faire passer mon serveur en php 7 donc je crois qu'il ne sait pas de quoi il parle). Quand j'active le mode debug j'ai effectivement ces messages : Notice: Constant _PS_DEBUG_SQL_ already defined in /home/phytoche/www/config/defines.inc.php on line 36Notice: Use of undefined constant _PS_THEME_DIR_ - assumed '_PS_THEME_DIR_' in /home/phytoche/www/config/smarty.config.inc.php on line 37Notice: Use of undefined constant _PS_JS_DIR_ - assumed '_PS_JS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 44Notice: Use of undefined constant _PS_CSS_DIR_ - assumed '_PS_CSS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 45Notice: Use of undefined constant _PS_CSS_DIR_ - assumed '_PS_CSS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 46Notice: Use of undefined constant _PS_JS_DIR_ - assumed '_PS_JS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 53Notice: Use of undefined constant _PS_JS_DIR_ - assumed '_PS_JS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 54Notice: Use of undefined constant _PS_JS_DIR_ - assumed '_PS_JS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 55Notice: Use of undefined constant _PS_JS_DIR_ - assumed '_PS_JS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 56Notice: Use of undefined constant _PS_JS_DIR_ - assumed '_PS_JS_DIR_' in /home/phytoche/www/adminpc/header.inc.php on line 57 Avez-vous une idée ?A mon avis c'est un changement de config serveur (que je ne constate pas à priori).Merci à vous ! Link to comment Share on other sites More sharing options...
Baba deCode Posted August 14, 2017 Share Posted August 14, 2017 (edited) Salut, Regarde en base de donnée si tu as bien ces variables dans le table ps_configuration cordialement Edited August 14, 2017 by Alexandre Carette (see edit history) Link to comment Share on other sites More sharing options...
zepokpok Posted August 15, 2017 Author Share Posted August 15, 2017 Salut, et merci pour ta réponse ! Il faudrait que je cherche où ?Dans la table configuration je trouve par exemple des PS_CSS_THEME_CACHE mais rien qui fait référence à une variable CSS ou Thème.Mon shop url cite bien le nom de mon site, je ne pense pas que des enregistrements est ce qu'il n'y aurait pas une histoire de magic quotes ou un truc dans ce genre ? Merci encore ! Link to comment Share on other sites More sharing options...
zepokpok Posted August 21, 2017 Author Share Posted August 21, 2017 Un petit up, avez-vous une piste à tout hasard ?Merci ! 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