Page 1 of 2
Error when clicking the pdf-button
Posted: 15 Aug 2018, 13:26
by yrrah
When I click on the pdf-button in an article on my website (for instance in
https://www.handelingen.com/index.php/l ... oordegraaf) I get en errormessage: 0 - Call to undefined method Joomla\CMS\Document\RawDocument::setHeader()
It seems this error suddenly occurs: for a few weeks all went right.
What can be wrong?
Thanks in advance.
Re: Error when clicking the pdf-button
Posted: 18 Aug 2018, 13:55
by Jan
Hi, which version of Phoca PDF do you run?
Jan
Re: Error when clicking the pdf-button
Posted: 18 Aug 2018, 15:19
by yrrah
Version 3.0.5
Re: Error when clicking the pdf-button
Posted: 27 Aug 2018, 15:03
by Jan
Please enable debug mode and let me know the screenshot of error page (it will include more detailed information about the error)
Jan
Re: Error when clicking the pdf-button
Posted: 27 Aug 2018, 17:41
by yrrah
Thanks, Jan.
A screenprint you can find here:
https://www.handelingen.com/index.php/2 ... debug-mode
(click on it to magnify)
Re: Error when clicking the pdf-button
Posted: 02 Sep 2018, 00:51
by Jan
Hi, this seems like some obsolete Joomla! version, which version of Joomla! do you use?
Jan
Re: Error when clicking the pdf-button
Posted: 02 Sep 2018, 07:54
by yrrah
Joomla! versie Joomla! 3.8.12 Stable [ Amani ] 28-August-2018 14:00 GMT
Joomla! Platform versie Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Re: Error when clicking the pdf-button
Posted: 02 Sep 2018, 22:03
by Jan
Hmm, the problem is, the error is comming from raw document but it should be handled pdf document (not raw).
Were all files copied to your site when installing Phoca PDF? See if this file exists:
components\com_content\views\article\view.pdf.php
libraries\src\Document\Renderer\Pdf\ComponentRenderer.php
Jan
Re: Error when clicking the pdf-button
Posted: 02 Sep 2018, 22:39
by yrrah
components\com_content\views\article\view.pdf.php
-> does NOT exist in: /domains/handelingen.com/public_html/administrator/components/com_content/views/article
-> does exist in: /domains/handelingen.com/public_html/components/com_content/views/article
libraries\src\Document\Renderer\Pdf\ComponentRenderer.php
-> in: /domains/handelingen.com/public_html/libraries/src/Document/Renderer there's no directory Pdf
Re: Error when clicking the pdf-button
Posted: 04 Sep 2018, 16:11
by Jan
Hi, so this seems to be a problem, try to reinstall the Phoca PDF component and see the post installation message, if all the files were successfully installed.
Jan