VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Tony M on February 12, 2016, 17:00:00 PM

Title: "Confirm purchase" Fatal error with TableOrders [fixed by updating]
Post by: Tony M on February 12, 2016, 17:00:00 PM
Hi!

Virtuemart 2.9.1 stable + Joomla 3.2.0

I get an error when trying to confirm purchase in cart:

Fatal error: Call to undefined method TableOrders::bindChecknStore() in /hermes/bosnaweb03a/b1707/ipg.metooeventscom/administrator/components/com_virtuemart/models/orders.php on line 869

Line 869: $orderTable -> bindChecknStore($_orderData);
from
orderTable =  $this->getTable('orders');
$orderTable -> bindChecknStore($_orderData);
$errors = $orderTable->getErrors();
foreach($errors as $error){
vmError($error);
}


Can anybody help?

Trying to solve it for the last 2 days :(

Thanks in advance
Title: Re: "Confirm purchase" Fatal error with TableOrders::bindChecknStore()
Post by: jenkinhill on February 12, 2016, 17:37:55 PM
Quote from: Tony M on February 12, 2016, 17:00:00 PM

Virtuemart 2.9.1 stable + Joomla 3.2.0


VirtueMart 2.9.1 was not a stable version, but a beta version of the original VM3 (and is not secure) - stable version is now at VM3.0.12 
And that Joomla version is old, no longer supported and insecure.  Neither of these versions should be used on a live site.

It is very likely that your "bug" was fixed many versions ago so you would be well advised to update and then check if the issue remains. Check all updates on a backup copy of the live site.
http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: "Confirm purchase" Fatal error with TableOrders::bindChecknStore()
Post by: Tony M on February 14, 2016, 08:07:39 AM
Just updated Joomla and VM to the latest versions and everything works great! ;D ;D ;D

Thank you for the advice :D