Magento Forum

   
Error in layered navigation
 
Frederik Bové
Member
 
Total Posts:  58
Joined:  2008-08-26
 

When clicking in teh layered navigation on a catagory I gets this error.

SELECT 1 AS `status`, `e`.`entity_id`, `e`.`type_id`, `e`.`attribute_set_id`, `cat_index`.`position`, `e`.`name`, `e`.`description`, `e`.`short_description`, `e`.`price`, `e`.`special_price`, `e`.`special_from_date`, `e`.`special_to_date`, `e`.`image`, `e`.`small_image`, `e`.`thumbnail`, `e`.`tax_class_id`, `e`.`url_key`, `e`.`required_options`, `e`.`image_label`, `e`.`small_image_label`, `e`.`thumbnail_label`, `e`.`price_type`, `e`.`weight_type`, `e`.`shipment_type`, `e`.`featured`, `e`.`price`, `e`.`special_price`, `e`.`special_from_date`, `e`.`special_to_date`, `cat_index_76`.`position`, `e`.`display_price_group_0` AS `_rule_priceFROM `catalog_product_flat_1` AS `e`
 
INNER JOIN `catalog_category_product_index` AS `cat_indexON cat_index.product_id=e.entity_id AND cat_index.store_id='1' AND cat_index.category_id='75'
 
INNER JOIN `catalog_category_product_index` AS `cat_index_76ON cat_index_76.product_id=e.entity_id AND cat_index_76.store_id='1' AND cat_index_76.category_id='76' WHERE (cat_index.visibility IN (24)) ORDER BY `positionasc LIMIT 15


Trace
:
#0 /web/uraniadiensten/astroshopurania.be/www/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /web/uraniadiensten/astroshopurania.be/www/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array)
#2 /web/uraniadiensten/astroshopurania.be/www/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT 1 AS `st...', Array)
#3 /web/uraniadiensten/astroshopurania.be/www/lib/Varien/Db/Adapter/Pdo/Mysql.php(259): Zend_Db_Adapter_Pdo_Abstract->query('SELECT 1 AS `st...', Array)
#4 /web/uraniadiensten/astroshopurania.be/www/lib/Zend/Db/Adapter/Abstract.php(668): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#5 /web/uraniadiensten/astroshopurania.be/www/lib/Varien/Data/Collection/Db.php(761): Zend_Db_Adapter_Abstract->fetchAll(Object(Varien_Db_Select), Array)
#6 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(933): Varien_Data_Collection_Db->_fetchAll(Object(Varien_Db_Select))
#7 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(783): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#8 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Catalog/Block/Product/List.php(151): Mage_Eav_Model_Entity_Collection_Abstract->load()
#9 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Catalog_Block_Product_List->_beforeToHtml()
#10 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#11 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
#12 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Catalog/Block/Category/View.php(86): Mage_Core_Block_Abstract->getChildHtml('product_list')
#13 /web/uraniadiensten/astroshopurania.be/www/app/design/frontend/default/default/template/catalog/category/view.phtml(92): Mage_Catalog_Block_Category_View->getProductListHtml()
#14 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Template.php(144): include('/web/uraniadien...')
#15 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#16 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#17 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#18 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#19 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#20 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#21 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#22 /web/uraniadiensten/astroshopurania.be/www/app/design/frontend/default/default/template/page/3columns.phtml(63): Mage_Core_Block_Abstract->getChildHtml('content')
#23 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Template.php(144): include('/web/uraniadien...')
#24 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#25 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#26 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#27 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#28 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Controller/Varien/Action.php(339): Mage_Core_Model_Layout->getOutput()
#29 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Catalog/controllers/CategoryController.php(103): Mage_Core_Controller_Varien_Action->renderLayout()
#30 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Controller/Varien/Action.php(367): Mage_Catalog_CategoryController->viewAction()
#31 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(247): Mage_Core_Controller_Varien_Action->dispatch('view')
#32 /web/uraniadiensten/astroshopurania.be/www/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#33 /web/uraniadiensten/astroshopurania.be/www/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch()
#34 /web/uraniadiensten/astroshopurania.be/www/index.php(52): Mage::run()
#35 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Frederik Bové
Member
 
Total Posts:  58
Joined:  2008-08-26
 

he stops running on the cat_index.position field if I run the query in phpmyadmin

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