Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hello,
Each time I try to export a screen to PDF I get the following error :
ERROR : Une erreur est survenue le 2011-09-19 à 16:46:21
Looking at the log file, here is the error :
2011-09-19 16:46:21 ** ERROR ** ERROR **
2011-09-19 16:46:21 ** ERROR ** on file '/var/www/external/html2pdf/_tcpdf_5.0.002/tcpdf.php' at line (7374)
2011-09-19 16:46:21 ** ERROR ***** cause = Undefined index: n
Any idea of the problem ?
Regards,
Olivier
Hi,
It look like an error from V1.6, fixed in 1.7.
Which version are you using ?
Does it happen on all pdf export or only on some ?
Is it the same on reports export, on detail of element export and on list of elements export ?
Thx.
Hello,
It happens on all PDF exports.
Maybe I'm missing some prerequisites for the html2pdf library ?
Regards,
Olivier
I've forgotten :
I'm running V1.7.2
Can you check that GD library is correctly installed ?
(run phpInfo() and search for GD)
Thanks.
GD is installed
From phpinfo() :
GD Support enabled
GD Version 2.0
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.4
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.44
WBMP Support enabled
Hi,
Corresponding to the error line, it is a font issue.
What is the defaut font of your browser ?
On IE : Options > Général tab > button fonts.
Could you try to download htmltopdf and copy the content of _tcpdf_5.0.002/fonts into /var/www/external/html2pdf/_tcpdf_5.0.002/fonts, and test again.
(I can provide you with the files if needed)
=> I reduced the fonts used (just to reduce setup file soze), and did not notice any issue till now. If this solves your issue, next versions will include all fonts.
Regards.
Hello,
I've copied the content of _tcpdf_5.0.002/fonts into /var/www/external/html2pdf/_tcpdf_5.0.002/fonts, IT WORKS !!
It was indeed a font problem
FYI Projector ria is installed on a Ubuntu 11.04 Server OpenVZ VM.
Thanks,
Regards,
Olivier
Great !
Solution will be included in V1.8.0.