News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Fatal error: Class 'CurrencyDisplay' not found

Started by bestcons, April 16, 2016, 07:54:44 AM

Previous topic - Next topic

bestcons

After upgrading my website with Joomla 3.5.1 to Virtuemart 3.0.16 I receive the following messages:
Fatal error: Class 'CurrencyDisplay' not found in /var/www/vhosts/dedecanije.nl/httpdocs/components/com_virtuemart/views/category/view.html.php on line 160
The message is shown for categories having sub-categories. Single categories are OK. So I returned to Virtuemart 3.0.14 for the moment.
Regards, bestcons

Jumbo!

Open components/com_virtuemart/views/category/view.html.php

Find the following codes in line 20:

defined('_JEXEC') or die('Restricted access');

Replace above by:

defined('_JEXEC') or die('Restricted access');

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


Save the changes.

That should resolve the issue.

bestcons

May I assume that in the next update this will be corrected?

Jumbo!


digitalmza

My Solution
Deactivate MANUFACTURER in SUBCATEGORY
Sorry for my English.
Bye :)

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation