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

Add to Cart on Dynamic data error

Thread began 7/11/2011 12:48 pm by lr_leal239405 | Last modified 7/11/2011 3:56 pm by Jason Byrnes | 778 views | 5 replies |

lr_leal239405

Add to Cart on Dynamic data error

Hi all....I used DataAssist to build the search and results pages for me and it's reading off a db. I list 20 items at a time from over 1,000 items on the db. Now I proceed to add an Add to Cart button, but when I run the page I get the errors:


Notice: Undefined variable: eCart1 in D:\wwwroot\hopeoftheworld.org\www\NewSite\Order\messages_search_Results.php on line 3

Fatal error: Call to a member function GetContent() on a non-object in D:\wwwroot\hopeoftheworld.org\www\NewSite\Order\messages_search_Results.php on line 3

I really don't understand much PHP, which is why I hoped these Webassist products would build most of the code for me. Can anyone tell me what I'm doing wrong?

Thanks.

-Levin-

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the messages_search_Results.php file in a zip archive.

Sign in to reply to this post

lr_leal239405

Add to Cart on Dynamic data error ZIP FILE

Hi Jason,

Attached is the file. THANKS!

If need be, I do know how to edit some PHP code and I can understand some but it's limited.

Levin.

Attached Files
messages_search_Results.zip
Sign in to reply to this post

Jason ByrnesWebAssist

move the code from line 51 - 54:

php:
<?php

//WA eCart Include
require_once("../../WA_eCart/eCart1_PHP.php");
?>




to line 1

Sign in to reply to this post

lr_leal239405

THANKS! Add to Cart on Dynamic data error

That fixed it...so simple...I REALLY APPRECIATE IT.

-levin-

Sign in to reply to this post

Jason ByrnesWebAssist

no worries.

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...