2013-04-08 55 views
0

我已經安裝了這個擴展: http://www.magentocommerce.com/magento-connect/catalog/product/view/id/16917/Magento的 - DB錯誤與產品延伸

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) 

任何想法如何,我會去修復呢?

回答

1

嘗試文件夾下的應用程序尋找文件/代碼/ [地方或社區]/[公司名稱]/[模塊名]/SQL/[模塊名] _setup/mysql4安裝-xxxphp

你做的是剛修好創建表sql ...

祝你好運:D