Page 1 of 1

tcpdf error

Posted: Wed Jun 03, 2020 7:47 am
by kknm
On Ubuntu16, all reports throw an error. It was tested on different test bases. The error is repeated. Used by utf8_general_ci
tcpdf/include/tcpdf_fonts.php on line 1671
WinXP is the same error. NuBuilder is the freshest.

Re: tcpdf error

Posted: Wed Jun 03, 2020 8:25 am
by kev1n
Are there some more error lines or just one?

Re: tcpdf error

Posted: Wed Jun 03, 2020 8:35 am
by kknm
kev1n wrote:Are there some more error lines or just one?
error:
Warning: chr() expects parameter 1 to be int, string given in /var/www/raport/tcpdf/include/tcpdf_fonts.php on line 1671
TCPDF ERROR: Some data has already been output, can't send PDF file

Re: tcpdf error

Posted: Wed Jun 03, 2020 8:50 am
by kev1n
I used google and found this fix:

https://github.com/tecnickcom/TCPDF/com ... bac3ec8859


There have been many other fixes which are not included in nuBuilder. You could try replacing the files in nuBuilder's tcpdf folder with the latest files from
https://github.com/tecnickcom/TCPDF/archive/master.zip

Re: tcpdf error

Posted: Wed Jun 03, 2020 9:22 am
by kknm
kev1n wrote:I used google and found this fix:

https://github.com/tecnickcom/TCPDF/com ... bac3ec8859


There have been many other fixes which are not included in nuBuilder. You could try replacing the files in nuBuilder's tcpdf folder with the latest files from
https://github.com/tecnickcom/TCPDF/archive/master.zip
Applied only fix - https://github.com/tecnickcom/TCPDF/com ... bac3ec8859 , updating tcpdf generates new errors.
Thanks !