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

Data Bridge Beta V2

Thread began 8/01/2018 5:18 pm by JBWebWorks | Last modified 8/03/2018 7:17 pm by JBWebWorks | 328 views | 18 replies


Data Bridge Beta V2

Just downloaded the Data Bridge Beta V2 and the data assist pages work fine. Recordset and connection works fine.
I am having a problem with Send Email (used to be Create an email) In the other version, when it gets to mail body, you could not use a file and edit directly in DW. In the new version, you must use a file template and that doesn't work for me. Not sure what I am doing wrong. It gets to the success redirect but no email is delivered.
On firefox I get this error message:
Warning: require(webassist/email/templates/basic-simple/Basic_2.php) [function.require]: failed to open stream: No such file or directory in /home/bigchick/public_html/webassist/email/WA_Email.php on line 263

Warning: require(webassist/email/templates/basic-simple/Basic_2.php) [function.require]: failed to open stream: No such file or directory in /home/bigchick/public_html/webassist/email/WA_Email.php on line 263

Fatal error: require() [function.require]: Failed opening required 'webassist/email/templates/basic-simple/Basic_2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchick/public_html/webassist/email/WA_Email.php on line 263

Here is my code on the Send Email page

<?php require_once('webassist/mysqli/authentication.php'); ?>
<?php require_once('webassist/mysqli/rsobj.php'); ?>
if ("" == "") {
$RestrictAccess = new WA_MySQLi_Auth();
$RestrictAccess->Action = "restrict";
$RestrictAccess->Name = "authenticate";
$RestricAccessRedirect = "admin_login.php";
if (function_exists("rel2abs")) $RestricAccessRedirect = $RestricAccessRedirect?rel2abs($RestricAccessRedirect,dirname(__FILE__)):"";
$RestrictAccess->FailRedirect = $RestricAccessRedirect;
<?php require_once('Connections/connmysqli.php'); ?>
$rs_kshoc = new WA_MySQLi_RS("rs_kshoc",$connmysqli,1);
$rs_kshoc->setQuery("SELECT * FROM ksforum_users");
<?php require_once("webassist/email/WA_Email.php"); ?>
if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) { //WA Universal Email
$Email = new WA_Email("emailgroup_2");
$Email->Redirect = "?success=true";
$Email->From = "KSHOC <>";
$Email->ReplyTo = "".((isset($_POST["from1"]))?$_POST["from1"]:"") ."";
$Email->ReturnPath = "";
$Email->BurstSize = "200";
$Email->BurstTime = "1";
$Email->WaitTime = "1";
$Email->addAttachment("".((isset($_FILES["attach"]))?$_FILES["attach"]["name"]:"") ."");
$Email->BodyFile = "webassist/email/templates/basic-simple/Basic_2.php";
if (function_exists("rel2abs") && $Email->Redirect) $Email->Redirect = $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
for ($emailGroup=0; $emailGroup<sizeof($Email->To); $emailGroup++) {
$Email->Subject = "".((isset($_POST["subject1"]))?$_POST["subject1"]:"") ."";

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