Hello,
We are using osTicket version v1.18.1 and PHP version 8.2.23.
Agents encounter a blank page after responding to a client ticket if they attach a file of a certain size to their reply.
The web browser console indicates a 500 error and stalls on this sort of URL:
ROOT/scp/tickets.php?id=822#reply
We note the following error upon utilizing error_reporting(E_ALL)
:
Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 8724480 bytes) in ROOT include/class.file.php on line 843
If there are no file attachments, the agent is redirected correctly upon reply.
In Admin Panel > Settings > System > Attachments Storage and Settings, the “Agent Maximum File Size” field is set to 25 MB
In our php.ini file, the upload_max_filesize setting is set to 25MB.
In the case where we attempt to reply with a 3.5 MB file attached, we do not encounter issues.
But, in the case where we attempt to respond with a 13.2 MB file attached - below the specified max file size - the error occurs.
(This same behavior also occurs in a 1.15.8 version we have on a separate server)
Please let me know if more information is required.
Thank you.