Fresh 7.x-1.0 install.

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '128' for key 'sku'

That said, it does seem to install properly with a bunch of demo content.


I just tried to install and didn't get that error. Can you please provide more info on your configuration?

Sure, I'm running a OSX Homebrew-based setup with MySQL and PHP 5.3 running strict mode.

Was the db empty?

Is there a possibility to try again just to check that this wasn't parodic?

@yannisc yeah totally empty, it was my 1st time ever installing it
ill do a re-run over here and see if that still happens

I re-downloaded, created a new database and re-installed. This time I did however alter the profile's .info to enable Database Logging so I could debug this properly. Related issue: #1785096: Database Logging shouldn't be disabled by default

I got the same eror: Screen Shot 2012-09-14 at 16.20.16.png

but managed to track it in the log: Screen Shot 2012-09-14 at 16.20.58.png

Something to do with importing commerce products it loos like!

thanks alexweber! We'll dig into that!


I installed the 1.1 version which has database logging enabled, but I don't get any error on the logs. Everything is clean.

Besides that, I checked the file profiles/opendeals/demo_content/products.txt which is meant to import the initial, demo products, there's only one product with SKU 128, so I don't understand why should this be a "duplicate entry" on an empty db.

Status:Active» Postponed (maintainer needs more info)

Status:Postponed (maintainer needs more info)» Closed (cannot reproduce)