Magento Foreign Key Constraints

Nobody can order Magento website. I have this message :

Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`bdd_www14`.`salesrule_product_attribute`, CONSTRAINT `FK_SALESRULE_PRODUCT_ATTRIBUTE_CUSTOMER_GROUP` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) O)' in [...]/htdocs/lib/Zend/Db/Statement/Pdo.php:234

How can I get rid of this error?

Answers


It's Good...

If someone have this, the problem is due to a delete of a group of user. I have restore the group in the database and all is ok.


Need Your Help

How to Sync Multiple ListViews Android

java android listview

I am displaying data: 3 fields for each record, 3 ListViews are currently displaying the corresponding data.

When retrieving data from an RSS feed, is it possible to extract the actual body of the text?

objective-c ios rss

I've found several tutorials for making iphone apps that load data from an RSS feed, but they only extract the URL and then load the page from the internet in a WebView.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.