0

我已经安装了这个扩展: http: //www.magentocommerce.com/magento-connect/catalog/product/view/id/16917/

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`mysite_testsite2`.`cataloginventory_stock_item`, CONSTRAINT `FK_CATINV_STOCK_ITEM_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) O)

任何想法我将如何解决这个问题?

4

1 回答 1

1

尝试在文件夹 app/code/[local or community]/[companyname]/[modulename]/sql/[modulename]_setup/mysql4-install-xxxphp 下查找文件

你所做的只是修复创建表 sql ......

祝你好运:D

于 2013-04-10T02:06:59.397 回答