^ Zend_Db_Statement_Exception {#140
-_previous: null
#message: "SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress"
#code: 8
#file: "/var/www/html/demasledweb/library/Zend/Db/Statement/Pdo.php"
#line: 234
-previous: PDOException {#118
#message: "SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress"
#code: "08S01"
#file: "/var/www/html/demasledweb/library/Zend/Db/Statement/Pdo.php"
#line: 228
+errorInfo: array:3 [
0 => "08S01"
1 => 1053
2 => "Server shutdown in progress"
]
trace: {
/var/www/html/demasledweb/library/Zend/Db/Statement/Pdo.php:228 {
Zend_Db_Statement_Pdo->_execute(array $params = null) …
› if ($params !== null) {
› return $this->_stmt->execute($params);
› } else {
arguments: {
$bound_input_params: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Statement.php:300 {
Zend_Db_Statement->execute(array $params = null) …
› if ($this->_queryId === null) {
› return $this->_execute($params);
› }
arguments: {
$params: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Adapter/Abstract.php:480 {
Zend_Db_Adapter_Abstract->query($sql, $bind = []) …
› $stmt = $this->prepare($sql);
› $stmt->execute($bind);
›
arguments: {
$params: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Adapter/Pdo/Abstract.php:238 {
Zend_Db_Adapter_Pdo_Abstract->query($sql, $bind = []) …
› try {
› return parent::query($sql, $bind);
› } catch (PDOException $e) {
arguments: {
$sql: "DESCRIBE `categorias_cliente`"
$bind: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Adapter/Pdo/Mysql.php:169 {
Zend_Db_Adapter_Pdo_Mysql->describeTable($tableName, $schemaName = null) …
› }
› $stmt = $this->query($sql);
›
arguments: {
$sql: "DESCRIBE `categorias_cliente`"
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:834 {
Zend_Db_Table_Abstract->_setupMetadata() …
› // Fetch metadata from the adapter's describeTable() method
› $metadata = $this->_db->describeTable($this->_name, $this->_schema);
› // If $this has a metadata cache, then cache the metadata
arguments: {
$tableName: "categorias_cliente"
$schemaName: null
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:873 {
Zend_Db_Table_Abstract->_setupPrimaryKey() …
› if (!$this->_primary) {
› $this->_setupMetadata();
› $this->_primary = array();
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:980 {
Zend_Db_Table_Abstract->info($key = null) …
› {
› $this->_setupPrimaryKey();
›
}
/var/www/html/demasledweb/library/Zend/Db/Table/Select.php:100 {
Zend_Db_Table_Select->setTable(Zend_Db_Table_Abstract $table) …
› $this->_adapter = $table->getAdapter();
› $this->_info = $table->info();
› $this->_table = $table;
}
/var/www/html/demasledweb/library/Zend/Db/Table/Select.php:78 {
Zend_Db_Table_Select->__construct(Zend_Db_Table_Abstract $table) …
›
› $this->setTable($table);
› }
arguments: {
$table: DbTable_CategoriaCliente {#156 …}
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:1016 {
Zend_Db_Table_Abstract->select($withFromPart = self::SELECT_WITHOUT_FROM_PART) …
› require_once 'Zend/Db/Table/Select.php';
› $select = new Zend_Db_Table_Select($this);
› if ($withFromPart == self::SELECT_WITH_FROM_PART) {
arguments: {
$table: DbTable_CategoriaCliente {#156 …}
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:1324 {
Zend_Db_Table_Abstract->fetchAll($where = null, $order = null, $count = null, $offset = null) …
› if (!($where instanceof Zend_Db_Table_Select)) {
› $select = $this->select();
›
}
/var/www/html/demasledweb/application/demasled/models/CommonMapper.php:39 {
CommonMapper->fetchAll($where = null, $order = null, $count = null, $offset = null) …
› {
› $resultSet = $this->getDbTable()->fetchAll($where, $order, $count, $offset);
› return $resultSet->toArray();
arguments: {
$where: "general='1'"
$order: 1
$count: null
$offset: null
}
}
/var/www/html/demasledweb/application/demasled/models/ProductoMapper.php:95 {
ProductoMapper->fetchAllPorCategoria($where = null, $order = null, $count = null, $offset = null, $groupby = null) …
› $categoriaClienteMapper = new CategoriaClienteMapper();
› $categoriaCliente = $categoriaClienteMapper->fetchAll('general=\'1\'', 1);
› $idcategoria_cliente = $categoriaCliente[0]['id'];
arguments: {
$where: "general='1'"
$order: 1
}
}
/var/www/html/demasledweb/application/demasled/controllers/CategoriaController.php:106 {
CategoriaController->indexAction() …
› $tp = $productoMapper->totalIDProductos($where . " p.mostrar_web = '1' AND p.activo = '1' AND pi.ididioma = " . $this->idioma["id"], null, null, null, 'p.id');
› $productos = $productoMapper->fetchAllPorCategoria($where . " p.mostrar_web = '1' AND p.activo = '1' AND pi.ididioma = " . $this->idioma["id"], $sql_order_field, $count, $offset, 'p.id');
› $total_products = $productoMapper->countAll();
arguments: {
$where: "plp.idlinea_producto in (443) AND p.mostrar_web = '1' AND p.activo = '1' AND pi.ididioma = 3"
$order: array:1 [ …1]
$count: 30
$offset: 0
$groupby: "p.id"
}
}
/var/www/html/demasledweb/library/Zend/Controller/Action.php:513 {
Zend_Controller_Action->dispatch($action) …
› }
› $this->$action();
› } else {
}
/var/www/html/demasledweb/library/Zend/Controller/Dispatcher/Standard.php:295 {
Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response) …
› try {
› $controller->dispatch($action);
› } catch (Exception $e) {
arguments: {
$action: "indexAction"
}
}
/var/www/html/demasledweb/library/Zend/Controller/Front.php:954 {
Zend_Controller_Front->dispatch(Zend_Controller_Request_Abstract $request = null, Zend_Controller_Response_Abstract $response = null) …
› try {
› $dispatcher->dispatch($this->_request, $this->_response);
› } catch (Exception $e) {
arguments: {
$request: Zend_Controller_Request_Http {#68 …}
$response: Zend_Controller_Response_Http {#87 …}
}
}
/var/www/html/demasledweb/library/Zend/Application/Bootstrap/Bootstrap.php:97 {
Zend_Application_Bootstrap_Bootstrap->run() …
› $front->setParam('bootstrap', $this);
› $response = $front->dispatch();
› if ($front->returnResponse()) {
}
/var/www/html/demasledweb/library/Zend/Application.php:366 {
Zend_Application->run() …
› {
› $this->getBootstrap()->run();
› }
}
/var/www/html/demasledweb/index.php:189 {
› $application->bootstrap()
› ->run();
›
}
}
}
trace: {
/var/www/html/demasledweb/library/Zend/Db/Statement/Pdo.php:234 {
Zend_Db_Statement_Pdo->_execute(array $params = null) …
› require_once 'Zend/Db/Statement/Exception.php';
› throw new Zend_Db_Statement_Exception($e->getMessage(), (int) $e->getCode(), $e);
› }
}
/var/www/html/demasledweb/library/Zend/Db/Statement.php:300 {
Zend_Db_Statement->execute(array $params = null) …
› if ($this->_queryId === null) {
› return $this->_execute($params);
› }
arguments: {
$params: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Adapter/Abstract.php:480 {
Zend_Db_Adapter_Abstract->query($sql, $bind = []) …
› $stmt = $this->prepare($sql);
› $stmt->execute($bind);
›
arguments: {
$params: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Adapter/Pdo/Abstract.php:238 {
Zend_Db_Adapter_Pdo_Abstract->query($sql, $bind = []) …
› try {
› return parent::query($sql, $bind);
› } catch (PDOException $e) {
arguments: {
$sql: "DESCRIBE `categorias_cliente`"
$bind: []
}
}
/var/www/html/demasledweb/library/Zend/Db/Adapter/Pdo/Mysql.php:169 {
Zend_Db_Adapter_Pdo_Mysql->describeTable($tableName, $schemaName = null) …
› }
› $stmt = $this->query($sql);
›
arguments: {
$sql: "DESCRIBE `categorias_cliente`"
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:834 {
Zend_Db_Table_Abstract->_setupMetadata() …
› // Fetch metadata from the adapter's describeTable() method
› $metadata = $this->_db->describeTable($this->_name, $this->_schema);
› // If $this has a metadata cache, then cache the metadata
arguments: {
$tableName: "categorias_cliente"
$schemaName: null
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:873 {
Zend_Db_Table_Abstract->_setupPrimaryKey() …
› if (!$this->_primary) {
› $this->_setupMetadata();
› $this->_primary = array();
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:980 {
Zend_Db_Table_Abstract->info($key = null) …
› {
› $this->_setupPrimaryKey();
›
}
/var/www/html/demasledweb/library/Zend/Db/Table/Select.php:100 {
Zend_Db_Table_Select->setTable(Zend_Db_Table_Abstract $table) …
› $this->_adapter = $table->getAdapter();
› $this->_info = $table->info();
› $this->_table = $table;
}
/var/www/html/demasledweb/library/Zend/Db/Table/Select.php:78 {
Zend_Db_Table_Select->__construct(Zend_Db_Table_Abstract $table) …
›
› $this->setTable($table);
› }
arguments: {
$table: DbTable_CategoriaCliente {#156 …}
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:1016 {
Zend_Db_Table_Abstract->select($withFromPart = self::SELECT_WITHOUT_FROM_PART) …
› require_once 'Zend/Db/Table/Select.php';
› $select = new Zend_Db_Table_Select($this);
› if ($withFromPart == self::SELECT_WITH_FROM_PART) {
arguments: {
$table: DbTable_CategoriaCliente {#156 …}
}
}
/var/www/html/demasledweb/library/Zend/Db/Table/Abstract.php:1324 {
Zend_Db_Table_Abstract->fetchAll($where = null, $order = null, $count = null, $offset = null) …
› if (!($where instanceof Zend_Db_Table_Select)) {
› $select = $this->select();
›
}
/var/www/html/demasledweb/application/demasled/models/CommonMapper.php:39 {
CommonMapper->fetchAll($where = null, $order = null, $count = null, $offset = null) …
› {
› $resultSet = $this->getDbTable()->fetchAll($where, $order, $count, $offset);
› return $resultSet->toArray();
arguments: {
$where: "general='1'"
$order: 1
$count: null
$offset: null
}
}
/var/www/html/demasledweb/application/demasled/models/ProductoMapper.php:95 {
ProductoMapper->fetchAllPorCategoria($where = null, $order = null, $count = null, $offset = null, $groupby = null) …
› $categoriaClienteMapper = new CategoriaClienteMapper();
› $categoriaCliente = $categoriaClienteMapper->fetchAll('general=\'1\'', 1);
› $idcategoria_cliente = $categoriaCliente[0]['id'];
arguments: {
$where: "general='1'"
$order: 1
}
}
/var/www/html/demasledweb/application/demasled/controllers/CategoriaController.php:106 {
CategoriaController->indexAction() …
› $tp = $productoMapper->totalIDProductos($where . " p.mostrar_web = '1' AND p.activo = '1' AND pi.ididioma = " . $this->idioma["id"], null, null, null, 'p.id');
› $productos = $productoMapper->fetchAllPorCategoria($where . " p.mostrar_web = '1' AND p.activo = '1' AND pi.ididioma = " . $this->idioma["id"], $sql_order_field, $count, $offset, 'p.id');
› $total_products = $productoMapper->countAll();
arguments: {
$where: "plp.idlinea_producto in (443) AND p.mostrar_web = '1' AND p.activo = '1' AND pi.ididioma = 3"
$order: array:1 [ …1]
$count: 30
$offset: 0
$groupby: "p.id"
}
}
/var/www/html/demasledweb/library/Zend/Controller/Action.php:513 {
Zend_Controller_Action->dispatch($action) …
› }
› $this->$action();
› } else {
}
/var/www/html/demasledweb/library/Zend/Controller/Dispatcher/Standard.php:295 {
Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response) …
› try {
› $controller->dispatch($action);
› } catch (Exception $e) {
arguments: {
$action: "indexAction"
}
}
/var/www/html/demasledweb/library/Zend/Controller/Front.php:954 {
Zend_Controller_Front->dispatch(Zend_Controller_Request_Abstract $request = null, Zend_Controller_Response_Abstract $response = null) …
› try {
› $dispatcher->dispatch($this->_request, $this->_response);
› } catch (Exception $e) {
arguments: {
$request: Zend_Controller_Request_Http {#68 …}
$response: Zend_Controller_Response_Http {#87 …}
}
}
/var/www/html/demasledweb/library/Zend/Application/Bootstrap/Bootstrap.php:97 {
Zend_Application_Bootstrap_Bootstrap->run() …
› $front->setParam('bootstrap', $this);
› $response = $front->dispatch();
› if ($front->returnResponse()) {
}
/var/www/html/demasledweb/library/Zend/Application.php:366 {
Zend_Application->run() …
› {
› $this->getBootstrap()->run();
› }
}
/var/www/html/demasledweb/index.php:189 {
› $application->bootstrap()
› ->run();
›
}
}
}