News:

Looking for documentation? Take a look on our wiki

Main Menu

Parent category not loading template

Started by softnet, July 14, 2016, 14:43:19 PM

Previous topic - Next topic

softnet

Joomla 3.6.0
VM 3.0.17.2

Having upgraded to VM 3.0.17.2 my template doesn't seem to load correctly on different levels of category.

The shop homepage loads fine:
http://www.mkkoi.be

BUT if you try to open a category up that has sub-categories, it doesn't load the template:
http://www.mkkoi.be/webshop/vijverbeluchting.html

error:
Fatal error: Class 'VmHtml' not found in /var/www/mkkoi.be/mkkoi.be/wwwroot/administrator/components/com_virtuemart/helpers/vmpagination.php on line 211

Any help appreciated thanks

Jumbo!

Looks like bug.

Open - administrator/components/com_virtuemart/helpers/vmpagination.php in your favourite text editor.

Find the following codes in line 211:

$id = VmHtml::ensureUniqueId('limit');

Replace above by:

if(!class_exists('VmHtml'))
{
require VMPATH_ADMIN . '/helpers/html.php';
}

$id = VmHtml::ensureUniqueId('limit');



This will fix it for the time being.

jenkinhill

VM3.0.17.2 is a test/development version (ie odd numbered) so may well contain bugs which have not yet come to light or been fixed.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

softnet

Hi,

thx for the info looks like bug its fix now thanks for jenkinhill