close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Call to undefined method Add To Cart

Thread began 7/21/2019 2:50 pm by eric284736 | Last modified 7/22/2019 7:53 pm by Ray Borduin | 22 views | 4 replies |

eric284736

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

Sign in to reply to this post

eric284736

see pm

Sign in to reply to this post

Ray BorduinWebAssist

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.

Attached Files
rsobj.php
Sign in to reply to this post

eric284736

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

Sign in to reply to this post

eric284736

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

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...