Quantcast
Channel: Recent Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 7550

DB Error - Inserting picture in topic

$
0
0
Hey Osticket.

I have upgraded to 1.10 i just recived this DB error when inserting pictures into a reply.

[INSERT INTO `ostNy_attachment` SET `file_id` = 584,
`type` = 'D', `object_id` = 18697, `name` = 'screenshot-mb4E']
Duplicate entry '18697-584-D' 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/ajax.draft.php(101):
GenericAttachments->upload(Array)<br />
#5 (root)/include/ajax.draft.php(300):
DraftAjaxAPI->_uploadInlineImage(Object(Draft))<br />
#6 [internal function]:
DraftAjaxAPI->uploadInlineImage('18697')<br />
#7 (root)/include/class.dispatcher.php(145):
call_user_func_array(Array, Array)<br />
#8 (root)/include/class.dispatcher.php(38):
UrlMatcher->dispatch('18697/attach', Array)<br />
#9 (root)/include/class.dispatcher.php(120):
Dispatcher->resolve('18697/attach', Array)<br />
#10 (root)/include/class.dispatcher.php(38):
UrlMatcher->dispatch('/draft/18697/at...', NULL)<br />
#11 (root)/scp/ajax.php(262):
Dispatcher->resolve('/draft/18697/at...')<br />
#12 {main}

Server Information
osTicket Versionv1.10 (901e5ea) —  Up to date
Web Server SoftwareApache/2.2.22 (Debian)
MySQL Version5.5.52
PHP Version5.5.38-1~dotdeb+7.1


Viewing all articles
Browse latest Browse all 7550

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>