Bug #5444

Can't export report in PDF (regression)

Added by blerohellec almost 4 years ago.

Status:NewStart date:09/28/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

v2.4.1 (0.85)
The injection process generates a pdf file;
An error occurs when one tries to export the pdf.

On screen :
PHP Warning: include(../../../lib/ezpdf/class.ezpdf.php): failed to open stream: No such file or directory in /var/www/glpi085/plugins/datainjection/front/export.pdf.php at line 31
PHP Warning: include(): Failed opening '../../../lib/ezpdf/class.ezpdf.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/glpi085/plugins/datainjection/front/export.pdf.php at line 31
TCPDF ERROR: Some data has already been output, can't send PDF file

php-errors.log
2015-09-25 16:33:42 [2@debian] *** PHP Warning(2): include(../../../lib/ezpdf/class.ezpdf.php): failed to open stream: No such file or directory
Backtrace :
plugins/datainjection/front/export.pdf.php:31
plugins/datainjection/front/export.pdf.php:31 include()
2015-09-25 16:33:42 [2@debian] *** PHP Warning(2): include(): Failed opening '../../../lib/ezpdf/class.ezpdf.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
Backtrace :
plugins/datainjection/front/export.pdf.php:31
plugins/datainjection/front/export.pdf.php:31 include()

Also available in: Atom PDF