pegasus6464 Posted November 20, 2021 Share Posted November 20, 2021 Buenas que tal tengo una página de un amigo en prestashop 1.6.18 y ya no sé que hacer, va lentísimo no, lo siguiente. Tengo eso sí 50.000 lotes, he probado a borrar cache, instalar modulos de velocidad, pero nada, va lentísimo no se si algún modulo me estará entorpeciendo o si debo actualizar prestashop a 1.7 o cambiar de servidor Quizás alguno pueda echarme un cable en esto porque ya no sé que puedo hacer la página es www.filateliadelahabana.com gracias a todos por vuestra ayuda Link to comment Share on other sites More sharing options...
juanrojas Posted November 20, 2021 Share Posted November 20, 2021 Confirmado, va lentisima. lo mejor es que actualices por que la version de PHP de 1.7 es mas rapida, tambien podria ser el servidor si es que tienes muchos productos, te puedo recomendar un servidor dedicado si necesitas ayuda con la actualizacion del prestashop me puedes enviar un mensaje porque te digo que el modulo 1click para actualizar no funciona Link to comment Share on other sites More sharing options...
Pixefora D Posted November 24, 2021 Share Posted November 24, 2021 Tienes que tener algún problema de consultas. Pregunta al hosting a ver si te pudieran mandar un informe de querys lentas, aun en un servidor "malo" no es normal este tiempo de carga, y aun migrando de servidor seguirás tiendiendo este problema. Entra en rendimiento y desactiva los override, a ver si suena la flauta. Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 25, 2021 Author Share Posted November 25, 2021 gracias por las respuestas creo que es un problema de conexión a la bbdd, en el registro de logs esta plagado de esto *ERROR* 2021/11/23 - 11:23:19: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:19: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 11:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 10:23:20: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php *ERROR* 2021/11/23 - 10:23:43: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory at line 102 in file classes/db/DbPDO.php Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 25, 2021 Author Share Posted November 25, 2021 incluso muchas veces ni me deja entrar al backoffice public function connect() 98. { 99. try { 100. $this->link = $this->_getPDO($this->server, $this->user, $this->password, $this->database, 5); 101. } catch (PDOException $e) { 102. throw new PrestaShopException('Link to database cannot be established:'.$e->getMessage()); 103. } 104. 105. // UTF-8 support 106. if ($this->link->exec('SET NAMES \'utf8\'') === false) { 107. throw new PrestaShopException('PrestaShop Fatal error: no utf-8 support. Please check your server configuration.'); Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 25, 2021 Author Share Posted November 25, 2021 me han enviado este mysql slow logmysqld-slow.rar Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 25, 2021 Author Share Posted November 25, 2021 On 11/24/2021 at 10:12 AM, Pixefora D said: Tienes que tener algún problema de consultas. Pregunta al hosting a ver si te pudieran mandar un informe de querys lentas, aun en un servidor "malo" no es normal este tiempo de carga, y aun migrando de servidor seguirás tiendiendo este problema. Entra en rendimiento y desactiva los override, a ver si suena la flauta. tengo desactivados todos Desactivar todos los métodos overrides SÍ gracias! Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 28, 2021 Author Share Posted November 28, 2021 es como si se conectara mucha gente a al vez o llamadas de google no entiendo igual un modulo me esta estropeando Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 28, 2021 Author Share Posted November 28, 2021 Link to database cannot be established:SQLSTATE[HY000] [1040] Too many connections at line 102 in file classes/db/DbPDO.php 97. public function connect() 98. { 99. try { 100. $this->link = $this->_getPDO($this->server, $this->user, $this->password, $this->database, 5); 101. } catch (PDOException $e) { 102. throw new PrestaShopException('Link to database cannot be established:'.$e->getMessage()); 103. } 104. 105. // UTF-8 support 106. if ($this->link->exec('SET NAMES \'utf8\'') === false) { 107. throw new PrestaShopException('PrestaShop Fatal error: no utf-8 support. Please check your server configuration.'); Link to comment Share on other sites More sharing options...
pegasus6464 Posted November 28, 2021 Author Share Posted November 28, 2021 me aparece siempre que no se puede conectar a la bbdd porque hay muchas conexiones no lo entiendo .... Too many connections Link to comment Share on other sites More sharing options...
Nickz Posted November 28, 2021 Share Posted November 28, 2021 On 11/20/2021 at 8:39 AM, pegasus6464 said: Tengo eso sí 50.000 lotes, he probado a borrar cache, instalar modulos de velocidad, más módulos que instales más lento se pondrá. Pagespeed te dice en está el gancho, scripts de Google, de facebook son frecuentemente los culpables. 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