Error

Code: 401

MySQL execution error: MySQL server has gone away

SELECT COUNT(DISTINCT(con.content_id)) AS `@total` FROM content con INNER JOIN ( ( SELECT cr.from_id as content_id FROM content_relations cr WHERE cr.to_id IN (35) ) UNION ( SELECT cr.to_id as content_id FROM content_relations cr WHERE cr.from_id IN (35) )) rel_contentOr_id_1 ON rel_contentOr_id_1.content_id = con.content_id WHERE 1=1 AND `con`.`type_id` IN( 'Article', 'City', 'Collection', 'ImageObject', 'Material', 'MediaObject', 'Neighborhood', 'Person', 'Product', 'Technique', 'Thing', 'VideoObject', 'WebPage' ) AND ( con.`status` = 100 ) AND ( con.`type_id` = "Product" ) -- START OF USER PERMISSIONS: AND ( -- AVAILABLE TYPES con.type_id IN ( 'Article','City','Collection','ImageObject','Material','MediaObject','Neighborhood','Person','Product','Technique','Thing','VideoObject','WebPage' ) -- TYPE PERMISSIONS: AND ( -- 'Article' ( con.type_id = 'Article' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Article' -- 'City' OR ( con.type_id = 'City' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'City' -- 'Collection' OR ( con.type_id = 'Collection' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Collection' -- 'ImageObject' OR ( con.type_id = 'ImageObject' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ImageObject' -- 'Material' OR ( con.type_id = 'Material' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Material' -- 'MediaObject' OR ( con.type_id = 'MediaObject' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'MediaObject' -- 'Neighborhood' OR ( con.type_id = 'Neighborhood' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Neighborhood' -- 'Person' OR ( con.type_id = 'Person' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Person' -- 'Product' OR ( con.type_id = 'Product' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Product' -- 'Technique' OR ( con.type_id = 'Technique' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Technique' -- 'Thing' OR ( con.type_id = 'Thing' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Thing' -- 'VideoObject' OR ( con.type_id = 'VideoObject' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'VideoObject' -- 'WebPage' OR ( con.type_id = 'WebPage' AND ( ( con.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'WebPage' ) ) -- END OF USER PERMISSIONS

File: /server/artesanato/shiro/src/shiro/database/mysql/MySQLDriver.php on line 1059

Backtrace

shiro\database\mysql\MySQLDriver->_getQueryResults() in file /server/artesanato/shiro/src/shiro/database/mysql/MySQLSearch.php on line 47

shiro\database\mysql\MySQLDriver->getQuery() in file /server/artesanato/shiro/src/shiro/database/mysql/MySQLDriver.php on line 286

shiro\database\mysql\MySQLDriver->getTotal() in file /server/artesanato/shiro/src/shiro/models/ContentModel.php on line 404

shiro\models\ContentModel->getTotal() in file /server/artesanato/shiro/application/controllers/Content.php on line 837

Content->contentList() in file /server/artesanato/shiro/application/controllers/Content.php on line 444

Content->content() in file /server/artesanato/shiro/application/core/MY_Controller.php on line 527

MY_Controller->navItem() in file /server/artesanato/shiro/system/core/CodeIgniter.php on line 520

require_once() in file /server/artesanato/shiro/core/Shiro.php on line 270

Shiro->_executeLegacy() in file /server/artesanato/shiro/core/Shiro.php on line 111

Shiro->_execute() in file /server/artesanato/shiro/core/Shiro.php on line 62

Shiro->__construct() in file /server/artesanato/shiro/core/initialization.php on line 59

require() in file /server/artesanato/html/index.php on line 9