VM Update 2.0.24b vs. Phoca_VM_Category modules

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
C-Box
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 20 Nov 2013, 21:45

VM Update 2.0.24b vs. Phoca_VM_Category modules

Post 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
brommobielsloperij
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 Nov 2013, 11:46

Re: VM Update 2.0.24b vs. Phoca_VM_Category modules

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: VM Update 2.0.24b vs. Phoca_VM_Category modules

Post by Jan »

Hi, thank you for the info, I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: VM Update 2.0.24b vs. Phoca_VM_Category modules

Post 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
If you find Phoca extensions useful, please support the project
Post Reply