Hi,
Version 7.0.1
NOTE: this errors occurs only when French - Canda is selected as language.
It's working fine when English is selected as language.
If i go to Opportunites and hit export to PDF i'm getting an error
Same for "Issues"
Some are working fine like, Risks, Project, i have not tried all of them.
ERROR : An error has occured on 2018-04-03 à 10:49:44
here what I get in projetor.log
2018-04-03 10:49:44.096 ** ERROR ** [V7.0.1] EXCEPTION **
2018-04-03 10:49:44.096 ** ERROR ** [V7.0.1] on file '/var/www/html/external/html2pdf/src/Html2Pdf.php' at line (545)
2018-04-03 10:49:44.096 ** ERROR ** [V7.0.1] cause = The output document name [] is not a PDF name
2018-04-03 10:49:44.096 ** ERROR ** [V7.0.1] => #0 /var/www/html/view/print.php (245) -> output()
2018-04-03 10:49:44.096 ** ERROR ***** [V7.0.1] => #1 /var/www/html/view/print.php (186) -> finalizePrint()
thanks
Hi
This is an issue on V7.0.
In fact, generation of files with name containing accents fails (only on Linux not on Windows).
It is a security control that exists since V5.0 ... and it sends empty file name to html2pdf (external library generating pdf).
In fact, older version od html2pdf replaced emty file name with "document.pdf", but it does not do it any more....
To reteive correct behavior, corresponding to previous version, just add one line before 245 in /view/print.php, this way :
if (!$outputFileName) $outputFileName='document.pdf';
$html2pdf->Output($outputFileName);
Ticket #3298 recorded.
Fix (better that the one proposed) will be included in V7.0.3
Hi Babynus,
the fix is working fine
Thanks