Print module (pdf) php error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Print module (pdf) php error

Post 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.
Reclus
Forum Members
Forum Members
Posts: 16
Joined: Fri Dec 01, 2006 11:42 pm

Re: Print module (pdf) php error

Post by Reclus »

I had a similar error a while back, I contacted my host and they 'threw a switch' somewhere that fixed the issue.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: Print module (pdf) php error

Post 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?
Post Reply

Return to “CMSMS Core”