Advertisement
Guest User

Untitled

a guest
Aug 31st, 2013
626
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. Product Prices index process unknown error:
  2. exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pikomik_magento/catalog_product_index_tier_price`, CONSTRAINT `FK_CAT_PRD_IDX_TIER_PRICE_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_i)' in /home/pikomik/public_html/lib/Zend/Db/Statement/Pdo.php:228
  3. Stack trace:
  4. #0 /home/pikomik/public_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
  5. #1 /home/pikomik/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
  6. #2 /home/pikomik/public_html/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
  7. #3 /home/pikomik/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
  8. #4 /home/pikomik/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `ca...', Array)
  9. #5 /home/pikomik/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `ca...', Array)
  10. #6 /home/pikomik/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php(455): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...')
  11. #7 /home/pikomik/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php(379): Mage_Catalog_Model_Resource_Product_Indexer_Price->_prepareTierPriceIndex()
  12. #8 /home/pikomik/public_html/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): Mage_Catalog_Model_Resource_Product_Indexer_Price->reindexAll()
  13. #9 /home/pikomik/public_html/app/code/core/Mage/Index/Model/Process.php(209): Mage_Index_Model_Indexer_Abstract->reindexAll()
  14. #10 /home/pikomik/public_html/app/code/core/Mage/Index/Model/Process.php(255): Mage_Index_Model_Process->reindexAll()
  15. #11 /home/pikomik/public_html/shell/indexer.php(158): Mage_Index_Model_Process->reindexEverything()
  16. #12 /home/pikomik/public_html/shell/indexer.php(198): Mage_Shell_Compiler->run()
  17. #13 {main}
  18.  
  19. Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pikomik_magento/catalog_product_index_tier_price`, CONSTRAINT `FK_CAT_PRD_IDX_TIER_PRICE_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_i)' in /home/pikomik/public_html/lib/Zend/Db/Statement/Pdo.php:234
  20. Stack trace:
  21. #0 /home/pikomik/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
  22. #1 /home/pikomik/public_html/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
  23. #2 /home/pikomik/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
  24. #3 /home/pikomik/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `ca...', Array)
  25. #4 /home/pikomik/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `ca...', Array)
  26. #5 /home/pikomik/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php(455): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...')
  27. #6 /home/pikomik/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php(379): Mage_Catalog_Model_Resource_Product_Indexer_Price->_prepareTierPriceIndex()
  28. #7 /home/pikomik/public_html/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): Mage_Catalog_Model_Resource_Product_Indexer_Price->reindexAll()
  29. #8 /home/pikomik/public_html/app/code/core/Mage/Index/Model/Process.php(209): Mage_Index_Model_Indexer_Abstract->reindexAll()
  30. #9 /home/pikomik/public_html/app/code/core/Mage/Index/Model/Process.php(255): Mage_Index_Model_Process->reindexAll()
  31. #10 /home/pikomik/public_html/shell/indexer.php(158): Mage_Index_Model_Process->reindexEverything()
  32. #11 /home/pikomik/public_html/shell/indexer.php(198): Mage_Shell_Compiler->run()
  33. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement