Page 1 of 1

Print module (pdf) php error

Posted: Fri Feb 11, 2011 3:14 pm
by DIGI3
I'm getting this in my error log, about 50 entries for any page when a visitor clicks on the create pdf button:

PHP Warning: html_entity_decode() [<a href='function.html-entity-decode'>function.html-entity-decode</a>]: charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in /var/www/foo/modules/Printing/tcpdf/tcpdf.php on line 11410

Any thoughts or suggestions? The end result is (mostly) fine, but I'd like to correct the error if I can.

Re: Print module (pdf) php error

Posted: Fri Feb 11, 2011 3:37 pm
by Reclus
I had a similar error a while back, I contacted my host and they 'threw a switch' somewhere that fixed the issue.

Re: Print module (pdf) php error

Posted: Sat Feb 12, 2011 1:58 am
by DIGI3
This is the reply from my server admin:
"Ok I fixed it..kinda. I'm not sure what is going wrong except that the encoding being passed to the html_entity_decode function must be incorrect. I have defined it to the default 'UTF-8'."

I'm not sure if that fix will hold if/when the tcpdf version is upgraded in a future release?