Jump to content

Lost connection to MySQL server during query


Aldo López

Recommended Posts

Hola, tengo este problema en mi tienda 1.7

Sucedió después de cambiar la version de php de 7.2 a 7.3, la regresé a 7.2 y sigue caída. Alguna idea o sugerencia?

Muchas gracias.

[PrestaShopDatabaseException]

Lost connection to MySQL server during query
 

SELECT gs.*, s.*, gs.name AS group_name, s.name AS shop_name, s.active, su.domain, su.domain_ssl, su.physical_uri, su.virtual_uri FROM ps_shop_group gs LEFT JOIN ps_shop s ON s.id_shop_group = gs.id_shop_group LEFT JOIN ps_shop_url su ON s.id_shop = su.id_shop AND su.main = 1 WHERE s.deleted = 0 AND gs.deleted = 0 ORDER BY gs.name, s.name


at line 746 in file classes/db/Db.php

741. if ($webservice_call && $errno) { 742. $dbg = debug_backtrace(); 743. WebserviceRequest::getInstance()->setError(500, '

 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 744. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 745. if ($sql) { 746. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 747. } 748. 749. throw new PrestaShopDatabaseException($this->getMsgError()); 750. } 751. }
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...