0

我无法从 magento 管理面板重新索引产品价格

Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '7bec5e01e314f80cce1226696b6b29edc' for key 'PRIMARY'' in /usr/local/psa/admin/plib/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /usr/local/psa/admin/plib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /usr/local/psa/admin/plib/Zend/Db/Adapter/Abstract.php(433): Zend_Db_Statement->execute(Array) #2 /usr/local/psa/admin/plib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('INSERT INTO `se...', Array) #3 /usr/local/psa/admin/plib/Zend/Db/Adapter/Abstract.php(511): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `se...', Array) #4 /usr/local/psa/admin/plib/Zend/Db/Table/Abstract.php(924): Zend_Db_Adapter_Abstract->insert('sessions', Array) #5 /usr/local/psa/admin/plib/Zend/Session/SaveHandler/DbTable.php(354): Zend_Db_Table_Abstract->insert(Array) #6 /usr/local/psa/admin/plib/CommonPanel/Session/SaveHandler.php(48): Zend_Session_SaveH in /usr/local/psa/admin/plib/Zend/Db/Statement/Pdo.php on line 238
4

1 回答 1

0

这个错误是针对哪个表的?导致错误的查询是什么?

我刚刚修复了一个客户的垃圾场。当您找到您时,是否引发了错误以及查询是什么,您就会发现问题。

catalog_product_entity_tier_price我找到了已删除的等级价格。

于 2013-02-23T08:19:25.237 回答