Lecoindesanimo Posted February 17, 2018 Share Posted February 17, 2018 Bonjour depuis 2 jours je ne peux plus accéder à la page d'accueil de mon site par contre les autres pages fonctionnent et le BO aussi voila ce que j'ai en erreur et je ne sis pas comment résoudre . PrestaShopDatabaseException] Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. UPDATE `ps_smarty_lazy_cache` SET filepath='blockbestsellers_tab/1/1/1/8/06/6a/55/066a554af786d780eb430a4de6790b877b5c514e.tab.tpl.php' WHERE `template_hash`='570d1e867ba14c73f7429b143d567503' AND cache_id="blockbestsellers-tab|1|1|1|8" AND compile_id="" at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 790. if ($sql) { 791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 792. } 793. 794. throw new PrestaShopDatabaseException($this->getMsgError()); Quelqu'un peut-il m'aider svp Merci d'avance Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Videz votre cache en BO et j'espère que vous n'utilisez pas le cache SQL (en haut de la page Performances) Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 Bonjour je l'ai fait mas cela ne change rien je n'utilise pas le cache SQL Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Ok, alors : - copiez ce fichier joint dans le répertoire /overrides/class de votre ftp - puis supprimez le fichier /cache/class_index.php et rafraichissez votre page SmartyCustom.php Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 C'est bien dans le repertoire /overrides/classes ? Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Oui Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 Ca ne change rien j'ai toujours une page blanche mon site est www.lecoindesanimo.com Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 L'erreur est toujours la même ??? Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 oui sachant que je suis en multiboutique et que mon autre site fonctionne sans problème Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Les overrides sont désactivées chez vous ? Car ce code empêche l'écriture dans la table ps_lazy_cache (qui ne sert à rien à part ralentir les shops) donc ce message ne devrait plus être là. Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 je ne sais pas comment puis le voir? Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Dans la page des performances... Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 oui elles sont desactivées Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Bah ce n'est pas normal, on ne doit les désactiver que en mode debug lorsqu'un module par exemple pose problème. Ma solution ne pourra donc pas vous aider si vous les laissez désactivées... Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 je viens de les activer Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Cache re-vidé et /cache/class_index.php re-supprimé ? Quel est le message d'erreur maintenant ? Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 faut il que je fasse autre chose a priori pas de changement Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Le message d'erreur concerne toujours smarty_lazy_cache ??? Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 toujours pareil et je n'arrive plus a avoir de message d'erreur lorsque je passe le fichier config.inc.php en true Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 settings.inc.php pas config^^ C'est normal que vous ne voyez plus le précédent message car mon override n'appelle plus la fonction lazy_cache. Il y a donc un autre souci. Regardez le log d'erreur de votre serveur (chez votre hébergeur: error.log) Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 je viens de regarder et je n'ai aucun log d'erreur je suis chez OVH Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 si je fais une restauration de mon ftp d'il ya 3 jours cela peut il résoudre le pbme? Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 il y a 6 minutes, Lecoindesanimo a dit : je viens de regarder et je n'ai aucun log d'erreur je suis chez OVH Si, cherchez bien il y a un lien vers tous les logs de votre hébergement (access web, access ftp, error, etc...) https://docs.ovh.com/fr/hosting/mutualise-consulter-les-statistiques-et-les-logs-de-mon-site/ il y a 3 minutes, Lecoindesanimo a dit : si je fais une restauration de mon ftp d'il ya 3 jours cela peut il résoudre le pbme? Vous aimez jouer à la roulette russe ou essayer de comprendre ce qui s'est passé ? Il me semblerait plutôt que le souci soit du côté sql mais bon... Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 J'ai consulté les logs en erreur mais pas provenant de mon site qui beug voia ce que j'ai: [Sat Feb 17 04:28:12 2018] [error] [client 193.106.30.99] [host soinscheval.com] AH01264: script not found or unable to stat: /homez.168/croqkjtk/lecoindesanimaux.com/search.php [Sat Feb 17 05:10:13 2018] [error] [client 69.58.178.57] [host www.phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 05:10:14 2018] [error] [client 69.58.178.57] [host www.phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 05:10:15 2018] [error] [client 69.58.178.57] [host www.phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 05:10:16 2018] [error] [client 69.58.178.57] [host www.phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 05:10:17 2018] [error] [client 69.58.178.57] [host www.phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 10:17:54 2018] [error] [client 193.106.30.99] [host phytanimo.com] AH01264: script not found or unable to stat: /homez.168/croqkjtk/lieats.php [Sat Feb 17 10:45:19 2018] [error] [client 51.255.95.161] [host phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 11:01:23 2018] [error] [client 91.200.12.64] [host phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 11:09:13 2018] [error] [client 91.200.12.67] [host phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 11:47:58 2018] [error] [client 66.249.66.151] [host www.soinscheval.com] AH00687: Negotiation: discovered file(s) matching request: /homez.168/croqkjtk/lecoindesanimaux.com/images (None could be negotiated). [Sat Feb 17 12:19:25 2018] [error] [client 38.100.21.65] [host www.phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 12:58:44 2018] [error] [client 212.83.178.172] [host phytanimo.com] AH01264: script not found or unable to stat: /homez.168/croqkjtk/rep.php [Sat Feb 17 13:01:12 2018] [error] [client 173.252.90.246] [host www.soinscheval.com] AH00687: Negotiation: discovered file(s) matching request: /homez.168/croqkjtk/lecoindesanimaux.com/images (None could be negotiated). [Sat Feb 17 13:33:17 2018] [error] [client 93.125.99.36] [host soinscheval.com] AH00687: Negotiation: discovered file(s) matching request: /homez.168/croqkjtk/lecoindesanimaux.com/images (None could be negotiated)., referer: http://site.ru [Sat Feb 17 14:10:30 2018] [error] [client 38.142.98.202] [host phytanimo.com] AH01797: client denied by server configuration: /homez.168/croqkjtk/.ovhconfig [Sat Feb 17 15:06:47 2018] [error] [client 95.211.116.117] [host www.lecoindesanimo.com] Script timed out before returning headers: export.php [Sat Feb 17 17:16:21 2018] [error] [client 31.13.114.115] [host soinscheval.com] AH00687: Negotiation: discovered file(s) matching request: /homez.168/croqkjtk/lecoindesanimaux.com/images (None could be negotiated). Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Oulà... mais c'est quoi cette configuration ???? http://www.phytanimo.com/ Là on voit dans votre slip hein^^ Il n'y aurait pas un souci de config sur le serveur ou dans le fichier index.php à la racine de votre site ? Qu'y a t il eu de modifié depuis 2 jours? Mise à jour de module ou modification de paramètres ? Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 j'ai 3 sites sur le même hebergement a priori je ne vois pas de modifications faites ce que je vois c'est ces changements: admin17/autoupgrade/index.php classes/Carrier.php classes/Cart.php classes/Hook.php Link to comment Share on other sites More sharing options...
Eolia Posted February 17, 2018 Share Posted February 17, 2018 Là ce n'est pas une erreur sur votre site mais un die() qui doit trainer. Le site répond mais ne renvoie rien. Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 A votre avis quelle solution ai je? Link to comment Share on other sites More sharing options...
doekia Posted February 17, 2018 Share Posted February 17, 2018 Cela ressemble plus a une configuration par défaut de ton driver mysql ou qu'un module tiers cherche à utiliser une option d'optimisation SQL incompatible En général si un curseur est actif, il n'est pas possible d'effectuer un requête sur la même table en mode buffered Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 je ne vois pas de changement de configuration dans les modules et je suis un peu limité pour les SQL Link to comment Share on other sites More sharing options...
Lecoindesanimo Posted February 17, 2018 Author Share Posted February 17, 2018 que faut il à votre avis que j'aille voir pour trouver le beug? 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