VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: aromasense on September 04, 2013, 07:03:42 AM

Title: Upgrade to 2.0.22c failed
Post by: aromasense on September 04, 2013, 07:03:42 AM
Hi,

Just tried an upgrade to 22c on my joomla 2.5.8 on my localhost and it fails as I can not do a checkout anymore.

Cart shows up and then confirm this shows up.

The website encountered an error while retrieving http://localhost/index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout. It may be down for maintenance or configured incorrectly.
Reload this webpage.
Press the reload button to resubmit the data needed to load the page.
Error code: 500

Am using one page checkout version onepage2.0.193 and a joomla-monster template.

cheers
Marco
Title: Re: Upgrade to 2.0.22c failed
Post by: aromasense on September 04, 2013, 07:38:20 AM
UUnpublished rupostel one page checkout and just use native checkout and all is working
Title: Re: Upgrade to 2.0.22c failed
Post by: stAn99 on September 04, 2013, 13:17:17 PM
Hello, please update:
\components\com_onepage\overrides\cart_override.php

and comment:

public static $_triesValidateCoupon;

and

self::$_triesValidateCoupon=0;


so they look like this:

//public static $_triesValidateCoupon;

and

//self::$_triesValidateCoupon=0;


The issue is caused by a changed variable scope within the latest vm release in 2.0.22c and will be available in OPC version 2.0.195

Best Regards,
Stan