Open petrukkyaipethel opened 4 years ago
@petrukkyaipethel can you share the browser console screenshot after you click on the Reply button in case of the only comment? We need to see if there is any javascript error.
You can try it yourself, when you input comments without using attachments, there is no error but must be reloaded in the browser so that the comment results appear. that's the problem.
please can you help me ?
The helpdesk ticket login display is not working properly.
@petrukkyaipethel There is a setting in client.config.php
define('BASE_URL', 'http://localhost:8080/');
It might be mentioned the same as above, but in your case, the base URL is 'http://localhost/tiket'
Please change the line to define('BASE_URL', 'http://localhost/tiket');
but I have a problem, when creating a new ticket, without attaching the file, the application will not run properly
on tikaj helpdesk
I have installed the GitHub - although I'm receiving the following message: 'Note: Email notifications have been disabled in this demo version.' How do I enable the 'full' version?
I have the same error, it does not save the ticket, if it does not add a file. Actually ... when you do not add a file and press create if it is saved, only you do not perform the event of going to the ticket view as if it were complete, you must refresh the page manually and it is added. It also does not send the configure client.config.php mails but it does not send, I want to send through smtp.gmail.com and it does not do it. The app is great, with some repairs it is incredible and has a great view design. Greetings!
@ddiaz2380 I have addressed your issue with the emails not being sent here
Regarding this particular bug with file attachments, I will soon try to take out time and fix it.
Thanks! @eksha because the project is very nice, a shame to let it die.
try this in
application / controllers / API / Ticket.php
public function addThreadMessage() { $thread_data = [ 'ticket' => $this->input->post('ticket_no'), 'message' => $this->input->post('message'), 'data' => json_encode($this->input->post('data')), 'owner' => $this->Session->getLoggedDetails()['username'], 'created' => time(), 'type' => $this->input->post('type') ]; if (trim($thread_data['message']) == '') { $this->sendJSON(array('result'=> -1)); } else { $res = $this->Tickets->add_thread($thread_data); //thiss if (!empty($this->input->post('data')['attachments'])) $this->Tickets->addAttachmentRef($this->input->post('data')['attachments'], $this->input->post('ticket_no')); $this->sendJSON(array('result'=> $res)); }
}
the reply button on the comment when pressed does not reload, it is just silent, there is no response, but the comment data is entered, while when attaching a file, the reply button reloads. does he work like that? thanks you