Jump to content

Pages blanche sur l'accueil de mon site


Recommended Posts

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

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

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

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

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

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