pdf content empty

Phoca PDF - creating PDF documents in Joomla! CMS
daleto
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 28 Oct 2017, 18:50

pdf content empty

Post by daleto »

Hi,
I am using the latest version of phoca pdf, system, content...
But when I select the "pdf" button to generate a PDF document, the content "headers" and "footers" is the only thing that gets generated.
No content from the article.

Could you please give me a hint of what I am doing wrong.

Regards Tomas
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: pdf content empty

Post by Jan »

Hi, to test if the PDF renders correctly, try to create very simple article - e.g. with one sentence and try to test if the PDF will be rendered correctly :idea:

Jan
If you find Phoca extensions useful, please support the project
osep45
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Feb 2010, 15:13

Re: pdf content empty

Post by osep45 »

Hi,
My site is using joomla 3.8.5 and Seblod 3.15.0, and I have the same issue as Daleto since the update in Joomla 3.8.+
In a Seblod article, the pdf is created but the content "headers" and "footers" is the only thing that gets generated.
No content from the article. The pdf is empty !
There is no problem with the Joomla article (out of Seblod).

It is like the parameter "Display Phoca Plugin" (in the plugin Phoca PDF content, tab "PDF") wasn't working anymore, since the update in Joomla 3.8.+.

Could you please, update it ?
Thanks in advance,
Osep
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: pdf content empty

Post by Jan »

Hi, when you test to display some really simle text article, do you get any problem when displaying it?

Jan
If you find Phoca extensions useful, please support the project
osep45
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Feb 2010, 15:13

Re: pdf content empty

Post by osep45 »

No, I don't have problem to display in the pdf a simple text article.
The problem is to display in the pdf a content created with Seblod ; it was working before... november I think.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: pdf content empty

Post by Jan »

Did something change in the seblod output. Maybe it is just about the length of the output, hard to say. More details can say the php errorLog on your server - maybe there is stored some error message which was caused by creating the PDF :idea:

Jan
If you find Phoca extensions useful, please support the project
M-IT
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 22 Nov 2017, 01:45

Re: pdf content empty

Post by M-IT »

Hi!
Same problem here.
Tried also with fresh generated article with only one word.
Any solution found for this issue?

Joomla: 3.8.6
Header: shown
Content: empty
Footer: shown
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: pdf content empty

Post by Jan »

Hi, when you get problem with article with one word only, there seems to be some issue on server. When you look at your php errorLog, do you see any error there?
https://www.phoca.cz/documents/16-jooml ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
OldGoat
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 May 2018, 14:33

Re: pdf content empty

Post by OldGoat »

Hi.

I have the same problem. If I create a simple page with one line, it works fine but all my other pages just shows header and footer but the content is blank
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: pdf content empty

Post by Jan »

Hi, can you paste some example of the page? Do you use content plugins there? Mostly this is caused by some output which cannot be managed by the TCPDF class :idea:


Jan
If you find Phoca extensions useful, please support the project
Post Reply