Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

I am having SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: 
 
partha
Jr. Member
 
Total Posts:  13
Joined:  2008-09-07
 

I haveing thins problem in admin section after upgrading magento to 1.2.0.1, SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`irciycom_magento/weee_discount`, CONSTRAINT `FK_CATALOG_PRODUCT_ENTITY_WEEE_DISCOUNT_PRODUCT_ENTITY` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASC). All tables mention here is InnoDB. Can any one please help me to solve this problem?

 
Magento Community Magento Community
Magento Community
Magento Community
 
markf
Sr. Member
 
Total Posts:  145
Joined:  2007-09-20
 

I am having the same exact issue, did you ever find a fix?

 
Magento Community Magento Community
Magento Community
Magento Community
 
partha
Jr. Member
 
Total Posts:  13
Joined:  2008-09-07
 

No I have not

 
Magento Community Magento Community
Magento Community
Magento Community
 
kulimuli
Sr. Member
 
Total Posts:  151
Joined:  2008-03-31
Linz, Oberösterreich
 

see http://www.magentocommerce.com/boards/viewthread/27645/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top