PDF export is not working

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF export is not working

Post by Thorsten »

Hi,

could you add a

Code: Select all

error_reporting(E_ALL);
in the file pdf.php? Right in the beginning after <?php

Then try to export a PDF. Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
camilo.mendez
Posts: 16
Joined: Tue Jun 21, 2011 9:27 pm

Re: PDF export is not working

Post by camilo.mendez »

Hi,

Now do the test but nothing happens.
camilo.mendez
Posts: 16
Joined: Tue Jun 21, 2011 9:27 pm

Re: PDF export is not working

Post by camilo.mendez »

Hi,

After testing all the faq note some show something in the pdf. Example, faq with bullets, pdf generated only show the bullets. Or some faq where text is copied from another source, in pdf only reflected the copied text.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF export is not working

Post by Thorsten »

Hi,

is it possible to get a dump of your database?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
camilo.mendez
Posts: 16
Joined: Tue Jun 21, 2011 9:27 pm

Re: PDF export is not working

Post by camilo.mendez »

Hi,

I was searching online and found that I am not the only one with the problem, you can look at the following faq?

http://www.kwell.net/phpmyfaq2015_va/
http://genesis.uniminuto.edu/faq/
http://wmpl.org/faq/
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF export is not working

Post by Thorsten »

Hi,

I checked those 3 FAQs, only the second one had problems with the text display in the PDF. Without the database or access to the FAQs I cannot debug this issue...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
camilo.mendez
Posts: 16
Joined: Tue Jun 21, 2011 9:27 pm

Re: PDF export is not working

Post by camilo.mendez »

Hi,

Thank you for your help and your fast ANSWERS. Considering that the 3 faq send you if you worked, but not me, then go to phpMyFAQ from a Windows PC and from there if I worked installing a package of Japanese language support of Adobe Reader.

As I use Kubuntu 4.11 with the pdf viewer Okular (and Ubuntu my coworkers), I had to install poppler-data package, and from there if I could view the pdf file generated from phpMyFAQ.

In conclusion, the problem was not that bad phpMyFAQ generated the pdf, but the client could not display properly.

Fix this by running on ubuntu "sudo apt-get install poppler-data"

Again I appreciate your efforts to help me solve my fault.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF export is not working

Post by Thorsten »

Hi,

ah... this is quite interesting. I'm using the Preview app included in Mac OS X and it also supports the PDFs... maybe I should add a notice in the documentation.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply