HTML entities in PDF title [message #27810] |
Tue, 27 September 2005 09:52 |
math_adm
Messages: 126 Registered: September 2003 Location: France
Karma: 0
|
Senior Member |
|
|
Hi
when I create a PDF with the contents of one of my forums, I get the HTML entities that compose the tile of my forum as plain text in the footnote in each PDF page : ' and é
More-or-less related question. I need to put a single quote in the title of my forum (magicquote is on and I cannot change that). I use ' and it's OK, however, if I put \' (like in the french msg file), it appears litterally in the window title. And of course, if I put just the single quote, the page remains blank (I expected that).
More related question : the PDF generation from a forum does not work, I only get a blank page. However, PDF generation from a thread does work.
I looked into the (french) msg file and found a lonely (unescaped) quote. I changed it to \, and when I try to generate PDF from a whole forum, I get these error messages (I was running my test forum from EasyPHP) :
(c:\program files\easyphp1-8\www\forum_math\pdf.php:213
c:\program files\easyphp1-8\www\forum_math\pdf.php:273
c:\program files\easyphp1-8\www\forum_math\pdf.php:1379
) 1146: La table 'forum_math.fud26_tv_' n'existe pas
Query: SELECT seq FROM fud26_tv_ ORDER BY seq DESC LIMIT 1
_GET: array ( 'frm' => '23', 'page' => '1', 'rid' => '206', 'S' => '82d72386c61d39f2c8b23df04250c6be', )
Server Version: 4.1.9-max
[Referring Page] http://127.0.0.1/forum_math/index.php?t=thread&frm_id=23&rid=206&am p;S=82d72386c61d39f2c8b23df04250c6be
However, PDF generation from threads continues to work.
I'll post the fixed msg file in the translations forum.
Regards
|
|
|
Re: HTML entities in PDF title [message #27813 is a reply to message #27810] |
Tue, 27 September 2005 13:29 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Are you using pdf.php.t version 1.49? As far as I can tell version in the CVS has an explicit check to prevent such an error.
FUDforum Core Developer
|
|
|
|
Re: Re : HTML entities in PDF title [message #27816 is a reply to message #27815] |
Tue, 27 September 2005 13:50 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
No, i haven't done anything about HTML entities. Can you please clarify where precisely do they appear so that I can try to replicate the problem.
FUDforum Core Developer
|
|
|
|
|