Project

General

Profile

Bug #7214

MPDF error on Proxmox container

Added by jean-daniel yadan almost 7 years ago. Updated about 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
20/07/2014
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

System Proxmox.

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

file exists.

Permission: 777 on www-data.

Either logo or watermark not exported on pdf.

History

#1

Updated by Yannick Warnier almost 7 years ago

  • Project changed from Quality Assurance to Chamilo LMS
#2

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.

#3

Updated by Yannick Warnier over 6 years ago

  • Target version set to 1.10.0
#4

Updated by Yannick Warnier over 6 years ago

  • Priority changed from Normal to Low
#5

Updated by Yannick Warnier about 6 years ago

  • Target version changed from 1.10.0 to 2.0

Moving to 2.0. Until there is more people reporting this, this will remain low priority

Also available in: Atom PDF