Error

Code: 401

MySQL execution error: MySQL server has gone away

SELECT COUNT( `cr`.`relation_id` ) as 'total', `c`.`type_id` as '_type' FROM `content_relations` cr INNER JOIN `content` c ON `c`.`content_id` = IF( `cr`.`from_id` = 6, `cr`.`to_id`, `cr`.`from_id` ) WHERE ( `cr`.`to_id` = 6 OR `cr`.`from_id` = 6 ) AND ( `c`.`status` > 0 ) AND ( `c`.`type_id` NOT IN ('ResearchTheme', 'Taxonomy') OR (`c`.`type_id` IN ('ResearchTheme', 'Taxonomy') AND ( `cr`.`from_id` = 6 AND ( `cr`.`property_id` != 'isPartOf' OR `cr`.`property_id` IS NULL ) ) OR ( `cr`.`to_id` = 6 AND ( `cr`.`property_to_id` != 'isPartOf' OR `cr`.`property_id` IS NULL ) ) ) )AND ( `c`.`type_id` NOT IN ('ResearchTheme', 'Taxonomy') OR (`c`.`type_id` IN ('ResearchTheme', 'Taxonomy') AND ( `cr`.`from_id` = 6 AND ( `cr`.`property_id` != 'hasPart' OR `cr`.`property_id` IS NULL ) ) OR ( `cr`.`to_id` = 6 AND ( `cr`.`property_to_id` != 'hasPart' OR `cr`.`property_id` IS NULL ) ) ) ) -- START OF USER PERMISSIONS: AND ( -- AVAILABLE TYPES c.type_id IN ( 'AudioObject','Award','Collection','Comission','Course','CreativeWork','Event','EventType','ImageObject','MediaObject','NewsArticle','NewsArticleType','Organization','Periodical','Person','Place','ProgramOrganization','ProjectType','Publication','PublicationType','PublicNotice','PublicNoticeType','ResearchGroup','ResearchTheme','ScientificDiffusion','Taxonomy','TeacherRelationType','Thing','VideoObject','WebPage' ) -- TYPE PERMISSIONS: AND ( -- 'AudioObject' ( c.type_id = 'AudioObject' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'AudioObject' -- 'Award' OR ( c.type_id = 'Award' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Award' -- 'Collection' OR ( c.type_id = 'Collection' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Collection' -- 'Comission' OR ( c.type_id = 'Comission' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Comission' -- 'Course' OR ( c.type_id = 'Course' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Course' -- 'CreativeWork' OR ( c.type_id = 'CreativeWork' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'CreativeWork' -- 'Event' OR ( c.type_id = 'Event' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Event' -- 'EventType' OR ( c.type_id = 'EventType' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'EventType' -- 'ImageObject' OR ( c.type_id = 'ImageObject' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ImageObject' -- 'MediaObject' OR ( c.type_id = 'MediaObject' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'MediaObject' -- 'NewsArticle' OR ( c.type_id = 'NewsArticle' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'NewsArticle' -- 'NewsArticleType' OR ( c.type_id = 'NewsArticleType' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'NewsArticleType' -- 'Organization' OR ( c.type_id = 'Organization' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Organization' -- 'Periodical' OR ( c.type_id = 'Periodical' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Periodical' -- 'Person' OR ( c.type_id = 'Person' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Person' -- 'Place' OR ( c.type_id = 'Place' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Place' -- 'ProgramOrganization' OR ( c.type_id = 'ProgramOrganization' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ProgramOrganization' -- 'ProjectType' OR ( c.type_id = 'ProjectType' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ProjectType' -- 'Publication' OR ( c.type_id = 'Publication' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Publication' -- 'PublicationType' OR ( c.type_id = 'PublicationType' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'PublicationType' -- 'PublicNotice' OR ( c.type_id = 'PublicNotice' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'PublicNotice' -- 'PublicNoticeType' OR ( c.type_id = 'PublicNoticeType' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'PublicNoticeType' -- 'ResearchGroup' OR ( c.type_id = 'ResearchGroup' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ResearchGroup' -- 'ResearchTheme' OR ( c.type_id = 'ResearchTheme' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ResearchTheme' -- 'ScientificDiffusion' OR ( c.type_id = 'ScientificDiffusion' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'ScientificDiffusion' -- 'Taxonomy' OR ( c.type_id = 'Taxonomy' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Taxonomy' -- 'TeacherRelationType' OR ( c.type_id = 'TeacherRelationType' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'TeacherRelationType' -- 'Thing' OR ( c.type_id = 'Thing' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'Thing' -- 'VideoObject' OR ( c.type_id = 'VideoObject' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'VideoObject' -- 'WebPage' OR ( c.type_id = 'WebPage' AND ( ( c.status IN ( 100, 70 ) ) -- EVERYONE ) ) -- END OF 'WebPage' ) ) -- END OF USER PERMISSIONS GROUP BY `c`.`type_id`

File: /server/ppgsa/shiro/src/shiro/database/mysql/MySQLTaxonomy.php on line 342

Backtrace

shiro\database\mysql\MySQLDriver->_getLeavesData() in file /server/ppgsa/shiro/src/shiro/database/mysql/MySQLTaxonomy.php on line 167

shiro\database\mysql\MySQLDriver->_getTaxonomyData() in file /server/ppgsa/shiro/src/shiro/database/mysql/MySQLTaxonomy.php on line 53

shiro\database\mysql\MySQLDriver->getTaxonomyTree() in file /server/ppgsa/shiro/src/shiro/content/ContentModel.php on line 1651

shiro\content\ContentModel::getTaxonomyTree() in file /server/ppgsa/shiro/src/shiro/database/mysql/MySQLSearch.php on line 1732

shiro\database\mysql\MySQLDriver->_getFields() in file /server/ppgsa/shiro/src/shiro/database/mysql/MySQLSearch.php on line 2365

shiro\database\mysql\MySQLDriver->_getRelations() in file /server/ppgsa/shiro/src/shiro/database/mysql/MySQLSearch.php on line 1834

shiro\database\mysql\MySQLDriver->_getFields() in file /server/ppgsa/shiro/src/shiro/database/mysql/MySQLSearch.php on line 80

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

shiro\database\mysql\MySQLDriver->query() in file /server/ppgsa/shiro/src/shiro/models/ContentModel.php on line 379

shiro\models\ContentModel->query() in file /server/ppgsa/shiro/application/controllers/Content.php on line 634

Content->contentLanding() in file /server/ppgsa/shiro/application/controllers/Content.php on line 363

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

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

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

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

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

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

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