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!
PDF generates errors
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF generates errors
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
it should be:
not:
so "..... should not be there ... can you print pdf with standard pdf function? Can I see the page?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 29 May 2009, 11:18
Re: PDF generates errors
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.
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.
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF generates errors
Hi, tcpdf sends and error so the pdf cannot be displayed
but no idea what can be the problem : Division by zero ...
but no idea what can be the problem : Division by zero ...
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 29 May 2009, 11:18
Re: PDF generates errors
To bad, any ideàs about the line numbers?
The error page report line 11638, tcpdf.php have 10621 lines....
The error page report line 11638, tcpdf.php have 10621 lines....
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF generates errors
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 06 Jun 2009, 23:07
Re: PDF generates errors
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
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
-
- Phoca Member
- Posts: 19
- Joined: 06 Jun 2009, 23:07
Re: PDF generates errors
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
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
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF generates errors
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.
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 06 Jun 2009, 23:07
Re: PDF generates errors
Hi Jan,
where can I find the error log?
Mac
where can I find the error log?
Mac