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

TOPIC: conflict with automatic coupon

conflict with automatic coupon 8 years 5 months ago #13118

Hi, I found out that since the recent VM update to VM3.0.10, I get a blank page on shopping cart page when an automatic coupon is enabled. When I disable the automatic coupon, the page shows normal.

The error message I get is:

Your site caused a blank screen upon a visit of this URL:
dev.saintbasics.com/index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json&lang=nl&_=1444305593484

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

My config:
Joomla 3.4.4
VM 3.0.10
One Page Checkout (Rupostel) 2.0.296.090915
AwoCoupon Pro 2.4.2

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

conflict with automatic coupon 8 years 5 months ago #13122

Hi,

Open this PHP file:
/plugins/system/FlexibleVm3cart/FlexibleVm3cart.php

look around 59th line and find this line:
function prepareAjaxData($checkAutomaticSelected=true){

right after that line, insert this line:
if(!class_exists('VirtueMartCart')) require(JPATH_VM_SITE.'/helpers/cart.php');


This should be enough to resolve the FATAL error. If not, please let me know. I will deeply investigate it

Regards
Support
Last Edit: 8 years 5 months ago by Support.
The administrator has disabled public write access.

conflict with automatic coupon 8 years 5 months ago #13189

Hi, sorry for the late reply. Nope, I still get a fatal error.
The administrator has disabled public write access.

conflict with automatic coupon 8 years 5 months ago #13197

Hi,

Your case requires further investigation to figure out what goes wrong. Please fill out this support-request-form below and email it to This email address is being protected from spambots. You need JavaScript enabled to view it. and i will take a look at your website ASAP.
Order ID:
<< Enter your Order ID >>

Problem:
<< Describe the problem briefly.. If you have a topic on our Forum, then provide the Forum Topic URL >>

Screenshot:
<< If necessary, provide screenshot to show the failure >>

The URL(s) to see the failure on your website:
<< i.e: www.domain.com/category/product-sample. If the problem is general, then just the domain name is enough >>

Joomla Administrator Credentials:
<< Joomla Administrator URL & Username & Password >>

FTP credentials (Provide FTP credentials in this format)
FTP server: ftp.yourdomain.com
FTP username: <<username>>
FTP password: <<password>>
Port: << port number -- if it is other than 21 -->>

regards.
The administrator has disabled public write access.
Time to create page: 0.112 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