View Ticket 500 error when status is solved

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
leandrojcaetano
Posts: 1
Joined: Mon Sep 26, 2022 2:28 pm

View Ticket 500 error when status is solved

Post by leandrojcaetano »

Version: 3.4.0

Hi, when ticket status is set to solved... the view ticket page shows 500 error.
The same error appears on the demo page.
Image

error log:

Code: Select all

Mon Sep 26 10:22:56.060051 2022] [php:error] [pid 17646] [client :0] PHP Fatal error:  Uncaught Error: Call to undefined function hesk3_output_drag_and_drop_script() in /var/www/html/hesk/theme/hesk3/customer/view-ticket/view-ticket.php:309\nStack trace:\n#0 /var/www/html/hesk/inc/common.inc.php(2534): include()\n#1 /var/www/html/hesk/ticket.php(262): {closure}()\n#2 {main}\n  thrown in /var/www/html/hesk/theme/hesk3/customer/view-ticket/view-ticket.php on line 309
line: 309

Code: Select all

<?php hesk3_output_drag_and_drop_script('r_attachments'); ?>
I solved it by putting this line into theme/hesk3/customer/view-ticket/view-ticket.php

Code: Select all

require_once(TEMPLATE_PATH . 'customer/util/attachments.php');
BR,
Klemen
Site Admin
Posts: 10135
Joined: Fri Feb 11, 2005 4:04 pm

Re: View Ticket 500 error when status is solved

Post by Klemen »

Nice catch, thank you for reporting this!

I guess no one noticed it before, because the page normally displays in most browsers/servers anyway.

Will be fixed in 3.4.1 (soon).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
sampa
Posts: 3
Joined: Tue Jun 17, 2025 11:04 am

Re: View Ticket 500 error when status is solved

Post by sampa »

Hi,

HESK version 3.5.3 Ticket 500 error when status is solved. can you assist me to get this resolved please.
Klemen
Site Admin
Posts: 10135
Joined: Fri Feb 11, 2005 4:04 pm

Re: View Ticket 500 error when status is solved

Post by Klemen »

See this article for help with 500 server errors:
https://www.hesk.com/knowledgebase/inde ... rticle=113
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply