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

rating

..code that is locked by a template or translator. Error?

Thread began 11/16/2010 8:23 am by Nathon Jones Web Design | Last modified 11/18/2010 9:41 am by Jason Byrnes | 5422 views | 15 replies |

Nathon Jones Web Design

..code that is locked by a template or translator. Error?

Hi,

When I try to insert Client Validation on an ASP page I get his error at the end of the process:

"Making this change would require changing code that is locked by a template or a translator. The change will be discarded."

I can't add validation anymore because of this. :o(
Apart from one or two SSI's, which are unrelated to the form, there is no template or translator on the page, as far as I'm aware.

If I keep clicking "OK" to this error, it starts adding the validation field by field, but when I try to submit the form it doesn't run the validation.

Any ideas why this might be happening?

Here's a link to the page in question:
form-to-email-contact-form.asp

Thanks.
Nath.

Sign in to reply to this post

Jason ByrnesWebAssist

this is a very common error when dealing with templates.


see this thread for a workaround:
showpost.php?p=74420&postcount=2

Sign in to reply to this post

Nathon Jones Web Design

Templates?

As previously stated though Jason, I'm not using a template.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of the page so i can look at the code? Dreamweaver thinks it;s a template for some reason, i would need to see the code to have an idea of why.

Sign in to reply to this post

Nathon Jones Web Design

how?

How would I get that file to you Jason? The attachment option won't allow ASP files.

Sign in to reply to this post

Jason ByrnesWebAssist

compress the asp file into a zip archive and attach the zip archive to your post.

Sign in to reply to this post

Nathon Jones Web Design

Attached.

Thanks. Please find that attached.

Attached Files
Form-Error.zip
Sign in to reply to this post

Nathon Jones Web Design

php sites now too

That's happening with another website too now (this time PHP):
contact.php

I've attached the PHP file for your analysis. Thanks again.

Attached Files
Form-Error-PHP.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I dont see any thing in these 2 files to cause this error.

I do see that both files use include files, do any of the include files have template data on them?

have you tried deleting the Dreamweaver cache file from the users configuration folder:
common_installation_issues.pdf

Sign in to reply to this post

Nathon Jones Web Design

None of the include files have template data, no. To be honest, I've never used Dreamweaver templates period.

The include files simply have, for example, Google Analytics code, or a CSS Menu Writer menu, or a simple footer (text and links).

I've deleted the Dreamweaver cache file, and restarted, but still no joy. Do you think uninstalling / reinstalling the Validation Toolkit extension would solve it?

Like you, I can't see why this error would be appearing.

I'm using Dreamweaver 8. Would that be the problem? Thing is, I haven't changed anything recently and Validation Toolkit was working fine.

It's all a bit odd really.

Sign in to reply to this post
loading

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