Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2012-09-14 at 16.20.16.png | 73.25 KB | alexweber |
#5 | Screen Shot 2012-09-14 at 16.20.58.png | 137.68 KB | alexweber |
Comments
Comment #1
yannisc CreditAttribution: yannisc commentedI just tried to install and didn't get that error. Can you please provide more info on your configuration?
Comment #2
alexweber CreditAttribution: alexweber commentedSure, I'm running a OSX Homebrew-based setup with MySQL and PHP 5.3 running strict mode.
Comment #3
yannisc CreditAttribution: yannisc commentedWas the db empty?
Is there a possibility to try again just to check that this wasn't parodic?
Comment #4
alexweber CreditAttribution: alexweber commented@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
Comment #5
alexweber CreditAttribution: alexweber commentedI 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:
but managed to track it in the log:
Something to do with importing commerce products it loos like!
Comment #6
yannisc CreditAttribution: yannisc commentedthanks alexweber! We'll dig into that!
Comment #7
alexweber CreditAttribution: alexweber commentednp!
Comment #8
yannisc CreditAttribution: yannisc commentedI 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.
Comment #9
yannisc CreditAttribution: yannisc commentedComment #10
yannisc CreditAttribution: yannisc commented