Hello,
I tried upgrading to the latest beta of 2.0, but when I run update.php I get this error:
Update #7200
Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'thumbnail' for key 'machine_name': INSERT INTO {breakpoint_group} (machine_name, name, breakpoints, type) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => thumbnail [:db_insert_placeholder_1] => thumbnail [:db_insert_placeholder_2] => a:4:{i:0;s:26:"custom.user.update.default";i:1;s:25:"custom.user.update.narrow";i:2;s:25:"custom.user.update.normal";i:3;s:23:"custom.user.update.wide";} [:db_insert_placeholder_3] => custom ) in drupal_write_record() (line 7013 of /var/www/clients/client2/web2/web/includes/common.inc).
I followed the instructions on the module page to upgrade:
Disable Responsible images and styles (do not uninstall)
Download Breakpoints, CTools and Field formatter settings.
Enable Responsible images and styles again (along with its requirements Breakpoints, CTools and Field formatter settings).
But, like I said, I get that above error.
Any ideas what may be wrong?
Thanks!
Comments
Comment #1
attiks commentedYou know 7.x-2.x is still in active development, a lot my still change.
I assume you have multiple image styles with thumbnail inside the name, if so that might be the reason.
Can you provide me a list of your image styles and suffixes (from the 7.x-1.x version)?
Comment #2
attiks commentedBTW: If you do want to update, better update to the dev version
Comment #3
georgedamonkey commentedYeah, I have a few with thumbnail in the name. Here are all my image styles:
thumbnail
medium
large
square_thumbnail
thumbnail_mobile
thumbnail_narrow
thumbnail_normal
thumbnail_wide
Here are the suffixes:
I'm not able to see the suffixes any more after attempting the upgrade, but I believe these were it:
_narrow
_normal
_wide
I also just tried upgrading to the dev version, so once I can upgrade, I'll be at that.
Comment #4
jelle_sshould be fixed in latest dev. Can you try again?
Comment #5
georgedamonkey commentedYup, that seems to have worked.
Thanks!
Comment #6
jelle_s