tikajhq / tiket

TIKET is a ticketing/helpdesk system to support and help you deal with issues/incidents in your organization or from customers.
https://www.tikaj.com
95 stars 35 forks source link

The reply button on comments does not automatically reload when I give a comment and press the reply button #8

Open petrukkyaipethel opened 4 years ago

petrukkyaipethel commented 4 years ago

2020-10-06_13-04 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

eksha commented 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.

petrukkyaipethel commented 4 years ago

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.

petrukkyaipethel commented 4 years ago

2020-10-12_13-02

please can you help me ?

petrukkyaipethel commented 4 years ago

The helpdesk ticket login display is not working properly.

eksha commented 4 years ago

@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');

petrukkyaipethel commented 4 years ago

but I have a problem, when creating a new ticket, without attaching the file, the application will not run properly

on tikaj helpdesk

ianarman1 commented 4 years ago

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?

ddiaz2380 commented 3 years ago

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!

eksha commented 3 years ago

@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.

ddiaz2380 commented 3 years ago

Thanks! @eksha because the project is very nice, a shame to let it die.

mariolugo2 commented 2 years ago

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)); }

}