Page 1 of 1
Fatal Error PdfDocument.php
Posted: 12 Jan 2018, 00:31
by fottutoblues
Hi Jan,
after uninstalling PhocaPDF components and plugins I can't generate the pdf of Virtuemart Product detail.
"Fatal error: Class 'Joomla\CMS\Document\Exception' not found in C:\xampp5\htdocs\mepastore\libraries\src\Document\PdfDocument.php on line 96"
Component and plugins are properly uninstalled, but something still calls PhocaPDF.
The site still running in localhost.
Joomla v.3.8.3
Virtuemart v.3.2.12
Thank you so much for your good work
Re: Fatal Error PdfDocument.php
Posted: 12 Jan 2018, 10:22
by Benno
Hi,
see:
https://www.phoca.cz/phocapdf-plugins
PHP5 or any later version, Joomla!1.5, Phoca PDF component with installed font, VirtueMart1.1, VirtueMart IDnR Addon
This plugin is made for Joomla! v1.5 and therefore it will not work with Joomla! 3.x
Kind regards,
Benno
Re: Fatal Error PdfDocument.php
Posted: 12 Jan 2018, 14:30
by fottutoblues
Hello,
unfortunately I do not understand ...
After component and plugin
uninstallation the pdf generation of Virtumart Product Detail fails:
Fatal error: Class 'Joomla \ CMS \ Document \ Exception' not found in C:\xampp5\htdocs\mepastore\libraries\src\Document\PdfDocument.php on line 96
PdfDocument.php is a PhocaPDF file and now it does not have to be called.
I tried reinstalling VM, VM AIO, TCPDF, but without success.
How can I get back to the pre-installation configuration?
Thankyou
Re: Fatal Error PdfDocument.php
Posted: 12 Jan 2018, 18:21
by Benno
Hi,
sorry, I have read too fast (and therefore I misunderstood). I understood that you have installed the Phoca PDF VirtueMart plugin in Joomla! v3.x and therefore the error has occurred.
Unfortunately, to your problem I have no idea.
Kind regards,
Benno
Re: Fatal Error PdfDocument.php
Posted: 13 Jan 2018, 00:56
by fottutoblues
I've tried to reinstall PhocaPDF and plugings System + Contents.
- After installation the pdf works fine in all articles, but in VM product detail I obtain
ERR_INVALID_RESPONSE:
- After uninstalling I obtain the usual error:
FATAL_ERROR
Fatal error: Class 'Joomla \ CMS \ Document \ Exception' not found in C:\xampp5\htdocs\mepastore\libraries\src\Document\PdfDocument.php on line 96
What can I do?
Help!
Re: Fatal Error PdfDocument.php
Posted: 13 Jan 2018, 03:44
by fottutoblues
I solved by brute force deleting \libraries\src\Document\PdfDocument.php
Good!
Re: Fatal Error PdfDocument.php
Posted: 13 Jan 2018, 10:46
by Benno
Ok.
Kind regards,
Benno