The “SQLSTATE: Integrity Constraint Violation” Error
|Add to Favourites|
Numerous people have been emailed in to me over the past week as they have been discovering an error when trying to Manage their Stores in the Magento Admin system. We’ve also been told that the error also appeared for one user on the front end, moments after they added products and moved some images via FTP.
The full error shows the text:
SQLSTATE: Integrity constraint violation: 1052 Column ‘name’ in where clause is ambiguous
This error is usually caused by one of your plugins which is causing a conflict with the Magento installation. In this situation you are advised to disable each plugin one by one, and see when the error disappears. Unfortunately, in Magento’s early stage, a lot of plugins seem to manage to being out the bugs in the software – and it is more than likely that it is one of these which is doing the damage.
This article was written by Sam Davis on January 7, 2009.
Computing over a glass of Grenache Shiraz... again!
Sam is the Editor of Blasted Thing. Contact Us
Can’t Load Magento Page – The Error Report Feature