A PHP Error was encountered

Severity: Warning

Message: Error while sending QUERY packet. PID=25799

Filename: mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/idthai17/public_html/application/models/Gnr.php
Line: 71
Function: get

File: /home/idthai17/public_html/application/controllers/Contents.php
Line: 99
Function: get_cat

File: /home/idthai17/public_html/index.php
Line: 327
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/idthai17/public_html/application/models/Gnr.php
Line: 71
Function: get

File: /home/idthai17/public_html/application/controllers/Contents.php
Line: 99
Function: get_cat

File: /home/idthai17/public_html/index.php
Line: 327
Function: require_once

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

SELECT `id`, `cate_name`, `cate_name_en`, `status`, `sort_item`, `cate_page`, `css_class`, `submit_by`, `submit_date`, `modified_by`, `modified_date`, `deleted_by`, `deleted_date`, `main_group` FROM `tb_category` WHERE sha1(id) = 'c1dfd96eea8cc2b62785275bca38ac261256e278' ORDER BY `sort_item` ASC

Filename: models/Gnr.php

Line Number: 71