[Resolved] osticketswesome v1.6.1 – Error 500 when you go to print a ticket

    • February 21, 2022 at 9:12 am #9511
      P
      Paul Duxbury
      Participant

      Hello,

      I get the error 500 when the print option is picked. Enabling errors gives the below:

      Fatal error: Uncaught Mpdf\MpdfException: Temporary files directory “C:\Windows\TEMP/mpdf” is not writable in C:\inetpub\wwwroot\Help\include\mpdf\vendor\mpdf\mpdf\src\Cache.php:21 Stack trace: #0 C:\inetpub\wwwroot\Help\include\mpdf\vendor\mpdf\mpdf\src\ServiceFactory.php(56): Mpdf\Cache->__construct() #1 C:\inetpub\wwwroot\Help\include\mpdf\vendor\mpdf\mpdf\src\Mpdf.php(1066): Mpdf\ServiceFactory->getServices() #2 C:\inetpub\wwwroot\Help\include\class.pdf.php(76): Mpdf\Mpdf->__construct() #3 C:\inetpub\wwwroot\Help\include\class.ticket.php(3587): Ticket2PDF->__construct() #4 C:\inetpub\wwwroot\Help\scp\tickets.php(525): Ticket->pdfExport() #5 {main} thrown in C:\inetpub\wwwroot\Help\include\mpdf\vendor\mpdf\mpdf\src\Cache.php on line 21

      Have checked and permissions on the temp directory are correct and files can be created.

       

      Anyone any ideas ?

You must be logged in to reply to this topic.