Call to undefined method Add To Cart
Hi Ray,
I am getting an error when I try to add to cart from a recordset.
Call to undefined method WA_MySQLi_RS::FindRow()
I have attached the page. Please advise.
Thanks,
Eric
Hi Ray,
I am getting an error when I try to add to cart from a recordset.
Call to undefined method WA_MySQLi_RS::FindRow()
I have attached the page. Please advise.
Thanks,
Eric
You have an older version of the rsobj.php file.... You may need to reinstall the latest version of DataBridge 2, MySQLi Server Behaviors, or eCart to get the latest (or just upload it if you have a newer local version.) I've attached the latest version... just update it on your server and this error should be cleared up.
Hi Ray,
That worked! However when I add something to the cart it does not redirect to the cart, it goes back to the product page.
Thx
Eric
I fixed it. it was missing this code:
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
if (function_exists("rel2abs")) $eCart1->redirStr = rel2abs($eCart1->redirStr,dirname(__FILE__));
header("Location: ".$eCart1->redirStr);
die();
}
?>
Thanks,
Eric
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.