Page 1 of 1

Upgrade error VC Mod

Posted: Wed Aug 21, 2013 9:19 pm
by Bart
After upgrading VQMOD.
got the fatal error:

Fatal error: Cannot instantiate abstract class VQMod in /home/vhosting/.../admin/index.php on line 16

After re-running the VQMod installer the message is
VQMOD ALREADY INSTALLED!

What to do?
Going back to the VQMod backup of this morning ???

Or is their a solution?

Re: Upgrade error VC Mod

Posted: Wed Aug 21, 2013 10:21 pm
by Qphoria
Follow directions is "what to do"
You need to run the installer when you update to the latest version of vQmod

Re: Upgrade error VC Mod

Posted: Wed Aug 21, 2013 11:51 pm
by Bart
Did again an install. Got the same fatal error. Then started all over again with a fresh ftp-upload of the latest VQMod folder, this time with 777 instead of 755 of index.php and admin/index.php. Followed by a VQmod install.
Again the same fatal error, line 16 index.php
Any suggestion?
OC 1.5.1.3

Re: Upgrade error VC Mod

Posted: Fri Aug 23, 2013 11:26 pm
by Qphoria
your index.php is not getting updated then.. or your admin/index.php
Make the change manually here:
https://code.google.com/p/vqmod/wiki/Install_OpenCart

Re: Upgrade error VC Mod

Posted: Fri May 15, 2015 6:11 am
by 1nkling
Sorry to drag up an old post but I'm suffering the exact issue the original poster reported and none of the solutions are helping.

My index.php files are showing the required edits so I can't manually do that. There are vq files being created in the vqcache folder.

Any other suggestions for solutions to the problem? I just upgraded to 1.5.6.4

Thanks!

Re: Upgrade error VC Mod

Posted: Sun May 17, 2015 11:24 pm
by Qphoria
If you upgraded to 1.5.6.4 then you'd need the latest vQmod..
If you have the latest vQmod, the way objects are instantiated so you need to run the vqmod/install again to convert to the new method.

Old method looked like this:
$vqmod->
new method is
VQMod::

be sure your index file has the latter.

Re: Upgrade error VC Mod

Posted: Mon May 18, 2015 1:44 am
by 1nkling
Qphoria wrote:If you upgraded to 1.5.6.4 then you'd need the latest vQmod..
If you have the latest vQmod, the way objects are instantiated so you need to run the vqmod/install again to convert to the new method.

Old method looked like this:
$vqmod->
new method is
VQMod::

be sure your index file has the latter.
Thankyou for the reply. Turns out I was being spectacularly dumb.

I'd downloaded the standalone version of vqmod not the opencart one so although I'd manually done the edits there were unchanged / missing files.