VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: blondie63 on June 20, 2014, 15:32:56 PM

Title: VM 2.9.6 bug on search
Post by: blondie63 on June 20, 2014, 15:32:56 PM
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 ?
Title: Re: VM 2.9.6 bug on search
Post by: Milbo on June 20, 2014, 16:55:00 PM
I think you are right, but it should also use DS instead of the /.

I am quite sure this is already correct for VM3
Title: Re: VM 2.9.6 bug on search
Post by: blondie63 on June 22, 2014, 10:47:11 AM
is it near to be released ?
Title: Re: VM 2.9.6 bug on search
Post by: Milbo on June 22, 2014, 15:39:01 PM
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 ();
Title: Re: VM 2.9.6 bug on search
Post by: blondie63 on June 22, 2014, 19:00:53 PM
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 ?