• Virtuemart 3.4 prepare for the future

    This release is now ready for all our VirtueMart users. Due to the wide ranging changes we have made to underlying core functions and the removal of old VirtueMart and Joomla compatibility (which was weighing things down and slowing future developments), we have taken more time putting this release together than usual. Initial feedback from our beta testers has shown us that it has been worth the extra effort and time that it took. Here are some highlights:- Improved core - VirtueMart core now...

    Read More ...

The latest version of VirtueMart introduced two simple functions also used in Joomla! 1.0.10. In those functions a function called "mosHash" is used, which is not available in any Mambo versions, but was introduced in Joomla!. So if you're using Mambo and VirtueMart 1.0.6 you currently have a problem.

But there's a quick workaround for that. You just need to declare that function mosHash in the file /administrator/components/com_virtuemart/classes/ps_main.php and it's done.

So you can add the following code at the end of that file:

if( !function_exists( 'moshash' )) {
function mosHash( $seed ) {
return md5( $GLOBALS['mosConfig_secret'] . md5( $seed ) );
}
}

As as alternative you could use this patched version of the file ps_main.php and replace it with your existing version.

Testimonial

We have gold here, ... after few months analyzing other options I realize that VM 2 is the best extension cart solution. Community is active and forum works fine. Go VM team!
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok Decline