Page 1 of 2
PDF generates errors
Posted: 26 Feb 2009, 19:21
by billwide
When I click on PDF link/image to generate the PDF file, sometimes I receive this error codes:
".....%PDF-1.7 3 0 obj <<<> /H /I>> ] /Contents 4 0 R>> endobj 4 0 obj <> stream xœ½XMoÛFݳ~ÅÀaHŠŸ¹%n4@>\«¹$9ÐÖZ¡!ʶ(9EMZ‹‚È©Íŧξ]î®dÉ?X¤©áœyûæÍaæô™BzÉÛ ½ÿÈÿƼ½àm2x6¢Ç{1Eq†4:¦ç£Á¹6) ¦„¢È™Âko|Nêêpe?Ÿß'‰ƒ4¦"ʃ$¥Ñ˜Þ?¯„sq$*1§‚x/y¿`[%y›ŠO°ó~.Xvø÷Öç¢gâ+Ÿ©ùe9`™9–Öïîײ—¾ºf{ÍOÙJ𨌧~~,Bþ+ùèˆ ž/ùøû5|Ô=A{ŸñqK»-ƒ‡iô’¡£ýMßÏ"¤"L‚24xðÓBŽ*‡.š=Þ_�iÉ9Ï7f‰\¯ŸYáÎ-H=CùTÛÊb|÷ŠÍ°òÔ’Ï_Œ$GÒ•Ë’-òÒ¥>åÏÙZã÷/(Ø Ÿ_°å¢taΓøˆ)u®¯¡˜¸±Hùø‚í ð¯7¼é–ü¬…‘˜<§é“8 †&zõΰvný+Ã]³Æ_Ž4ž+©Ä#`¦ìcO+0¤cÙ¨’VØd¼if\»Ã‰ï×+¬re‡ÄL8ÅJἄ°....."
What could be this issue? Thanks for all!
Re: PDF generates errors
Posted: 26 Feb 2009, 21:29
by Jan
Hi, it seems like you get some code before rendering pdf
it should be:
%PDF
not:
".....%PDF
so "..... should not be there ... can you print pdf with standard pdf function? Can I see the page?
Jan
Re: PDF generates errors
Posted: 29 May 2009, 11:21
by named
I have the same problem.
Warning: Division by zero in /home/2/m//www/tivedstorp/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 11638
%PDF-1.7 3 0 obj <<<> /H /I>> <<> /H /I>> <<> /H /I>> <<> /H /I>> <<> /H /I>> ] /Contents 4 0 R>> endobj 4 0 obj <> stream x��YɎ7广�NFd8,6���pl�/�/���,{4�������ه�@�)�ʖdϢ.!htMP�U��Ǣ���gP�����t?�{�=���S ��R09�_&�uר�ƪ)ľI}��������;FK�!���¤��?�?�B�������+��b)�~|��/w��AAPF���5�^�i��OqEWI�kj_�oI�Z(� qDOKOMOHo?��%�*,|��0�?fѰhu�m[��Y�{0����_�C��
Any solution, ideas?
Edit.
I can print pdf with standard pdf function.
I have 10621 lines in tcpdf.php, strange.
Re: PDF generates errors
Posted: 03 Jun 2009, 22:17
by Jan
Hi, tcpdf sends and error so the pdf cannot be displayed
but no idea what can be the problem : Division by zero ...
Re: PDF generates errors
Posted: 05 Jun 2009, 21:36
by named
To bad, any ideàs about the line numbers?
The error page report line 11638, tcpdf.php have 10621 lines....
Re: PDF generates errors
Posted: 06 Jun 2009, 13:46
by Jan
no idea
but try to look at google, as this error occurs in TCPDF, there should be some information on google.
I think, this can be related to fonts... Do you have latest version of Phoca PDF (there I added helvetica font for cases, the font cannot be loaded)
Jan
Re: PDF generates errors
Posted: 07 Jun 2009, 09:07
by mac2
Hi,
I installed this:
com_phocapdf_v1.0.1.zip
plg_phocapdf_content_v1.0.1.zip
de-DE.com_phocapdf.zip (no XML-Setupdatei in the packet)
I create a Headline in with phoca but the PDF-Generation is shown without this Headline!
Result by klick on the PDF-Icon in a content with pictures
Why??
I think, the phocapdf works not yet - when I klick on the pdf-icon the link is ...filename.pdf and not ....=phocapdf
On the phocaplugin panel ist this info shown:
Plugin is enabled in Plugin Manager
Phoca PDF Settings Warning
Regards
Mac
Re: PDF generates errors
Posted: 07 Jun 2009, 12:20
by mac2
Hi,
now I've done this:
SEO = '0';
in my phocapdf installation was no file 'hpocapdf.php' in libraries/joomla/document/phocapdf
This is now installed!
By click on the pdf-icon is a blank browser-site shown
and not the pdf site.
(file is ...avision&format=phocapdf&option=com_content&Itemid=81)
What is the problem?
Regards
Mac
Re: PDF generates errors
Posted: 07 Jun 2009, 13:27
by Jan
Hi, now it seems like you get some error message before rendering the output. Try to look to your error log. (if you can) to see if there is some php error.
Re: PDF generates errors
Posted: 07 Jun 2009, 13:34
by mac2
Hi Jan,
where can I find the error log?
Mac