Quantcast
Channel: Troubleshooting and Problems Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 568

Custom Field on Initial edit throwing Table 'osticketdb.ost_ticket__cdata' doesn't exist

$
0
0
Hello,
I have v1.9.14 on a centos 7 with a custom field, cdata.SWO (SWO is the name of the field, it is internal, optional).  Upon the first, initial edit of the ticket to change that field, I get the table cdata doesn't exist error. It actually shows up as two errors, DB Error #1146.
Immediately after the edit, I run the query and the table does not exist.  However, when I click on the open tickets page, the table is available(Query executes successfully).

Is this issue duplicated by others?
#1545 is the only issue I see on it, and it does not seem to apply or give ideas on how to resolve.

Really appreciate any help!
thanks!


ERROR #2
[SELECT ticket.*, lock_id, dept_name , IF(sla.id IS NULL, NULL, DATE_ADD(ticket.created, INTERVAL sla.grace_period HOUR)) as sla_duedate , count(distinct attach.attach_id) as attachments, cdata.SWO FROM ost_ticket ticket LEFT JOIN ost_department dept ON (ticket.dept_id=dept.dept_id) LEFT JOIN ost_sla sla ON (ticket.sla_id=sla.id AND sla.isactive=1) LEFT JOIN ost_ticket_lock tlock ON ( ticket.ticket_id=tlock.ticket_id AND tlock.expire>NOW()) LEFT JOIN ost_ticket_attachment attach ON ( ticket.ticket_id=attach.ticket_id) LEFT JOIN ost_ticket__cdata cdata ON ( ticket.ticket_id=cdata.ticket_id) WHERE ticket.ticket_id=71 GROUP BY ticket.ticket_id] Table 'osticketdb.ost_ticket__cdata' doesn't exist

---- Backtrace ----
#0 (root)/include/mysqli.php(177): osTicket->logDBError('DB Error #1146', '[SELECT ticket...')
#1 (root)/include/class.ticket.php(100): db_query('SELECT ticket....')
#2 (root)/include/class.ticket.php(144): Ticket->load()
#3 (root)/scp/tickets.php(343): Ticket->reload()
#4 {main}


ERROR #1
[SELECT ticket.*, lock_id, dept_name , IF(sla.id IS NULL, NULL, DATE_ADD(ticket.created, INTERVAL sla.grace_period HOUR)) as sla_duedate , count(distinct attach.attach_id) as attachments, cdata.SWO FROM ost_ticket ticket LEFT JOIN ost_department dept ON (ticket.dept_id=dept.dept_id) LEFT JOIN ost_sla sla ON (ticket.sla_id=sla.id AND sla.isactive=1) LEFT JOIN ost_ticket_lock tlock ON ( ticket.ticket_id=tlock.ticket_id AND tlock.expire>NOW()) LEFT JOIN ost_ticket_attachment attach ON ( ticket.ticket_id=attach.ticket_id) LEFT JOIN ost_ticket__cdata cdata ON ( ticket.ticket_id=cdata.ticket_id) WHERE ticket.ticket_id=71 GROUP BY ticket.ticket_id] Table 'osticketdb.ost_ticket__cdata' doesn't exist

---- Backtrace ----
#0 (root)/include/mysqli.php(177): osTicket->logDBError('DB Error #1146', '[SELECT ticket...')
#1 (root)/include/class.ticket.php(100): db_query('SELECT ticket....')
#2 (root)/include/class.ticket.php(144): Ticket->load()
#3 (root)/include/class.ticket.php(2304): Ticket->reload()
#4 (root)/scp/tickets.php(230): Ticket->update(Array, Array)
#5 {main}

Viewing all articles
Browse latest Browse all 568

Trending Articles



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