pdf is not generating

An uncaught Exception was encountered

Type: Mpdf\MpdfException

Message: Temporary files directory “/var/www/html/vendor/mpdf/mpdf/src/Config/…/…/tmp” is not writable

Filename: /var/www/html/vendor/mpdf/mpdf/src/Cache.php

Line Number: 20


File: /var/www/html/vendor/mpdf/mpdf/src/Mpdf.php
Line: 979
Function: __construct

File: /var/www/html/application/helpers/mpdf_helper.php
Line: 47
Function: __construct

File: /var/www/html/application/helpers/pdf_helper.php
Line: 257
Function: pdf_create

File: /var/www/html/application/modules/quotes/controllers/Quotes.php
Line: 207
Function: generate_quote_pdf

File: /var/www/html/index.php
Line: 327
Function: require_once

Please make the corresponding directory writable by the web server or user.

There are no folders in:


Where do I have to make writable to fix this error!?

The …/ dots mean “directory back”.
So the path would be /var/www/html/vendor/mpdf/mpdf/tmp

I thought that and I still get the error after modding the permissions of that directory…


I reinstalled and everything seems OK now after going through and editing the permissions again.



i have facing this problem. TOUCH from every side but not succedd to make that folder wiritble. Please Help me

Hello Fazal. Sorry but you are using the code of FusionInvoice which is not supported here. This forum is for the InvoicePlane software only.