SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active` FROM `catalog_category_entity` AS `e`
 INNER JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '42') AND `at_is_active_default`.`store_id` = 0
 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '42') AND (`at_is_active`.`store_id` = 1) WHERE (`e`.`entity_type_id` = '3') AND (`e`.`entity_id` IN('21')) AND (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1')

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active` FROM `catalog_category_entity` AS `e`
 INNER JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '42') AND `at_is_active_default`.`store_id` = 0
 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '42') AND (`at_is_active`.`store_id` = 1) WHERE (`e`.`entity_type_id` = '3') AND (`e`.`entity_id` IN('21')) AND (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1')

#0 /home/pureigni/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/pureigni/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/pureigni/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/pureigni/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `e`.*, I...', Array)
#4 /home/pureigni/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `e`.*, I...', Array)
#5 /home/pureigni/public_html/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `e`.*, I...', Array)
#6 /home/pureigni/public_html/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `e`.*, I...', Array)
#7 /home/pureigni/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1045): Varien_Data_Collection_Db->_fetchAll('SELECT `e`.*, I...')
#8 /home/pureigni/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(871): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#9 /home/pureigni/public_html/app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php(225): Mage_Eav_Model_Entity_Collection_Abstract->load(false, false)
#10 /home/pureigni/public_html/app/code/core/Mage/Catalog/Model/Resource/Category.php(599): Mage_Catalog_Model_Resource_Category_Collection->load()
#11 /home/pureigni/public_html/app/code/core/Mage/Catalog/Model/Category.php(829): Mage_Catalog_Model_Resource_Category->getParentCategories(Object(Angara_UtilityBackend_Model_Catalog_Category))
#12 /home/pureigni/public_html/app/code/local/Mage/Catalog/Helper/Data.php(104): Mage_Catalog_Model_Category->getParentCategories()
#13 /home/pureigni/public_html/app/code/local/Mage/Catalog/Block/Breadcrumbs.php(125): Mage_Catalog_Helper_Data->getBreadcrumbPath()
#14 /home/pureigni/public_html/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Catalog_Block_Breadcrumbs->_prepareLayout()
#15 /home/pureigni/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#16 /home/pureigni/public_html/app/code/local/Mage/Catalog/Block/Category/View.php(40): Mage_Core_Model_Layout->createBlock('catalog/breadcr...')
#17 /home/pureigni/public_html/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Catalog_Block_Category_View->_prepareLayout()
#18 /home/pureigni/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#19 /home/pureigni/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('catalog/categor...', 'category.produc...')
#20 /home/pureigni/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('catalog/categor...', 'category.produc...')
#21 /home/pureigni/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#22 /home/pureigni/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#23 /home/pureigni/public_html/app/code/local/Mage/Core/Controller/Varien/Action.php(346): Mage_Core_Model_Layout->generateBlocks()
#24 /home/pureigni/public_html/app/code/local/Angara/UtilityBackend/controllers/Catalog/CategoryController.php(65): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#25 /home/pureigni/public_html/app/code/local/Mage/Core/Controller/Varien/Action.php(423): Angara_UtilityBackend_Catalog_CategoryController->viewAction()
#26 /home/pureigni/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#27 /home/pureigni/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(173): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 /home/pureigni/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#29 /home/pureigni/public_html/app/Mage.php(669): Mage_Core_Model_App->run(Array)
#30 /home/pureigni/public_html/index.php(95): Mage::run('', 'store')
#31 {main}