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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

error using insert record and universal email

Thread began 6/10/2010 6:23 am by aaron408361 | Last modified 2/16/2011 2:52 pm by Jason Byrnes | 1591 views | 8 replies |

aaron408361

error using insert record and universal email

hi,

when using insert record and universal email I am getting this error message:

Fatal error: Cannot redeclare wa_ab_getloopedfieldname() (previously declared in C:\Inetpub\wwwroot\Cosmoprint\WA_DataAssist\WA_AppBuilder_PHP.php:11) in C:\Inetpub\wwwroot\Cosmoprint\webassist\database_management\wa_appbuilder_php.php on line 19

any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

you have two require once statements on the page to attach the WA_App Builder_PHP.php file.

one is attaching it from:
Cosmoprint\WADataAssist\WA_App Builder_PHP.php

and the other is attaching it from:
Cosmoprint\webassist\database_management\wa_appbuilder_php.php


you should remove the second require once statement.

Sign in to reply to this post

aaron408361

starry sentment

thats the strange thing, I only have it declared once, but I figured it out, WA_AppBuilder_PHP.php is called in the file mail_formatting.php which is included, I commented out the require_once("WA_AppBuilder_PHP.php") in mail_formatting.php and now it is OK.

Sign in to reply to this post

Jason ByrnesWebAssist

that's very odd, I have never seen the WA_AppBuilder_PHP file included on the mail_formatting.php file before.

glad to hear you figured it out.

Sign in to reply to this post

aaron408361

yeah, here is some code from inside mailformatting.php, Ive commented out the require line:

function processEvent($isError) {
if ($this->ToDo == "none") {
return true;
}
if (sizeof($this->ColumnList) == 0) {
return false;
}
$LogIncludeDirectory = getcwd();
chdir(dirname(__FILE__));
require("../../Connections/".$this->Connection.".php");
#require_once("../database_management/wa_appbuilder_php.php");
chdir($LogIncludeDirectory);
eval("$"."logConnection = $".$this->Connection.";");
eval("$"."logDatabase = $"."database_".$this->Connection.";");
mysql_select_db($logDatabase, $logConnection);
$insertParams = WA_AB_generateInsertParams($this->ColumnList, $this->TypeList, $this->ValueList, -1);
switch ($this->ToDo) {

Sign in to reply to this post

Andrew Read

Just ran into this same issue - commented out the same line of code - Is this on the fix list?

Should this not be listed as a "Known Issue"?

Or is there another fix?

Sign in to reply to this post

Jason ByrnesWebAssist

this has been logged as a bug in our bug base.

it is not listed as a known issue because we are not able to reproduce the issue, but we will be looking into a fix for it in future update.

Sign in to reply to this post

Lee Firth

Add me to the list of people having the same issue.

Sign in to reply to this post

Jason ByrnesWebAssist

this will be corrected in the Next Update to CSS Form Builder 2.

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