We've been running osTicket for about 4 years and now someone has tried to print a ticket for the first time!
I'm running on a Windows server and getting the following errors:
[22-Nov-2024 10:47:11 UTC] PHP Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct(C:\Windows\TEMP/mpdf): Access is deni (code: 5) in C:\inetpub\wwwroot\my.domain.com\include\mpdf\vendor\mpdf\mpdf\src\Cache.php:94
Stack trace:
#0 C:\inetpub\wwwroot\my.domain.com\include\mpdf\vendor\mpdf\mpdf\src\Cache.php(94): DirectoryIterator->__construct()
#1 C:\inetpub\wwwroot\my.domain.com\include\mpdf\vendor\mpdf\mpdf\src\Mpdf.php(9618): Mpdf\Cache->clearOld()
#2 C:\inetpub\wwwroot\my.domain.com\include\class.pdf.php(55): Mpdf\Mpdf->Output()
#3 C:\inetpub\wwwroot\my.domain.com\include\class.ticket.php(3589): mPDFWithLocalImages->output()
#4 C:\inetpub\wwwroot\my.domain.com\scp\tickets.php(533): Ticket->pdfExport()
#5 {main}
thrown in C:\inetpub\wwwroot\my.domain.com\include\mpdf\vendor\mpdf\mpdf\src\Cache.php on line 94
Strangely enough, osTicket has made files in the temp\mpdf directory, so I don't understand why it's having problems now.
Any suggestions on how to narrow this down?
Thanks.