Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Maybe your component (Virtuemart) has been installed incorrectly.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Maybe your component (Virtuemart) has been installed incorrectly.

Maybe your component (Virtuemart) has been installed incorrectly. 4 years, 4 months ago #40089

SJ Filter for VirtueMart is not functioning. In admin area, in Categories and Manufacturers tab, it says;
Maybe your component (Virtuemart) has been installed incorrectly.
Please sure your component work properly.
If you still get errors, please contact us via our forum or ticket system

And it's not functioning in the site, only price is working.

The site is Joomla! 3.9.14, VirtueMart 3.6.10, Sj_furni Virtuemart template from you.

Re: Maybe your component (Virtuemart) has been installed incorrectly. 4 years, 4 months ago #40090

Hello,

All above modules has is a file in path : core\fields\sjvmcategories.php
So you need to simply change (near line 46 ):
if (!class_exists('VmModel')) {
if (defined('JPATH_VM_ADMINISTRATOR') && file_exists(JPATH_VM_ADMINISTRATOR . '/helpers/vmmodel.php')) {
require JPATH_VM_ADMINISTRATOR . '/helpers/vmmodel.php';
} else {
$this->error = 'Could not find VmModel helper';
return false;
}
}​
with below codes :
if (!class_exists('VmModel')) {
$vmpath_admin = $rootPath.'/administrator/components/com_virtuemart';
JLoader::register('VmModel', $vmpath_admin.'/helpers/vmmodel.php');
}
and find
protected function getCategories()
comment code
//VmConfig::loadJLang('com_virtuemart', true);
VmConfig::loadConfig();

Thanks
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes