Page 1 of 1

VM Update 2.0.24b vs. Phoca_VM_Category modules

Posted: 20 Nov 2013, 21:55
by C-Box
Hi,

I've installed the Phoca CadDTree Module for virtuemart 2.x and it seems that after updating the VirtueMart to 2.0.24b the Phoca modules causes the site to stop working (I've placed the module/tree at the start page and it causes a fatal error so that the site keeps blank).
Is there any update planned or workaround?

Here is the update info from VM 2.0.24b:
The version 2.0.24b fixes mainly two problems in 2.0.24a,

one is that the category ordering is always by name and not using the manual ordering
the other is that the invoice is not using the layout override.
Category tree cache was not always used and not always correctly updated

in case you have a category module using an override based on the old file,..
please search for
JFactory::getCache and delete this line. If you are unsure about this, you can skip this step.

Search also for
$cache->call( array( 'VirtueMartModelCategory', 'getChildCategoryList' ),$vendorId, $category->virtuemart_category_id );
and replace it by
VmModel::getModel('category')->getChildCategoryList($vendorId, $category->virtuemart_category_id );

Be aware it can be also $child instead of $category. the part behind getChildCategoryList stays the same. This change enhances in some stores drastically the speed. For more information or if you need help, you may read here forum.virtuemart.net/index.php?topic=120284#msg410104
regards from Germany
C-Box

Re: VM Update 2.0.24b vs. Phoca_VM_Category modules

Posted: 22 Nov 2013, 11:48
by brommobielsloperij
Check http://forum.virtuemart.net/index.php?t ... #msg410322

Download the file and replace the original in /administrator/components/com_virtuemart/models

For me it works! But it is a temporarily solution. Phoca should come with a new version I think.

Re: VM Update 2.0.24b vs. Phoca_VM_Category modules

Posted: 23 Nov 2013, 00:46
by Jan
Hi, thank you for the info, I will take a look at it.

Jan

Re: VM Update 2.0.24b vs. Phoca_VM_Category modules

Posted: 26 Nov 2013, 01:51
by Jan
Hi, update your VirtueMart to 2.0.24c and Phoca VirtueMart Category module to 1.0.2


See:
https://www.phoca.cz/download/category/6 ... ory-module
Jan