Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Dropdown Shopping Cart(SKU# FLEX-00001)

TOPIC: Error message

Error message 8 years 2 months ago #13676

Hi, I use Joomla 3.4.8, VM 3.0.12, Rupostel OPC and the Flexible Dropdown shoppingcart.

When completing a transaction, I get this error on the checkout page:


Error message data:
1 Class 'VirtueMartCart' not found in file: /var/www/saint/plugins/system/FlexibleVm3cart/FlexibleVm3cart.php line: 62

Do you have a fix for this? Thnx!
The administrator has disabled public write access.

Error message 8 years 2 months ago #13744

Hi,

Looks like you are using an old Flexible Dropdown shopping plugin. This problem has been resolved while ago.

Here is the patch:

1- open this PHP file:
/plugins/system/FlexibleVm3cart/FlexibleVm3cart.php

2- Before this line:
VmConfig::loadJLang('com_virtuemart', true);
(Around 25th - 26th line, i can't be sure)

3- Insert this line:
if(!class_exists('VirtueMartCart')) require(JPATH_VM_SITE.'/helpers/cart.php');

So, if the Class:VirtueMartCart is not defined, the VM helper file gets loaded to define the Class:VirtueMartCart

Regards
The administrator has disabled public write access.
Time to create page: 0.206 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo