SQLSTATE[70100]: <>: 1317 Query execution was interrupted, query was: SELECT DISTINCT `e`.`attribute_set_id` FROM `catalog_product_flat_1` AS `e`
 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id='7'
 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0
 INNER JOIN `catalog_product_link` AS `link_tab` ON link_tab.product_id = 46404 WHERE (link_tab.link_type_id = 1) AND (e.entity_id = link_tab.linked_product_id)

#0 /var/www/accessorygeeks_1.9.1.1.12/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/www/accessorygeeks_1.9.1.1.12/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/accessorygeeks_1.9.1.1.12/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#4 /var/www/accessorygeeks_1.9.1.1.12/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#5 /var/www/accessorygeeks_1.9.1.1.12/lib/Zend/Db/Adapter/Abstract.php(794): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(1096): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select))
#7 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Catalog/Model/Layer.php(290): Mage_Catalog_Model_Resource_Product_Collection->getSetIds()
#8 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Catalog/Model/Layer.php(220): Mage_Catalog_Model_Layer->_getSetIds()
#9 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Catalog/Block/Layer/View.php(163): Mage_Catalog_Model_Layer->getFilterableAttributes()
#10 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Catalog/Block/Layer/View.php(122): Mage_Catalog_Block_Layer_View->_getFilterableAttributes()
#11 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Catalog_Block_Layer_View->_prepareLayout()
#12 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(OCM_Mods_Model_Overrides_Core_Layout))
#13 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('catalog/layer_v...', 'catalog.leftnav')
#14 /var/www/accessorygeeks_1.9.1.1.12/app/code/local/OCM/Mods/Model/Overrides/Core/Layout.php(16): Mage_Core_Model_Layout->addBlock('catalog/layer_v...', 'catalog.leftnav')
#15 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Model/Layout.php(205): OCM_Mods_Model_Overrides_Core_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#16 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#17 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#18 /var/www/accessorygeeks_1.9.1.1.12/app/code/local/OCM/Landingpage/controllers/Catalog/CategoryController.php(97): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#19 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Controller/Varien/Action.php(418): OCM_Landingpage_Catalog_CategoryController->viewAction()
#20 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#21 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#22 /var/www/accessorygeeks_1.9.1.1.12/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#23 /var/www/accessorygeeks_1.9.1.1.12/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#24 /var/www/source/index.php(150): Mage::run('default', 'store')
#25 {main}