News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM 2.9.6 bug on search

Started by blondie63, June 20, 2014, 15:32:56 PM

Previous topic - Next topic

blondie63

I've found that file /html/plugins/search/virtuemart/virtuemart.php on row 80 has:

require(JPATH_ADMINISTRATOR . 'components/com_virtuemart/helpers/config.php');

and i think must be this:

require(JPATH_ADMINISTRATOR . '/components/com_virtuemart/helpers/config.php');

what do you think ?
Blondie - www.catalogo.mobi

Currently using VM3.6.10 on Joomla 3.9.15 PHP 7.3

Milbo

I think you are right, but it should also use DS instead of the /.

I am quite sure this is already correct for VM3
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

blondie63

Blondie - www.catalogo.mobi

Currently using VM3.6.10 on Joomla 3.9.15 PHP 7.3

Milbo

I think you have an outdated version. I just checked. We have in vm2.6


if (!class_exists ('VmConfig')) {
require(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'config.php');
}
VmConfig::loadConfig ();
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

blondie63

i've installed with file com_virtuemart.2.9.6.tar.gz over a previous 2.6.x
maybe the 2.9.6 installer does'nt update plugin ?
Blondie - www.catalogo.mobi

Currently using VM3.6.10 on Joomla 3.9.15 PHP 7.3