Page 1 of 1

I made mess with PDF plugin

Posted: 13 Feb 2021, 00:35
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?😀

Re: I made mess with PDF plugin

Posted: 13 Feb 2021, 08:20
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.

Re: I made mess with PDF plugin

Posted: 13 Feb 2021, 12:01
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.

Re: I made mess with PDF plugin

Posted: 13 Feb 2021, 14:49
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.. ;-)

Re: I made mess with PDF plugin

Posted: 13 Feb 2021, 21:51
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)?

Re: I made mess with PDF plugin

Posted: 15 Feb 2021, 18:52
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.

Re: I made mess with PDF plugin

Posted: 20 Feb 2021, 23:34
by Jan
Ok