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


Validation Toolkit and Security Assist

Thread began 8/04/2012 3:04 pm by johnlanglois | Last modified 8/06/2012 2:46 pm by Jason Byrnes | 537 views | 1 replies |


Validation Toolkit and Security Assist

I have a client for whom we used the Validation Toolkit on the front end of his site.
When we built a back end for table administration several years later, I used PowerCMS.

I now have two versions of Validation that live on the same site.

One is in WA_ValidationToolkit folder and works on the front end forms.

The other is in webassist\form_validations and is supposed to handle the log in form for the administration screen.

When I use the login.php that the Security Assist wizard created, I get the following error message:
[03-Aug-2012 21:09:18] PHP Fatal error: Cannot redeclare saveformtosession() (previously declared in /clients WEBSITEXXX/html/WA_ValidationToolkit/WAVT_Scripts_PHP.php:17) in /clients WEBSITEXXX/html/webassist/form_validations/wavt_scripts_php.php on line 40

The wizard complained along the way, but still created the form.

Do I need to remove Validation Toolkit?
If so, will I need to rebuild my front end forms using PowerCMS?
Is there a way to get the back end form to ignore the front end files?


Sign in to reply to this post

Jason ByrnesWebAssist

the older validation toolkit added a require once line that pointed to the file:

You will need to remove that line from any pages that you add the newer validation to in order to avoid a conflict.

you wont need to redo the older pages, just remove the require once line from the newer ones.

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