Skip to content

Instantly share code, notes, and snippets.

@alexknowshtml
Created September 21, 2010 20:27
Show Gist options
  • Save alexknowshtml/590461 to your computer and use it in GitHub Desktop.
Save alexknowshtml/590461 to your computer and use it in GitHub Desktop.
2010-09-21T20:24:20+00:00 ERR (3):
exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '6622-0-1' for key 'PRIMARY'' in /var/www/pwi/site/app/code/local/Zend/Db/Statement/Pdo.php:243
Stack trace:
#0 /var/www/pwi/site/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/pwi/site/lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /var/www/pwi/site/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `ca...', Array)
#3 /var/www/pwi/site/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `ca...', Array)
#4 /var/www/pwi/site/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price/Default.php(516): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...')
#5 /var/www/pwi/site/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price/Default.php(135): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default->_movePriceDataToIndexTable()
#6 /var/www/pwi/site/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price.php(180): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default->reindexEntity('237')
#7 /var/www/pwi/site/app/code/core/Mage/Index/Model/Indexer/Abstract.php(144): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price->catalogProductSave(Object(Mage_Index_Model_Event))
#8 /var/www/pwi/site/app/code/core/Mage/Catalog/Model/Product/Indexer/Price.php(255): Mage_Index_Model_Indexer_Abstract->callEventHandler(Object(Mage_Index_Model_Event))
#9 /var/www/pwi/site/app/code/core/Mage/Index/Model/Indexer/Abstract.php(85): Mage_Catalog_Model_Product_Indexer_Price->_processEvent(Object(Mage_Index_Model_Event))
#10 /var/www/pwi/site/app/code/core/Mage/Index/Model/Process.php(185): Mage_Index_Model_Indexer_Abstract->processEvent(Object(Mage_Index_Model_Event))
#11 [internal function]: Mage_Index_Model_Process->processEvent(Object(Mage_Index_Model_Event))
#12 /var/www/pwi/site/app/code/core/Mage/Index/Model/Indexer.php(252): call_user_func_array(Array, Array)
#13 /var/www/pwi/site/app/code/core/Mage/Index/Model/Indexer.php(154): Mage_Index_Model_Indexer->_runAll('processEvent', Array)
#14 /var/www/pwi/site/app/code/core/Mage/Index/Model/Indexer.php(219): Mage_Index_Model_Indexer->indexEvent(Object(Mage_Index_Model_Event))
#15 /var/www/pwi/site/app/code/core/Mage/Catalog/Model/Product.php(525): Mage_Index_Model_Indexer->processEntityAction(Object(CLS_Custom_Model_Catalog_Product), 'catalog_product', 'save')
#16 [internal function]: Mage_Catalog_Model_Product->afterCommitCallback()
#17 /var/www/pwi/site/app/code/core/Mage/Core/Model/Resource/Abstract.php(104): call_user_func(Array)
#18 /var/www/pwi/site/app/code/core/Mage/Core/Model/Abstract.php(310): Mage_Core_Model_Resource_Abstract->commit()
#19 /var/www/pwi/site/app/code/core/Mage/CatalogInventory/Model/Stock/Item/Api.php(114): Mage_Core_Model_Abstract->save()
#20 [internal function]: Mage_CatalogInventory_Model_Stock_Item_Api->update('CSB000979TAB-1', Array)
#21 /var/www/pwi/site/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php(291): call_user_func_array(Array, Array)
#22 [internal function]: Mage_Api_Model_Server_Handler_Abstract->call('633e9fff3544a80...', 'cataloginventor...', Array)
#23 /var/www/pwi/site/lib/Zend/Server/Abstract.php(232): call_user_func_array(Array, Array)
#24 /var/www/pwi/site/lib/Zend/XmlRpc/Server.php(592): Zend_Server_Abstract->_dispatch(Object(Zend_Server_Method_Definition), Array)
#25 /var/www/pwi/site/lib/Zend/XmlRpc/Server.php(331): Zend_XmlRpc_Server->_handle(Object(Zend_XmlRpc_Request_Http))
#26 /var/www/pwi/site/app/code/core/Mage/Api/Model/Server/Adapter/Xmlrpc.php(101): Zend_XmlRpc_Server->handle()
#27 /var/www/pwi/site/app/code/core/Mage/Api/Model/Server.php(76): Mage_Api_Model_Server_Adapter_Xmlrpc->run()
#28 /var/www/pwi/site/app/code/core/Mage/Api/controllers/XmlrpcController.php(39): Mage_Api_Model_Server->run()
#29 /var/www/pwi/site/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Api_XmlrpcController->indexAction()
#30 /var/www/pwi/site/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#31 /var/www/pwi/site/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#32 /var/www/pwi/site/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#33 /var/www/pwi/site/app/Mage.php(597): Mage_Core_Model_App->run(Array)
#34 /var/www/pwi/site/index.php(111): Mage::run('pwi', 'store')
#35 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment