Post by rph » Mon Oct 27, 2014 12:30 am

kombi wrote:This VQMod Manager works with 2.0


http://www.opencart.com/index.php?route ... load_id=37
Anyone can modify VQMod Manager how they want but it's against the license to use the name.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by amimoto » Tue Dec 09, 2014 5:25 am

To the original topic:
If you get the message "Invalid file type!" in the extension installer, check if your zip- or xml-file is named with ocmod:
xy.ocmod.zip or xy.ocmod.xml
That's was my lesson today...

Newbie

Posts

Joined
Wed Nov 05, 2014 4:33 am

Post by Merbered » Tue Dec 23, 2014 4:46 pm

I had the same problems as all of you and here's how I solved them.

First, vqmod:
- you should check if there in index.php you have these lines:
// Application Classes
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/customer.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/currency.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/tax.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/weight.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/length.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/cart.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/affiliate.php'));

Once I installed vqmod those lines were there, then next time those were not.
Also, you should check if you have the same lines in your /admin/index.php file.
If not, add them.

Second, problem with Extension Installer.
Every time I tried to install an extension I got the same error: Invalid file type!
Luckilly, one extension did installed so I had a chance to compare that extension and others that didn't installed.
And the reason is (you gonna love this): a part of extension name MUST be .ocmod.xml or .ocmod.zip (including that dot in front of ocmod word).
So, if you want to install, say, extension_abc.xml, you should rename it to extension_abc.ocmod.xml and that will do the work as expected.

I hope this will help you.

Newbie

Posts

Joined
Tue Dec 23, 2014 4:35 pm
Who is online

Users browsing this forum: No registered users and 3 guests