Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Database errors

edited February 2017 in General Discussions
Can anyone advise me on what error this is pointing to? Not sure how to resolve.

[INSERT INTO `ost_attachment` SET `file_id` = 5012, `object_id` = '1372665810', `type` = 'E']

Duplicate entry '1372665810-5012-E' for key 'file-type'<br />

<br />

---- Backtrace ----<br />

#0 (root)/include/mysqli.php(204)
: osTicket->logDBError('DB Error #1062', '[INSERT INTO `o...')<br />

#1 (root)/include/class.orm.php(3133): db_query('INSERT INTO `os...', true, true)<br />

#2 (root)/include/class.orm.php(597): MySqlExecutor->execute()<br />

#3 (root)/include/class.attachment.php(161): VerySimpleModel->save()<br />

#4 (root)/include/class.attachment.php(119): GenericAttachments->upload(Array, false, false)<br />

#5 (root)/include/class.forms.php(2765): GenericAttachments->keepOnlyFileIds(Array)<br />

#6 (root)/include/class.dynamic_forms.php(1176): FileUploadField->to_database(Array)<br />

#7 (root)/include/class.ticket.php(2838): DynamicFormEntry->getChanges()<br />

#8 (root)/scp/tickets.php(196): Ticket->update(Array, Array)<br />

#9 {main}


  • This does not appear to be a Suggestion of Feedback.  Moving thread to general discussion.

    It literally says that you have two attachments with the same identifiers.
Sign In or Register to comment.