0

我使用的是 magento 1.13.02 版本,其中有一个名为 staging website 的功能。我们可以在登台网站中创建一些产品并在我们感到满意时对其进行测试,然后我们可以将它们合并到主网站。

当我尝试合并网站时,我得到以下日志

*>     Exception message: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key
> constraint fails
> (`backup_magentocuat2`.`s_2b_11_catalog_product_website`, CONSTRAINT
> `FK_S_2B_11_CAT_PRD_WS_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY
> (`product_id`) REFERENCES `catalog_product_entity` (`entity_)
>     Trace: #0 /var/www/canon_staging/lib/Varien/Db/Statement/Pdo/Mysql.php(110):
> Zend_Db_Statement_Pdo->_execute(Array)*
4

0 回答 0