Magento Forum

   
Category Error please help. 
 
firbest
Jr. Member
 
Total Posts:  9
Joined:  2008-11-23
 

Hi I get this error when i click on my category. Please can some one help me or direct me what to do so i can get this fixed.

SQLSTATE[42S22]Column not found1054 Unknown column 'used_in_product_listing' in 'where clause' Trace#0 /var/www/vhosts/mysite.co.uk/httpdocs/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/vhosts/mysite.co.uk/httpdocs/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array) #2 /var/www/vhosts/mysite.co.uk/httpdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT `eav_att...', Array) #3 /var/www/vhosts/mysite.co.uk/httpdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `eav_att...', Array) #4 /var/www/vhosts/mysite.co.uk/httpdocs/lib/Zend/Db/Adapter/Abstract.php(668): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array) #5 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Config.php(78): Zend_Db_Adapter_Abstract->fetchAll(Object(Varien_Db_Select)) #6 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Catalog/Model/Config.php(271): Mage_Catalog_Model_Resource_Eav_Mysql4_Config->getAttributesUsedInListing() #7 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Catalog/Model/Config.php(233): Mage_Catalog_Model_Config->getAttributesUsedInProductListing() #8 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Catalog/Model/Layer.php(118): Mage_Catalog_Model_Config->getProductAttributes() #9 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Catalog/Block/Navigation.php(93): Mage_Catalog_Model_Layer->prepareProductCollection(Object(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection)) #10 /var/www/vhosts/mysite.co.uk/httpdocs/app/design/frontend/default/modern/template/catalog/navigation/left.phtml(35): Mage_Catalog_Block_Navigation->getCurrentChildCategories() #11 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Template.php(144): include('/var/www/vhosts...') #12 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...') #13 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #14 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #15 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #16 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml() #17 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml() #18 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('left', true) #19 /var/www/vhosts/mysite.co.uk/httpdocs/app/design/frontend/default/modern/template/page/2columns-left.phtml(62): Mage_Core_Block_Abstract->getChildHtml('left') #20 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Template.php(144): include('/var/www/vhosts...') #21 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...') #22 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #23 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #24 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml() #25 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput() #26 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Catalog/controllers/CategoryController.php(115): Mage_Core_Controller_Varien_Action->renderLayout() #27 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Catalog_CategoryController->viewAction() #28 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('view') #29 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #30 /var/www/vhosts/mysite.co.uk/httpdocs/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch() #31 /var/www/vhosts/mysite.co.uk/httpdocs/index.php(65): Mage::run() #32 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top