pdf is not generating


#1

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

Backtrace:

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


#2

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


#3

There are no folders in:

/vendor/mpdf/mpdf/src/Config/

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


#4

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


#5

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

EDIT:

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