Page 1 of 2

Phoca PDF not generating PDF files

Posted: 09 May 2021, 10:15
by ShafanHameed
Hi,
I am using Phoca PDF to geenerate pdf files for virtuemart product detail's page pdf icon but it is showing error "Failed to load PDF Document". how to resolve this issue ?

I am using
Joomla! 3.9.26
VirtueMart 3.8.8 10472
Phoca PDF 3.0.11
PHP Version 7.3.27
Database Version 5.5.5-10.1.41-MariaDB-0+deb9u1

Re: Phoca PDF not generating PDF files

Posted: 12 May 2021, 14:15
by Jan
Hi, try to enable displaying PHP errors and then download the PDF and open it in text editor to see if there is no error rednered before PDF header (see similar posts in this forum).

Jan

Re: Phoca PDF not generating PDF files

Posted: 15 May 2021, 14:11
by ShafanHameed
Hello Jan, Thanks for your reply. Sorry was not available because of EID Vocations.
I tried enabling Debug mode and then tried to download pdf file but nothing happens. Its not showing any error also getting the same error "Failed to load PDF document."

also how can i share a url which is not visible to users in this form so i can share the url and admin credentials for you to look into it.

Re: Phoca PDF not generating PDF files

Posted: 15 May 2021, 17:52
by Jan
Can you paste here a link to the PDF document which was generated?

Jan

Re: Phoca PDF not generating PDF files

Posted: 16 May 2021, 10:49
by ShafanHameed
Hello Jan,
Here is the link which was generated when i click on pdf icon.
https://www.nienich.net/nienich-online- ... =component

Re: Phoca PDF not generating PDF files

Posted: 17 May 2021, 20:48
by Jan
Hi, the PDF document includes the following error message:

500 - Document cannot be created - Loading of Phoca PDF Plugin (VirtueMart) failed

So the plugin seems to be missing there :idea:

Jan

Re: Phoca PDF not generating PDF files

Posted: 17 May 2021, 22:07
by ShafanHameed
i have installed Phoca component and plugin which comes with it. Can you indicate which one is missing and from where i can download it so i can download and install it so the problem can be fixed ?

Re: Phoca PDF not generating PDF files

Posted: 18 May 2021, 13:16
by Jan
Hi, you need the Virtuemart plugin, see:

https://www.phoca.cz/download/category/ ... art-plugin

But be aware, it is designed for old Virtuemart versions.

VM Team copied the PDF feature into Virtuemart, so for now I don't have any information which way the PDF works in Virtuemart.

For now, Phoca PDF supports active developed Phoca Cart ecommerce extension when we speak about ecommerce extensions.

Re: Phoca PDF not generating PDF files

Posted: 18 May 2021, 14:13
by ShafanHameed
Hi Jan,
I have already tried this plugin but it messes up whole website upside down thats why i uninstalled it. And i don't the developer of this plugin has any plans to upgrading it for latest version of VM. is there any other solution to resolve this issue ?

Re: Phoca PDF not generating PDF files

Posted: 21 May 2021, 12:19
by ShafanHameed
ShafanHameed wrote: 18 May 2021, 14:13 Hi Jan,
I have already tried this plugin but it shows a warning and an error which is
Warning = JInstaller: :Install: Can't find Joomla XML setup file.
Error = Unable to detect manifest file.

As you said it is outdated then how to get the updated one ?
Talking about Phoca Cart. I have already dont alot of things in my website using VM and almost 50% of work is done. I Can't migrate to Phoca Cart at this stage. All i have to be stick with VM. Maybe for next Project/Website i will try Phoca Cart but for this one i have to go with VM.