MPDF dejavuserifcondensed.mtx.php No such file or directory

Can someone help me with this, I get the following message when trying to use MPDF

include (/var/www/svn_data/skeletonapp/mpdf/ttfontdata/dejavuserifcondensed.mtx.php): stream could not be opened: no such file or directory

I have chmod'ed correct ttfontdata, tmp and graph_cache files

It seems that the system should generate the files, but it is not.

Thank,

Ross

+4
source share
1 answer

The problem is that the ttfontdata / directory is not writable for the process in which the PHP code is running. MPDF should generate and write some files there.

The simplest solution:

chmod 777 ttfontdata​​p >

0

Source: https://habr.com/ru/post/1535266/


All Articles