This is not an "is it possible"... I'm not looking for modify code...
I posted PDF files. When I view them, they are displayed in an ugly non-adobe-reader frame... I can't even download the pdf if I wanted to. Am I missing something? Some setting?
Thanks.
-Ed (newbie)
Does hesk allow files to be displayed as pdf?
Moderator: mkoch227
Re: Does hesk allow files to be displayed as pdf?
HESK doesn't allow opening attachments in browser, they should be forced to download for security reasons.
What is happening is probably due to modifications to the files. My guess is one of the HESK files has been modified and saved in UTF-8 WITH byte order mark which is causing problems. If you try uploading a JPG file it should also become unreadable if this is the case.
Uploading original, unmodified files (not even opened and saved) again should fix the issue if this is the case.
What is happening is probably due to modifications to the files. My guess is one of the HESK files has been modified and saved in UTF-8 WITH byte order mark which is causing problems. If you try uploading a JPG file it should also become unreadable if this is the case.
Uploading original, unmodified files (not even opened and saved) again should fix the issue if this is the case.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Does hesk allow files to be displayed as pdf?
By default, each file is downloaded to Hesk.
You may have applied the code modification available here on the forum (using MIME view_attachment.php instead of download_attachment.php), but you did not apply it correctly. If the file is downloaded and after opening is displayed in an ugly frame - with Hesk there is no problem, problem with your software.
You may have applied the code modification available here on the forum (using MIME view_attachment.php instead of download_attachment.php), but you did not apply it correctly. If the file is downloaded and after opening is displayed in an ugly frame - with Hesk there is no problem, problem with your software.