close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email Not Loading Cart

Thread began 4/08/2013 2:38 pm by Mike Perry | Last modified 4/08/2013 3:55 pm by Mike Perry | 202 views | 3 replies |

Mike Perry

Email Not Loading Cart

I'm trying to place a cart display in a confirmation E-Mail. When I go through the process the cart operates normally, and populates the database as needed. However when I navigate to the page that triggers the e-mail, I get the following error:

"Fatal error: Call to a member function GetContent() on a non-object in /usr/www/users/mperry/poppop/webassist/email/templates/Blank.php on line 6"

the code for line 6 is:

"$register->GetContent();"

File for the e-mail (Blank.php) is attached, as is the file for the page that triggers the behavior (registrationsuccess.php) -- I suspect the require_once code is not loading the cart in line 3 of Blank.php.

Thanks. . .

Mike

Attached Files
Blank.zip
registersuccess.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the email tempalte file, change:

php:
<?php

$register
->GetContent();
?>



to:

php:
<?php

global $register;
$register->GetContent();
?>
Sign in to reply to this post

Mike Perry

That got it. . .

Thanks again, Jason. . . .

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