1. Kayako Download customers: we will continue to develop and support Kayako Download beyond July 2017, alongside the new Kayako for existing customers.

    Find out more.

Views not showing assigned tickets

Discussion in 'Technical chat' started by Donald Merriman, Sep 26, 2016.

  1. This all the sudden popped up in the error log today and users are not seeing their assigned OPEN tickets regardless of the view they select when clicking "My Tickets"

    Undefined index: dateline (C:/inetpub/wwwroot/kayako/__apps/tickets/staff/class.View_Ticket.php:3101)

    Undefined index: dateline (C:/inetpub/wwwroot/kayako/__apps/tickets/staff/class.View_Ticket.php:3103)

    Below is the section of code it's referring too:

    foreach ($_auditLogContainer as $_actionHash => $_hashContainer) {
    $_diffSeconds = DATENOW - $_hashContainer['dateline'];

    $_renderHTML .= '<tr class="tabletitlerowtitle"><td valign="middle" align="left" class="tabletitlerowtitle" colspan="2"><b>' . SWIFT_Date::Get(SWIFT_Date::TYPE_DATETIME, $_hashContainer['dateline']) . ' - </b>' . SWIFT_Date::ColorTime($_diffSeconds) . '</td></tr>';
    foreach ($_hashContainer['items'] as $_ticketAuditLogID => $_logContainer) {

    $_creatorText = $_logContainer['creatorfullname'];
    if ($_logContainer['creatortype'] == SWIFT_TicketAuditLog::CREATOR_STAFF) {
    $_creatorText .= $this->Language->Get('alstaff');
    } else if ($_logContainer['creatortype'] == SWIFT_TicketAuditLog::CREATOR_USER) {
    $_creatorText .= $this->Language->Get('aluser');
    } else if ($_logContainer['creatortype'] == SWIFT_TicketAuditLog::CREATOR_SYSTEM) {
    $_creatorText .= $this->Language->Get('alsystem');
    } else if ($_logContainer['creatortype'] == SWIFT_TicketAuditLog::CREATOR_PARSER) {
    $_creatorText .= $this->Language->Get('alparser');
    }

    $_renderHTML .= '<tr class="tablerow1_tr"><td valign="middle" align="left" class="tablerow1">' . htmlspecialchars($_logContainer['actionmsg']) . '</td><td valign="middle" align="left" class="tablerow1">' . htmlspecialchars($_creatorText) . '</td></tr>';
    }
    }

    Any assistance would be appreciated.
     
    Last edited: Sep 26, 2016
  2. Updating Ticket - Turns out to be database corruption, we ended up restoring to a previous day snapshot.
     

Share This Page