VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: p.lankhaar on April 16, 2016, 02:55:26 AM

Title: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: p.lankhaar on April 16, 2016, 02:55:26 AM
Dear ,
Today I've updated my installation from Joomla 3.0.14 to 3.0.16.
I have a menu that display two subcategories. After the update the menu displays only a blank screen. No products from my subcategory.
After changing the subcategory to the default highest category, I see directly all my subcategories and my products. When I try to activate the subcategory again, I see only my blank screen back.
I guess it's maybe a problem in the template, but I've tried all templates, but that doesn't matter.

Anyone here can help?
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: jenkinhill on April 16, 2016, 13:43:19 PM
Blank screen?  See http://forum.virtuemart.net/index.php?topic=121692.0

What happened with Protostar? What is the URL?
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: p.lankhaar on April 20, 2016, 14:29:41 PM
Dear friend,
Today I've tried it again. First I've made a whole new configuration on a new computer with XAMPP PHP 7.0.4.
After that I've updated again from 3.0.14 to 3.0.16 and now I see an error:

Class 'CurrencyDisplay' not found.

Someone any idea?
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: jenkinhill on April 20, 2016, 15:00:43 PM
Quote from: p.lankhaar on April 20, 2016, 14:29:41 PM
Class 'CurrencyDisplay' not found.

Useless without knowing on which page it was not found!
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: p.lankhaar on April 30, 2016, 03:01:07 AM
Sorry!
I want to try to explain it exactly step by step!

I have a category in Virtuemart, and it's called "bandrecorders". Under this category I have several sub-categories with serveral different brands.

Look to this screenshot:

(http://www.lankhaar-ict.nl/Fotos/Niet-Audio-Gerelateerd/Screenshots-Soundtapewereld/Virtuemart-1.jpg)

Further I've made in Joomla a Virtuemart category view menu item type, called "bandrecorders".
I've linked it to my Virtuemart category "bandrecorders"

See:

(http://www.lankhaar-ict.nl/Fotos/Niet-Audio-Gerelateerd/Screenshots-Soundtapewereld/Virtuemart-2.jpg)

In Virtuemart 3.0.14 it works perfectly! But in 3.0.16 I see the message

Quote
Class 'CurrencyDisplay' not found

What's wrong?

When you need more information, I'm glad to answer it.

In advance thanks for all help again,
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: Studio 42 on April 30, 2016, 14:55:54 PM
I think the problem is in your template.
YOu have overides per view and certainly the class is not added in your case in this template.
Check with default template(protostar), if the problem is solved.
If it's the case, you have to add CurrencyDisplay class in YOURSITE\templates\YOURTEMPLATE\html\com_virtuemart\category\default.php
at top of file add
if (!class_exists('CurrencyDisplay'))
require(VMPATH_ADMIN . DS . 'helpers' . DS . 'currencydisplay.php');

If it's not solved, it's perhaps a product(vmcustom) plugin that use this class but do not check for this.
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: bestcons on May 07, 2016, 17:44:28 PM
This problem was reported before http://forum.virtuemart.net/index.php?topic=133888.msg464672#msg464672 and a work-around was suggested, which works for me (at least for the moment).
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: Studio 42 on May 07, 2016, 18:06:16 PM
OK, don't had this problem in Vm 3.0.16 for now. But it's really strange that core team have miss this.
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: p.lankhaar on May 25, 2016, 13:16:28 PM
Yes, that was the right solution.
Title: Re: Subcategories are not visible any more after updating from 3.0.14 to 3.0.16
Post by: Milbo on May 25, 2016, 20:12:46 PM
Quote from: Studio 42 on May 07, 2016, 18:06:16 PM
OK, don't had this problem in Vm 3.0.16 for now. But it's really strange that core team have miss this.

The problem was that we had to rush the release due the joomla j3.5.1 email bug.