I installed the module, enabled it, and edited two of the image style presets to include the default adaptive settings.
I went to a node that had an image field with an image already in it (that was broken). I deleted that image, and tried to upload a new one.
This was the error message I got when I clicked "upload". I close the popup, and tried to save the node anyway. When I did, the image was successfully saved, and the adaptive scaling worked. I just wanted to report this error. I could not reproduce the error, but now when I go back in to edit the node, it says "Notice: Undefined index: effect callback in image_effect_apply() (line 1159 of /Users/my_name/Sites/site_directory/docroot/modules/image/image.module)." at the top of the screen.
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /file/ajax/field_recipient_his_image/und/0/form-ZVfOnzeVpxd1RCo5ca3h50BU1qPobak9pfgSYKk3EwQ
StatusText: n/a
ResponseText:
Error
Error message
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'public://acra_graph.jpg' for key 'uri': INSERT INTO {file_managed} (uid, filename, uri, filemime, filesize, status, timestamp, origname, type) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8); Array
(
[:db_insert_placeholder_0] => 1
[:db_insert_placeholder_1] => acra_graph.jpg
[:db_insert_placeholder_2] => public://acra_graph.jpg
[:db_insert_placeholder_3] => image/jpeg
[:db_insert_placeholder_4] => 65007
[:db_insert_placeholder_5] => 0
[:db_insert_placeholder_6] => 1326401307
[:db_insert_placeholder_7] => acra_graph.jpg
[:db_insert_placeholder_8] => image
)
in drupal_write_record() (line 6888 of /Users/my_name/Sites/site_directory/docroot/includes/common.inc).
The website encountered an unexpected error. Please try again later.
ReadyState: undefined
Comments
Comment #1
kleve commentedLooks like the same problem in issue http://drupal.org/node/1371894.
Comment #2
sanduhrsNo idea, where the PDOException comes from.
The other issue has been fixed in #1371894: Images in correct Image Style folder, but not resized
Please reopen if you can provide more information on and reproduce the PDOException.