My web host recently upgraded all of the hosting accounts PHP version to use PHP 7.x but with that upgrade OSTicket stopped working. When using 7.1 the site wont let me login and when using 7.0 I can login and everything seems to work as expected except that when the system auto creates a ticket from email the ticket is created in blank, none of the text in the email is added. I manually downgraded to 5.x and it is working again as expected.Is there any fix I can apply to use PHP 7.x or does this involve changes to the coding of OSTicket?

osTicket 1.10+ already supports php7.x  It does not support php7.1.x. I'm not sure what the differences are between the two but yes it is my understanding that it requires changes to the core files of osTicket.

Thanks! I will upgrade my OSTicket instalation then and let you know the results.

2 months later

I updated the system to OSTicket 1.10.1 and PHP 7.0.21 and now the tickets that come in by email are created but the text of the email is created as (empty) as displayed in the attachment. If i change back to PHP 5.6 then everything starts working as expected.Please Advise.

serverdata.JPG

ticketinfo.JPG

Try using the fix suggested here, upgrade to PHP 7.0, and test again. Cheers.

I changed line 648 as described putting: $input = preg_replace_callback('/=({2})/i', function($m) { return chr(hexdec($m)); }, $input)

upgraded to php 7.0.21 again and after sending a few test emails it seems that the issue is resolved.

Thanks!

3 years later

Plesk gives me this.
The app requires PHP version later than 5.4 but earlier than 7.1. Your PHP is 7.4.15.
If PHP is not available, ensure that the PHP support is selected for the domain.

@plutonian Please start your own thread. Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.

Killing zombie thread with a headshot.

Write a Reply...