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

Error when submitting a page

Thread began 3/21/2011 3:33 am by Daryl | Last modified 6/18/2011 10:34 pm by Daryl | 2285 views | 9 replies


I just ran into this problem. I suggest that changing the line to:

if (!function_exists("WA_AB_getLoopedFieldName")) { require_once("../database_management/wa_appbuilder_php.php"); }

might be better.

This occurred because require_once prevented the same file from being included twice, but because of the change to move all WA includes into a single directory (a great move) two different files contained the same function.

This code tests whether or not the old file [location] has already been included and, if not, includes the new file.

Otherwise, I believe if you add an email with dynamic elements to another page which does not already include either version of wa_appbuilder_php.php, the second email procedure will fail. Am I right on this Jason?

It would be nice, due to this transition to moving all the include files into the "webassist" directory, if the new files checked for preexisting includes in the old directory structure (by function test I suppose) to prevent this kind of conflict from occurring.

P.S. While I cannot be responsible for any harm that might come from this fix, I placed the code I recommended into the file located in C:\Users\[USER_NAME]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration\Shared\WebAssist\UniversalEmail\MailFormatting\MailFormattingPHP.php on my Windows 7 machine and now the file recreates with this code in it. Problem solved unless Jason points out a flaw in my reasoning.

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