Blank screen when opening client ticket

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
uwekas
Posts: 5
Joined: Wed May 03, 2017 8:10 am

Blank screen when opening client ticket

Post by uwekas »

Script URL: localhost
Version of script: 2.7.3
Hosting company: -
URL of phpinfo.php: -
URL of session_test.php: -
What terms did you try when SEARCHING for a solution: -

Write your message below:

Installed Hesk on my local server for customisation and testing, before installing it on a clients server. Mods for Hesk v 3.0.7 is installed as well. All is working fine, on the clients side, tickets can be opened, closed, replies added etc.

When opening a received ticket as admin I am getting a blank screen.

Debugger info:
Image

I can't post the code here for whatever reasons, thus the image.

Any help is appreciated, thank you!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Blank screen when opening client ticket

Post by Klemen »

I haven't seen this before, but this is not an error that HESK generates and probably also not something your web server generates.

Are you using some very old version of Firefox (there seems to have been a similar bug quite a while ago)?
Do you get any different info if you turn "Debug mode" to ON in Hesk settings?
Do you get any more info in server error logs?
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
uwekas
Posts: 5
Joined: Wed May 03, 2017 8:10 am

Re: Blank screen when opening client ticket

Post by uwekas »

Thanks for your reply, Klemen!

I am using Firefox 52.0.2 on macOS Sierra. Tried it with Safari 10.0.1 as well, same result.

Also there is no different info if debug mode = on.

The console is showing me:

GET http://localhost:8888/support/admin/admin_ticket.php [HTTP/2.0 500 Internal Server Error 964ms]
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Blank screen when opening client ticket

Post by Klemen »

This will need to be debugged from the server logs because the server is returning the error, not Hesk.
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
uwekas
Posts: 5
Joined: Wed May 03, 2017 8:10 am

Re: Blank screen when opening client ticket

Post by uwekas »

Got the following info from the server logs:

PHP Parse error: syntax error, unexpected '[', expecting ')' in /home/public_html/support/admin/admin_ticket.php on line 473, referer: http://localhost:8888/support/admin/admin_main.php

Line 473 reads:

$childRs = hesk_dbQuery('SELECT * FROM `' . hesk_dbEscape($hesk_settings['db_pfix']) . 'tickets` WHERE `parent` = ' . intval($ticket['id']) . ' AND `trackid` = \'' . hesk_dbEscape(hesk_POST(['childTrackingId'])) . '\'');
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Blank screen when opening client ticket

Post by Klemen »

This code isn't in original Hesk, I'm moving this to the "Mods for Hesk" subforum, maybe Mike knows more about this.
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
uwekas
Posts: 5
Joined: Wed May 03, 2017 8:10 am

Re: Blank screen when opening client ticket

Post by uwekas »

Thank you very much Klemen!
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Blank screen when opening client ticket

Post by mkoch227 »

This was reported earlier this morning on the MFH GitLab repo. Check out https://gitlab.com/mike-koch/Mods-for-HESK/issues/560.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
uwekas
Posts: 5
Joined: Wed May 03, 2017 8:10 am

Re: Blank screen when opening client ticket

Post by uwekas »

Thank you Mike, that was the solution.

Everything is working fine now!
Post Reply