Fatal Error PdfDocument.php

Phoca PDF - creating PDF documents in Joomla! CMS
fottutoblues
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Dec 2008, 21:20

Fatal Error PdfDocument.php

Post 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

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Fatal Error PdfDocument.php

Post 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
fottutoblues
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Dec 2008, 21:20

Re: Fatal Error PdfDocument.php

Post by fottutoblues »

Hello,

unfortunately I do not understand ... :(
After component and plugin uninstallation the pdf generation of Virtumart Product Detail fails:
Image
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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Fatal Error PdfDocument.php

Post 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
fottutoblues
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Dec 2008, 21:20

Re: Fatal Error PdfDocument.php

Post 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:
Unable to reach the site The web page at http://localhost/mepastore/mepa/010-017 ... format=pdf may be temporarily unavailable or has been permanently moved to a new web address. 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!
fottutoblues
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Dec 2008, 21:20

Re: Fatal Error PdfDocument.php

Post by fottutoblues »

I solved by brute force deleting \libraries\src\Document\PdfDocument.php
Good!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Fatal Error PdfDocument.php

Post by Benno »

Ok.

Kind regards,
Benno
Post Reply