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.
Error when clicking the pdf-button
-
- Phoca Newbie
- Posts: 6
- Joined: 15 Aug 2018, 13:15
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error when clicking the pdf-button
Hi, which version of Phoca PDF do you run?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 15 Aug 2018, 13:15
Re: Error when clicking the pdf-button
Version 3.0.5
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error when clicking the pdf-button
Please enable debug mode and let me know the screenshot of error page (it will include more detailed information about the error)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 15 Aug 2018, 13:15
Re: Error when clicking the pdf-button
Thanks, Jan.
A screenprint you can find here: https://www.handelingen.com/index.php/2 ... debug-mode
(click on it to magnify)
A screenprint you can find here: https://www.handelingen.com/index.php/2 ... debug-mode
(click on it to magnify)
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error when clicking the pdf-button
Hi, this seems like some obsolete Joomla! version, which version of Joomla! do you use?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 15 Aug 2018, 13:15
Re: Error when clicking the pdf-button
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
Joomla! Platform versie Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error when clicking the pdf-button
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 15 Aug 2018, 13:15
Re: Error when clicking the pdf-button
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
-> 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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error when clicking the pdf-button
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
Jan
If you find Phoca extensions useful, please support the project