SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT DISTINCT COUNT(DISTINCT e.entity_id) FROM `catalog_product_entity` AS `e`
 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_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(3, 4) AND cat_index.category_id = '10'
 INNER JOIN `catalog_product_index_eav` AS `style_idx` ON `style_idx`.entity_id = e.entity_id AND `style_idx`.attribute_id = '208' AND `style_idx`.store_id = 1 AND `style_idx`.value in (537,538,553,556,566,595,1006) WHERE (`e`.`entity_id` IN(1826, 1723, 1724, 1725, 1726, 1727, 1728, 830, 829, 828, 827, 826, 825, 824, 822, 823, 821, 820, 819, 818, 817, 816, 815, 814, 812, 813, 811, 809, 810, 807, 808, 806, 805, 803, 804, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765)) AND (`e`.`entity_id` IN(1826, 1723, 1724, 1725, 1726, 1727, 1728, 830, 829, 828, 827, 826, 825, 824, 822, 823, 821, 820, 819, 818, 817, 816, 815, 814, 812, 813, 811, 809, 810, 807, 808, 806, 805, 803, 804, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765))

#0 /home/ronshire/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/ronshire/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/ronshire/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/ronshire/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#4 /home/ronshire/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#5 /home/ronshire/public_html/lib/Zend/Db/Adapter/Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home/ronshire/public_html/lib/Varien/Data/Collection/Db.php(225): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#7 /home/ronshire/public_html/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext/Collection.php(116): Varien_Data_Collection_Db->getSize()
#8 /home/ronshire/public_html/app/code/core/Mage/CatalogSearch/Block/Result.php(186): Mage_CatalogSearch_Model_Resource_Fulltext_Collection->getSize()
#9 /home/ronshire/public_html/app/design/frontend/base/default/template/catalogsearch/result.phtml(27): Mage_CatalogSearch_Block_Result->getResultCount()
#10 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/ronshire/...')
#11 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#12 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#13 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#14 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#16 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#17 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#18 /home/ronshire/public_html/app/design/frontend/base/default/template/page/3columns.phtml(49): Mage_Core_Block_Abstract->getChildHtml('content')
#19 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/ronshire/...')
#20 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#21 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /home/ronshire/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#23 /home/ronshire/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#24 /home/ronshire/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#25 /home/ronshire/public_html/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(80): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /home/ronshire/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_CatalogSearch_ResultController->indexAction()
#27 /home/ronshire/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#28 /home/ronshire/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /home/ronshire/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#30 /home/ronshire/public_html/app/Mage.php(687): Mage_Core_Model_App->run(Array)
#31 /home/ronshire/public_html/index.php(87): Mage::run('', 'store')
#32 {main}