close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


JavaSctipr Error When Using Database Insert

Thread began 8/13/2010 12:56 pm by | Last modified 8/13/2010 4:14 pm by Jason Byrnes | 823 views | 1 replies |

JavaSctipr Error When Using Database Insert

I'm using Universal Email 4.01 on Dw CS4

Every time I use UE to send the data from the form for a database insert on Success for a specific column I get the following error "While executing applyServerBehavior in CreatEmailMessage_WA.htm, a JavaScript error occurred."

I did the whole 'delete the cache file' thing with no results.

I was successful with inserting two columns of data but when I add the actual email column the JavaScript error consistently shows up.

I was able to get a workaround by manually editing the 'waue_e-book_1.php' file that is generated that contains the code that sets variables for database insert on success.

It now works but I get a warning dialog when I open the UE GUI that says:

"It appears that one of your server-side values is improperly coded. Please check this interface for inconsistencies."

Any ideas how to properly fix this?

$MailLogBindings->Success->ToDo = "insert";
$MailLogBindings->Success->Connection = "connBackOffice";
$MailLogBindings->Success->TableName = "ileads";
$MailLogBindings->Success->EmailColumn = "email";
$MailLogBindings->Success->ColumnList = array("ilead_type", "date_create");
$MailLogBindings->Success->TypeList = array("',none,''", "',none,NULL");
$MailLogBindings->Success->ValueList = array("Savvy Investor e-Book", "".date('Y-m-d') ."");

$MailLogBindings->Success->ToDo = "insert";
$MailLogBindings->Success->Connection = "connBackOffice";
$MailLogBindings->Success->TableName = "ileads";
$MailLogBindings->Success->EmailColumn = "email";
$MailLogBindings->Success->ColumnList = array("ilead_type", "date_create", "email");
$MailLogBindings->Success->TypeList = array("',none,''", "',none,NULL", "',none,NULL");
$MailLogBindings->Success->ValueList = array("Savvy Investor e-Book", "".date('Y-m-d') ."", "".((isset($_POST["email_address"]))?$_POST["email_address"]:"")."");

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:

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





Ease of use


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