VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: szeligowskim on April 25, 2016, 00:57:14 AM

Title: Sub Category links go to white screen
Post by: szeligowskim on April 25, 2016, 00:57:14 AM
I recently updated to VirtueMart 3.0.16 and now when I select links to sub categories a blank page is displayed.

Firefox's element inspector states "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol" on the blank screen.

This is the link of categories:
http://www.elitevacuumsplus.com/portal/vacuums-accessories/view/category/

Once clicking on any of the categories I get a completely blank page.

What can I do to resolve this?
Title: Re: Sub Category links go to white screen
Post by: Ghost on April 25, 2016, 07:20:36 AM
It's a PHP error. Enable error reporting.
Title: Re: Sub Category links go to white screen
Post by: jenkinhill on April 25, 2016, 10:52:30 AM
FAQ:  http://forum.virtuemart.net/index.php?topic=121692.0
Title: Re: Sub Category links go to white screen
Post by: szeligowskim on April 26, 2016, 04:37:06 AM
This is the error I got:
Fatal error: Class 'CurrencyDisplay' not found in /home/elite10170/public_html/portal/components/com_virtuemart/views/category/view.html.php on line 160

any suggestions?
Title: Re: Sub Category links go to white screen
Post by: GJC Web Design on April 26, 2016, 09:28:46 AM
I wonder why......

you can probably solve by adding just before line 160

if (!class_exists('CurrencyDisplay')) require(VMPATH_ADMIN . DS. 'helpers' . DS . 'currencydisplay.php');

but the class is normally loaded