MPDF error on Proxmox container
Container Debian - Allow_url_fopen on php5_curl installed
error message from MPDF: mPDF error: IMAGE Error (http://testkaizen.ialg.fr/main/css/chamilo/images/header-logo.png): Could not find image file
Permission: 777 on www-data.
Either logo or watermark not exported on pdf.
Updated by Eric Petitdemange almost 7 years ago
I this is related to the PDF export that doesn't include the image, I manage to reproduce the issue using a local server and a production server (the URL are therefore different).
The platform is using Absolute links and not relative... As soon as you import the course, the images are not anymore located at the same place.
If you are the user, you don't see the issue as your web browser is pointing your local resource, the pdf export doesn't.
As an overcome I manualy change ALL my links to be relative, in this case, the export is working anywhere and as well does the import/export...
Maybe a feature to consider :) ?
I hope I helped.