SHARE
TWEET

Error magento

a guest May 6th, 2013 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, price_index.price AS `indexed_price`, `price_index`.`price`, `price_index`.`final_price`, IF(`price_index`.`tier_price`, LEAST(`price_index`.`min_price`, `price_index`.`tier_price`), `price_index`.`min_price`) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, IF(at_special_from_date.value_id > 0, at_special_from_date.value, at_special_from_date_default.value) AS `special_from_date`, IF(at_special_to_date.value_id > 0, at_special_to_date.value, at_special_to_date_default.value) AS `special_to_date` FROM `catalog_product_entity` AS `e`
  2.  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='2'
  3.  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
  4.  INNER JOIN `catalog_product_entity_datetime` AS `at_special_from_date_default` ON (`at_special_from_date_default`.`entity_id` = `e`.`entity_id`) AND (`at_special_from_date_default`.`attribute_id` = '66') AND `at_special_from_date_default`.`store_id` = 0
  5.  LEFT JOIN `catalog_product_entity_datetime` AS `at_special_from_date` ON (`at_special_from_date`.`entity_id` = `e`.`entity_id`) AND (`at_special_from_date`.`attribute_id` = '66') AND (`at_special_from_date`.`store_id` = 1)
  6.  LEFT JOIN `catalog_product_entity_datetime` AS `at_special_to_date_default` ON (`at_special_to_date_default`.`entity_id` = `e`.`entity_id`) AND (`at_special_to_date_default`.`attribute_id` = '67') AND `at_special_to_date_default`.`store_id` = 0
  7.  LEFT JOIN `catalog_product_entity_datetime` AS `at_special_to_date` ON (`at_special_to_date`.`entity_id` = `e`.`entity_id`) AND (`at_special_to_date`.`attribute_id` = '67') AND (`at_special_to_date`.`store_id` = 1) WHERE (IF(at_special_from_date.value_id > 0, at_special_from_date.value, at_special_from_date_default.value) <= '2013-05-06 06:21:48') AND (((((IF(at_special_to_date.value_id > 0, at_special_to_date.value, at_special_to_date_default.value) >= '2013-05-06 06:21:48') OR (IF(at_special_to_date.value_id > 0, at_special_to_date.value, at_special_to_date_default.value) IS null))))) ORDER BY `flash` ASC, `price_index`.`min_price` asc LIMIT 8
  8.  
  9. <br />
  10. <strong>Trace:</strong>
  11. #0 /Users/Maggie/Sites/Aptana/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo-&gt;_execute(Array)
  12. #1 /Users/Maggie/Sites/Aptana/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql-&gt;_execute(Array)
  13. #2 /Users/Maggie/Sites/Aptana/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement-&gt;execute(Array)
  14. #3 /Users/Maggie/Sites/Aptana/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract-&gt;query('SELECT `e`.*, `...', Array)
  15. #4 /Users/Maggie/Sites/Aptana/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract-&gt;query('SELECT `e`.*, `...', Array)
  16. #5 /Users/Maggie/Sites/Aptana/lib/Zend/Db/Adapter/Abstract.php(734): Varien_Db_Adapter_Pdo_Mysql-&gt;query('SELECT `e`.*, `...', Array)
  17. #6 /Users/Maggie/Sites/Aptana/lib/Varien/Data/Collection/Db.php(734): Zend_Db_Adapter_Abstract-&gt;fetchAll('SELECT `e`.*, `...', Array)
  18. #7 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1047): Varien_Data_Collection_Db-&gt;_fetchAll('SELECT `e`.*, `...')
  19. #8 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(871): Mage_Eav_Model_Entity_Collection_Abstract-&gt;_loadEntities(false, false)
  20. #9 /Users/Maggie/Sites/Aptana/lib/Varien/Data/Collection.php(752): Mage_Eav_Model_Entity_Collection_Abstract-&gt;load()
  21. #10 /Users/Maggie/Sites/Aptana/app/design/frontend/jardiloisirs/default/template/catalog/product/promos_new_list.phtml(7): Varien_Data_Collection-&gt;count()
  22. #11 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Template.php(241): include('/Users/Maggie/S...')
  23. #12 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template-&gt;fetchView('frontend/jardil...')
  24. #13 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template-&gt;renderView()
  25. #14 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template-&gt;_toHtml()
  26. #15 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Model/Email/Template/Filter.php(191): Mage_Core_Block_Abstract-&gt;toHtml()
  27. #16 [internal function]: Mage_Core_Model_Email_Template_Filter-&gt;blockDirective(Array)
  28. #17 /Users/Maggie/Sites/Aptana/lib/Varien/Filter/Template.php(134): call_user_func(Array, Array)
  29. #18 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Model/Email/Template/Filter.php(502): Varien_Filter_Template-&gt;filter('&lt;p&gt;{{block type...')
  30. #19 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Cms/Block/Page.php(100): Mage_Core_Model_Email_Template_Filter-&gt;filter('&lt;p&gt;{{block type...')
  31. #20 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Cms_Block_Page-&gt;_toHtml()
  32. #21 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract-&gt;toHtml()
  33. #22 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(522): Mage_Core_Block_Abstract-&gt;_getChildHtml('cms_page', true)
  34. #23 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Page/Block/Html/Wrapper.php(52): Mage_Core_Block_Abstract-&gt;getChildHtml('', true, true)
  35. #24 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Page_Block_Html_Wrapper-&gt;_toHtml()
  36. #25 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract-&gt;toHtml()
  37. #26 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List-&gt;_toHtml()
  38. #27 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract-&gt;toHtml()
  39. #28 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract-&gt;_getChildHtml('content', true)
  40. #29 /Users/Maggie/Sites/Aptana/app/design/frontend/jardiloisirs/default/template/page/2columns-left.phtml(19): Mage_Core_Block_Abstract-&gt;getChildHtml('content')
  41. #30 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Template.php(241): include('/Users/Maggie/S...')
  42. #31 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template-&gt;fetchView('frontend/jardil...')
  43. #32 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template-&gt;renderView()
  44. #33 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template-&gt;_toHtml()
  45. #34 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract-&gt;toHtml()
  46. #35 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout-&gt;getOutput()
  47. #36 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action-&gt;renderLayout()
  48. #37 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page-&gt;_renderPage(Object(Mage_Cms_PageController), '9')
  49. #38 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Cms/controllers/PageController.php(45): Mage_Cms_Helper_Page-&gt;renderPage(Object(Mage_Cms_PageController), '9')
  50. #39 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Cms_PageController-&gt;viewAction()
  51. #40 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action-&gt;dispatch('view')
  52. #41 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard-&gt;match(Object(Mage_Core_Controller_Request_Http))
  53. #42 /Users/Maggie/Sites/Aptana/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front-&gt;dispatch()
  54. #43 /Users/Maggie/Sites/Aptana/app/Mage.php(683): Mage_Core_Model_App-&gt;run(Array)
  55. #44 /Users/Maggie/Sites/Aptana/index.php(87): Mage::run('', 'store')
  56. #45 {main}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top