Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert Error I Received #639

Closed
ghost opened this issue Mar 3, 2014 · 3 comments
Closed

Alert Error I Received #639

ghost opened this issue Mar 3, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 3, 2014

This isn't causing any particular issue that I'm aware of, I just got this alert e-mail this morning and wanted to pass it along:

[INSERT INTO ost_attachment SET type='D',object_id=6538,file_id=2008,inline='0']

Duplicate entry '6538-2008-D' for key 'PRIMARY'


---- Backtrace ----

#0 (root)/include/mysqli.php(138): osTicket->logDBError('DB Error #1062', '[INSERT INTO os...')

#1 (root)/include/class.attachment.php(131): db_query('INSERT INTO ost...')

#2 (root)/include/ajax.draft.php(80): GenericAttachments->upload(Array)

#3 (root)/include/ajax.draft.php(235): DraftAjaxAPI->_uploadInlineImage(Object(Draft))

#4 [internal function]: DraftAjaxAPI->uploadInlineImage('6538')

#5 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)

#6 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('6538/attach', Array)

#7 (root)/include/class.dispatcher.php(120): Dispatcher->resolve('6538/attach', Array)

#8 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/draft/6538/att...', NULL)

#9 (root)/scp/ajax.php(114): Dispatcher->resolve('/draft/6538/att...')

#10 {main}

http://helpdesk

@greezybacon
Copy link
Contributor

Out of curiosity, did you attach the same file more than once?

@ghost
Copy link
Author

ghost commented Mar 3, 2014

I apologize I don't know the source of this at all. It was just an alert that was emailed to the systems admin email address. If there is some way I can retrieve more information to assist, I'd be glad to. I'm honestly not sure if this even caused any issue for us, I just wanted to pass it along.

@greezybacon greezybacon added annoyance and removed bug labels Mar 3, 2014
@monkiki
Copy link

monkiki commented Apr 23, 2014

I have also detected this error, but I don't know how was produced :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants