问题
I am getting error while trying to create any product attribute.
This is the error i am getting. I have nothing else to share.
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
kingshop.eav_attribute_label, CONSTRAINTFK_EAV_ATTRIBUTE_LABEL_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_IDFOREIGN KEY (attribute_id) REFERENCESeav_attributex(attribute_id) ON DEL)
N.B -> I have checked the Engines. All EAV tables are using INNODB engines.
&& This error is showing while trying to create attribute from magento backend. No frontend installer.
来源:https://stackoverflow.com/questions/23334738/error-while-trying-to-create-product-attributes-from-magento-backend