A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): MySQL server has gone away

Filename: mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/soydali1/public_html/www.dalish.gt/application/models/Categorias_model.php
Line: 28
Function: get

File: /home/soydali1/public_html/www.dalish.gt/application/controllers/Categorias.php
Line: 318
Function: categorias_con_inventario

File: /home/soydali1/public_html/www.dalish.gt/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): Error reading result set's header

Filename: mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/soydali1/public_html/www.dalish.gt/application/models/Categorias_model.php
Line: 28
Function: get

File: /home/soydali1/public_html/www.dalish.gt/application/controllers/Categorias.php
Line: 318
Function: categorias_con_inventario

File: /home/soydali1/public_html/www.dalish.gt/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/soydali1/public_html/www.dalish.gt/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/soydali1/public_html/www.dalish.gt/application/models/Categorias_model.php
Line: 28
Function: get

File: /home/soydali1/public_html/www.dalish.gt/application/controllers/Categorias.php
Line: 318
Function: categorias_con_inventario

File: /home/soydali1/public_html/www.dalish.gt/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

SELECT `categorias`.`id` `id_categoria`, `categorias`.`categoria`, `categorias`.`url`, `categorias`.`status` FROM `categorias` JOIN `productos` ON `productos`.`id_categoria` = `categorias`.`id` JOIN `codigos` ON `codigos`.`id_producto` = `productos`.`id` JOIN `inventario` ON `codigos`.`id` = `inventario`.`id_codigo` WHERE `inventario`.`anulada` = 0 AND `inventario`.`precio_venta` = 0 AND `inventario`.`id_tienda` = 1 AND `inventario`.`id_detalle_venta` = 0 AND `categorias`.`status` = 1 AND `productos`.`status` = 1 AND `codigos`.`status` = 1 AND `inventario`.`status` = 1 GROUP BY `categorias`.`id` ORDER BY `categorias`.`categoria` ASC

Filename: models/Categorias_model.php

Line Number: 28