Skip to Store Area:

Previdenciário

SELECT DISTINCT `e`.*, `cat_index`.`position` AS `cat_index_position`, `_price_rule`.`rule_price` AS `_rule_price` FROM `catalog_product_entity` 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='8'
 LEFT JOIN `catalogindex_price` AS `price_table_price` ON price_table_price.entity_id=e.entity_id
 LEFT JOIN `catalogrule_product_price` AS `_price_rule` ON _price_rule.product_id = e.entity_id AND _price_rule.rule_date = '2018-01-23' AND _price_rule.website_id = '1' AND _price_rule.customer_group_id = '0' WHERE (price_table_price.website_id = '1') AND (price_table_price.attribute_id = '60') AND (price_table_price.customer_group_id = 0) AND (((price_table_price.value)*1) >= 200) AND (((price_table_price.value)*1) < 300) ORDER BY `cat_index_position` desc, `cat_index`.`product_id` desc LIMIT 8

SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_506_0.MYI' (Errcode: 28)

#0 /var/www/html/editoramundojuridico/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/html/editoramundojuridico/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array)
#2 /var/www/html/editoramundojuridico/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#3 /var/www/html/editoramundojuridico/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#4 /var/www/html/editoramundojuridico/lib/Zend/Db/Adapter/Abstract.php(668): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#5 /var/www/html/editoramundojuridico/lib/Varien/Data/Collection/Db.php(771): Zend_Db_Adapter_Abstract->fetchAll(Object(Varien_Db_Select), Array)
#6 /var/www/html/editoramundojuridico/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(934): Varien_Data_Collection_Db->_fetchAll(Object(Varien_Db_Select))
#7 /var/www/html/editoramundojuridico/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(784): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#8 /var/www/html/editoramundojuridico/app/code/core/Mage/Catalog/Block/Product/List.php(167): Mage_Eav_Model_Entity_Collection_Abstract->load()
#9 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Catalog_Block_Product_List->_beforeToHtml()
#10 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#11 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
#12 /var/www/html/editoramundojuridico/app/code/core/Mage/Catalog/Block/Category/View.php(81): Mage_Core_Block_Abstract->getChildHtml('product_list')
#13 /var/www/html/editoramundojuridico/app/design/frontend/default/hellopress/template/catalog/category/view.phtml(91): Mage_Catalog_Block_Category_View->getProductListHtml()
#14 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Template.php(144): include('/var/www/html/e...')
#15 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#16 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#17 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#18 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#19 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#20 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#21 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#22 /var/www/html/editoramundojuridico/app/design/frontend/default/hellopress/template/page/2columns-left.phtml(63): Mage_Core_Block_Abstract->getChildHtml('content')
#23 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Template.php(144): include('/var/www/html/e...')
#24 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#25 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#26 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#27 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#28 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
#29 /var/www/html/editoramundojuridico/app/code/core/Mage/Catalog/controllers/CategoryController.php(115): Mage_Core_Controller_Varien_Action->renderLayout()
#30 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Catalog_CategoryController->viewAction()
#31 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('view')
#32 /var/www/html/editoramundojuridico/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#33 /var/www/html/editoramundojuridico/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#34 /var/www/html/editoramundojuridico/index.php(65): Mage::run()
#35 {main}