clonemeagain / attachment_preview

osTicket Plugin: Allows inline view of attachments
GNU General Public License v2.0
48 stars 16 forks source link

PDF preview stop working on v1.17 with PHP8.0 or PHP8.1 #57

Open ramrajone opened 2 years ago

ramrajone commented 2 years ago

it just gives error 500, with this plugin installed osTicket stops working, not even disabling, it has to be deleted to get the osTicket working

any way to get it fixed? Thank you in advance

ramrajone commented 2 years ago

I tested on local installation, it works fine image

Server Information -- osTicket Version | v1.17 (1d8b790) —  Up to date Web Server Software | Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.10 MySQL Version | 10.4.25 PHP Version | 8.1.10
clonemeagain commented 2 years ago

FYI: This was patched recently to support that version, so it might be that you need to update?

bugoy commented 2 years ago

I tested on local installation, it works fine image

Server Information

osTicket Version | v1.17 (1d8b790) —  Up to date Web Server Software | Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.10 MySQL Version | 10.4.25 PHP Version | 8.1.10

What do you mean by "tested on local installation" ?

ramrajone commented 2 years ago

What I mean my local install was using XAMPP on PC, which works I also, test on the live server it works too, I had to delete the old one, then upload it For some reason, GUI, would not let me delete it, soon as I try to delete it, it gives an error 500

This page isn’t working MySupportTicket.com is currently unable to handle this request. HTTP ERROR 500 image

bugoy commented 2 years ago

What I mean my local install was using XAMPP on PC, which works I also, test on the live server it works too, I had to delete the old one, then upload it For some reason, GUI, would not let me delete it, soon as I try to delete it, it gives an error 500

This page isn’t working MySupportTicket.com is currently unable to handle this request. HTTP ERROR 500 image

i had the same error message but you can try below not sure if it work for you.
check your error log.. if you are getting max out time.. try to increase your execution time in php.ini.

ramrajone commented 2 years ago

@clonemeagain Is the PDF preview should be for both users/agents? I have it working for Agent's side, but on the user's side, it does not display the preview

Thank you for keeping the plugin updated to support the new version of osTicket v1.17 and it works on v1.17.1

buzzzo commented 1 year ago

@clonemeagain Is the PDF preview should be for both users/agents? I have it working for Agent's side, but on the user's side, it does not display the preview

Thank you for keeping the plugin updated to support the new version of osTicket v1.17 and it works on v1.17.1

Hi

I've experienced the same issue. Is it possible to have an answer ? is it a known issue ?

Thx

SVGCHILE commented 1 year ago

I've have the same issue after upgrading from 1.15.8 to 1.18.

Have you found a solution?