Hi,
i select some images and click upload. One image is uploaded. I see this in the ftp. But then i get following message. i get the error not always.

Eine AJAX-Anfrage ist abnormal beendet worden.
Im Folgenden finden Sie Debugging-Informationen.
Pfad: /file/ajax/field_bilder/und/form-SuH_Xnnfq1Qz77PYdglv1jhMjBpDbm-Hq6d7JDPIyQc
Statustext: n/a
Antworttext: 
Fehler  
Fehlermeldung
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'public://kerzen/AH-Hochzeit-07-1.JPG' for key 'uri': INSERT INTO {file_managed} (uid, filename, uri, filemime, filesize, status, timestamp, 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); Array
(
[:db_insert_placeholder_0] => 1
[:db_insert_placeholder_1] => AH-Hochzeit-07-1.JPG
[:db_insert_placeholder_2] => public://kerzen/AH-Hochzeit-07-1.JPG
[:db_insert_placeholder_3] => image/jpeg
[:db_insert_placeholder_4] => 64927
[:db_insert_placeholder_5] => 0
[:db_insert_placeholder_6] => 1390423600
[:db_insert_placeholder_7] => image
)
in drupal_write_record() (Zeile 7194 von /var/www/virtual/wachs/html/includes/common.inc).
Auf der Website ist ein unvorhergesehener Fehler aufgetreten. Bitte versuchen Sie es später nochmal.    

ReadyState: undefined

Comments

czigor’s picture

Status: Active » Postponed (maintainer needs more info)

Could you add some more information on how to reproduce this? Something like this:
1. I select 2 images and click upload. Only one image gets uploaded.
2. I save the node.
3. I get the error message.

swarad07’s picture

Getting the same error, there are no specific steps here. Just select bunch of images and upload them and sometimes you get the error.

Looks to me like this error might be related to #1163740: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 2: INSERT INTO {file_managed}.