Hi,
I installed phocapdf on my website and created a link to generate pdf (my website uses Gantry framework).
But when I generate PDF, It generates only with header (article title) and footer.
Between only white space.
Any idea?
Thank you.
Marco.
PDF generated without content (only header - footer)
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Jul 2019, 00:06
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF generated without content (only header - footer)
Hi, there can be some error inside converting the content to PDF. First of all, try to write really simple article (with one sentence) to see if you are able to produce PDF documents on your site with content.
If, yes, then try to add different parts of the article where the error occurs to see which paret produces the problem
Jan
If, yes, then try to add different parts of the article where the error occurs to see which paret produces the problem
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Jul 2019, 00:06
Re: PDF generated without content (only header - footer)
I tried.
I created an article with a word, but the behaviour is the same.
The file is created with article name.
Header with article name and footer but nothing inside.
The server error_log shows no errors.
I created an article with a word, but the behaviour is the same.
The file is created with article name.
Header with article name and footer but nothing inside.
The server error_log shows no errors.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF generated without content (only header - footer)
Hi, don't create the article in Word (which pastes a lot of invisible not transparent code into the text). Just try to write only one sentence to the article and test it. Try to add new article, write "test" to the article content and save. To know if there is no problem with the function. Mostly copied code from Word which copies a lot of corrupted invisible code prevents from rendering PDFs.
Jan
Jan
If you find Phoca extensions useful, please support the project