Magento Resource | E-Commerce Generation Explorer

TAG | Integrity constraint violation

I moved my one MAGENTO site from test side to the live side.

But when we did test for the website, we were trying to add some item to the shopping bag, but we got the message said:

Integrity constraint violation: 1062 Duplicate entry ‘6’ for key 1

After some research, here is solution:

Go to PHPMyAdmin, find out all tables like Log_*,

Delete all the contents in Log_* except the Log_Summary_type one.

The problem solved.

· · ·

Theme Design by devolux.nh2.me