In components\com_virtuemart\helpers\shopfunctionsf.php renderMail()
if(JVM_VERSION == 2){
$q = 'SELECT `template` FROM `#__template_styles` WHERE `client_id`="0" AND `home`="1"';
} else {
$q = 'SELECT `template` FROM `#__template_styles` WHERE `client_id`="0" AND `home`="1"';
}
This produces error in Joomla 1.5 and it should be changed to:
if(JVM_VERSION == 2){
$q = 'SELECT `template` FROM `#__template_styles` WHERE `client_id`="0" AND `home`="1"';
} else {
$q = 'SELECT `template` FROM `#__templates_menu` WHERE `client_id`="0" AND `menuid`="0"';
}
This might be a copy/paste error because there is a check for Joomla version but query is not changed accordingly :)
thanks, just changed it as you suggested.
Your welcome :)
I just checked SVN and there is still "#__template_styles" instead of "#__templates_menu" in J1.5 there is no table "#__template_styles" :)
Thx, was in a hurry, ... will be committed soon.