I made mess with PDF plugin

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

I made mess with PDF plugin

Post by Nidzo »

I have installed Phoca PDF component and Phoca Cart PDF Plugin. In Phoca Cart administration there are options to preview orders as PDF but it just opens blank window with error

Image

I noticed that error shows "error 0 class 'vmconfig' not found" and URL in popup window leads to Phoca Cart component.

I had VirtueMart installed for 10 minutes or less and uninstalled. Checked database and deleted all VirtueMart related.
Looking for a solution to the problem, I came up with the idea to reinstall VirtueMart and preview orders as PDF started to work.

Image

What I messed up?😀
jpeters
Phoca Professional
Phoca Professional
Posts: 225
Joined: 31 Dec 2020, 09:46

Re: I made mess with PDF plugin

Post by jpeters »

to make shure.. are you using Phoca Cart or VirtueMart as webshop component?
looking at the error and your " solution" it looks like a Virtuemart problem.
Do you want to use Phoca PDF in combination of Virtuemart?

if a assume that you use Phoca Cart.
VirtueMart is know about not cleaning up nicely after uninstalling the package and components.
it leafs some files etc. i am quessing that the issue is related do to removing VirtueMart.
there are manuals how to remove virtuemart, and after removing you have to delete some folders and files manually.
also somethimes not al component / plugins / modules are removed (completely). so a good check and clean.
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: I made mess with PDF plugin

Post by Nidzo »

This is not production site so I make some tests on it.
My main ecommerce component is Phoca Cart. Installing VirtueMart was just testing that last for couple minutes. I will look for removing instruction of VirtueMart.
Thanks for the hint.
jpeters
Phoca Professional
Phoca Professional
Posts: 225
Joined: 31 Dec 2020, 09:46

Re: I made mess with PDF plugin

Post by jpeters »

take a look at the virtuemart forum reguarding clean uninstall virtuemart.
i know in from the past it is a pain to get everything cleaned up..
perhaps because its just for testing, make clean joomla install.. drope Virtuemart and keep it to Phoca Cart.. ;-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I made mess with PDF plugin

Post by Jan »

Hi, on the screenshot, I see the detail of warning, but not the detail of the error: 'VMConfig ..."

Can you paste a full error message regarding the error (not the warning in Document.php)?
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: I made mess with PDF plugin

Post by Nidzo »

It is on Browser Page Title. If I disable Error reporting it just throws blank page with Browser Page Title "error 0 class 'vmconfig' not found" and right of Joomla logo is Error. Nothing else.
I reinstalled Phoca Cart an plugins, searched in database for "VmConfig" but nothing found.

I installed new Joomla test site, Phoca Cart and plugins and it works just fine.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I made mess with PDF plugin

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply