I'm still getting a blank page when rendering PDFs with the new version. No errors though.
Just rendering simple text, not sure what I'm missing. Have been looking at this topic I found here in the forum:
viewtopic.php?f=37&t=56658
The last post says "set in 3.0.3" but I'm not sure if its an automatic fix or something I need to specify.
Please let me know if you can help and / or if you I may be able to hire you to work on this for us.
Thanks!
Blank Page 3.0.3
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank Page 3.0.3
Hi, can I see the site where this occurs?
Did you try to enable debug mode and php error reporting (or see errorLog on your server). Blank page mostly means a php error:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
Did you try to enable debug mode and php error reporting (or see errorLog on your server). Blank page mostly means a php error:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Sep 2016, 22:54
Re: Blank Page 3.0.3
I just looked with debug mode on and it gave no errors.
I did notice this difference between my PDF button code and the one on your demo:
Could that be the issue? I messed with the button code and got nowhere.
I did notice this difference between my PDF button code and the one on your demo:
Code: Select all
MINE:
<li class="print-icon"><a href="/custom-fabricated-copper-products.pdf?tmpl=component" onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'); return false;" title="PDF" rel="nofollow"><span class="glyphicon glyphicon-file icon-file"></span>PDF</a></li>
YOUR DEMO:
<a href="/demo/phocapdf-demo?format=phocapdf" title="PDF" onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'); return false;" rel="nofollow"><img src="/demo/images/M_images/pdf_button.png" alt="PDF"></a>
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank Page 3.0.3
Hi, can you paste a screenshot how your rendered PDF looks like?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Sep 2016, 22:54
Re: Blank Page 3.0.3
Sure - take a look at the screenshot & pdf
https://www.dropbox.com/s/1obvpfjmhnuc0 ... 9.pdf?dl=0
https://www.dropbox.com/s/t9qqd3jamrd25 ... M.png?dl=0
THANK YOU!
https://www.dropbox.com/s/1obvpfjmhnuc0 ... 9.pdf?dl=0
https://www.dropbox.com/s/t9qqd3jamrd25 ... M.png?dl=0
THANK YOU!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank Page 3.0.3
Hi, I see, so this means, there is no error rendered and the PDF is correctly created (I mean the PDF format).
So seems the content will be somehow in conflict.
Are you able to print some really simple article (test article) with e.g. only one word?
Jan
So seems the content will be somehow in conflict.
Are you able to print some really simple article (test article) with e.g. only one word?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Sep 2016, 22:54
Re: Blank Page 3.0.3
I tried that, nothing works. Is there a place where I need to specify the content div?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank Page 3.0.3
Hi, no, Phoca PDF gets the content from article only - there is no need to specify anything. Sometimes it can happen, that the article text include e.g. some bad encoding (mostly when users copy the text from applications like Word is, etc.)
Such hidding formatting can then cause the problems. So this is why I asked, if it works with some simple text (not copied) - e.g. create article, "toggle editor" (switch to html source code) and paste <p>Text</p> and save it and test if the PDF produces the content
Jan
Such hidding formatting can then cause the problems. So this is why I asked, if it works with some simple text (not copied) - e.g. create article, "toggle editor" (switch to html source code) and paste <p>Text</p> and save it and test if the PDF produces the content
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 05 Dec 2016, 12:41
Re: Blank Page 3.0.3
Same her... no Error, no Text.
The original Page: http://wisomotion.de/index.php?option=c ... Itemid=107
The PDF: http://wisomotion.de/index.php?option=c ... format=pdf
The original Page: http://wisomotion.de/index.php?option=c ... Itemid=107
The PDF: http://wisomotion.de/index.php?option=c ... format=pdf