- Posts: 9
- Thank you received: 3
Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question pdf export
- maxxdesign
- Topic Author
- Offline
- New Member
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?
Please Log in or Create an account to join the conversation.
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
- Posts: 9
- Thank you received: 3
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)
Please Log in or Create an account to join the conversation.
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
- Posts: 9
- Thank you received: 3
Please Log in or Create an account to join the conversation.
- maxxdesign
- Topic Author
- Offline
- New Member
- Posts: 9
- Thank you received: 3
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.
- maxxdesign
- Topic Author
- Offline
- New Member
- Posts: 9
- Thank you received: 3
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).
I think the question is in the 252 post of the thread I attempt to export because with smaller threads the bug is not revealed.
I checked out my server setting as well php.ini parameters but is all ok; the question remains where is the code problem in Kunena and how must modify the pdf generator function?
No one else encountered this problem?
Please Log in or Create an account to join the conversation.
- maxxdesign
- Topic Author
- Offline
- New Member
- Posts: 9
- Thank you received: 3
I need to export the thread in PDF before to close definitively and store the file for next purpose, but I obtain only a 4Kb PDF file that Acrobat won't open for the issue said in the previous message.
here the link to test:
www.elemirezolla.org/index.php?option=co...tid=12&id=13&lang=it
Please Log in or Create an account to join the conversation.
- maxxdesign
- Topic Author
- Offline
- New Member
- Posts: 9
- Thank you received: 3
Anymore a suggestion from anyone?
Please Log in or Create an account to join the conversation.
Try to increase the maximum execution time and memory limit in your php.ini.
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.