- Posts: 9
- Thank you received: 3
Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question pdf export
- maxxdesign
-
Topic Author
- Offline
- New Member
-
Less
More
15 years 9 months ago #48859
by maxxdesign
pdf export was created by maxxdesign
I recently upgrade Kunena to the latest 1.5.11 release and in the meanwhile Joomla to 1.5.17
PDF export does not work: a file.pdf is generated but the file size in only 4KB (too small for a over 250 message thread) and the Reader says it not a correct PDF file.
The forum is on this URL: www.elemirezolla.org/index.php?option=co...a&Itemid=133&lang=it
Anyone experienced this issue?
PDF export does not work: a file.pdf is generated but the file size in only 4KB (too small for a over 250 message thread) and the Reader says it not a correct PDF file.
The forum is on this URL: www.elemirezolla.org/index.php?option=co...a&Itemid=133&lang=it
Anyone experienced this issue?
The following user(s) said Thank You: neebrad
Please Log in or Create an account to join the conversation.
15 years 9 months ago #48860
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: pdf export
Hello,
I have just tried, i have this :
Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/elemirezolla.org/libraries/tcpdf/tcpdf.php on line 2749
Maybe try on local machine, i don't exactly where is the source of the issue.
I have just tried, i have this :
Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/elemirezolla.org/libraries/tcpdf/tcpdf.php on line 2749
Maybe try on local machine, i don't exactly where is the source of the issue.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- maxxdesign
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 3
15 years 9 months ago #48879
by maxxdesign
Replied by maxxdesign on topic Re: pdf export
I try to create PDF in Safari but the following window appears after a while:
Adobe Reader could not open 'file.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)
And then i f a reload the page: "File does not begin with '%PDF-'."
Where can I try the setting of the func=fb_pdf called from the PDF menu line?
I try to build PDF as well as user as admin but the same error occurs.
I checked out my php.ini settings and all works fine (when I activate the tcpdf writer incuded in Jooomla the page will correctly saved as PDF)
Adobe Reader could not open 'file.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)
And then i f a reload the page: "File does not begin with '%PDF-'."
Where can I try the setting of the func=fb_pdf called from the PDF menu line?
I try to build PDF as well as user as admin but the same error occurs.
I checked out my php.ini settings and all works fine (when I activate the tcpdf writer incuded in Jooomla the page will correctly saved as PDF)
The following user(s) said Thank You: neebrad
Please Log in or Create an account to join the conversation.
15 years 9 months ago #48893
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: pdf export
You have maybe a error somewhere in the kunena lib which generate the pdf .
Do you have the same issue with threads with less posts by example 10 posts ?
Do you have the same issue with threads with less posts by example 10 posts ?
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- maxxdesign
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 3
15 years 9 months ago #48916
by maxxdesign
Replied by maxxdesign on topic Re: pdf export
No I have already exported the same thread with about 50 messages but yet the messages are 246: I would like to archive them before to close the thread, what do you suggest about. Can you say me which code part in the kunena.pdf.php must I inspect? I thought to reinstall the kunema component after saving the mysql tables (at lest the fb_messages_text) but I suppose that is not the solution.
Please Log in or Create an account to join the conversation.
- maxxdesign
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 3
15 years 9 months ago #48920
by maxxdesign
Replied by maxxdesign on topic Re: pdf export
I have another doubt: on this code line
127 $pdf->selectFont('./fonts/Helvetica.afm'); //choose font
is supposed a fonts folder that I do not found in Kunena installation and if it is refered to joomla package the Helvetica.afm is not the default font for pdf creation (throguh tcpdf library) but the correct one by language.xml file is freesans.
By the tcpdf config I changed the default font to freesans and the joomla pdf export work correctly even for a 180KB pdf file.
127 $pdf->selectFont('./fonts/Helvetica.afm'); //choose font
is supposed a fonts folder that I do not found in Kunena installation and if it is refered to joomla package the Helvetica.afm is not the default font for pdf creation (throguh tcpdf library) but the correct one by language.xml file is freesans.
By the tcpdf config I changed the default font to freesans and the joomla pdf export work correctly even for a 180KB pdf file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.311 seconds