【发布时间】:2014-05-02 06:39:05
【问题描述】:
我在 magento 中遇到了一个大问题。
当我没有与客户登录时,我可以更新购物车项目。但是当我与客户登录时,它会显示 无法更新购物车。
我启用了它说的日志:-
exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint
violation: 1452 Cannot add or update a child row: a foreign key constraint
fails
(`databasename`.`wishlist`, CONSTRAINT
`FK_WISHLIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID`
FOREIGN KEY (`customer_id`)
REFERENCES `customer_entity_old` (`entity_id`) ON DELETE CASCADE ON UPDATE CA)
请帮忙
【问题讨论】:
标签: magento magento-1.7 cart