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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

While executing onClick... error occurred.

Thread began 10/11/2009 12:39 am by jeremydavies390881 | Last modified 10/15/2009 10:00 pm by Eric Mittman | 3619 views | 14 replies |

jeremydavies390881

While executing onClick... error occurred.

Alright, I think I've figured out the whole MySQL/PHP database thing.

But when I go to click Submit on the form, this comes up:

405 Method Not allowed

Method Not Allowed
The requested method GET is not allowed for the URL /photoform.html.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
______________________________________________

So, I go into the Form settings and the Select form method is at POST. I tried switching to GET, and this error comes up:

While executing onClick in WAFB_AddForm.htm, the following JavaScript error(s) occorred:

At line3365 of file "C:\Programs Files\Adobe\Adobe Dreamweaver CS4\Configuration\Shared\WebAssist\FormBuilder\shared.js": MM.WA_createProcessingOjbect is not a function

______________________________________________

Huh? lol I'm totally lost....

Here is where the form can be found: photoform.php

Sign in to reply to this post

anonymous

Jeremy,

A couple of things to start diagnosing the issue...

One, I would definitely use "Post" in this situation rather than "Get". The Get method sends the variables through the URL Address which is very insecure.

Also, when your form starts to process, it tries to go to "photoform.html". I am guessing you would want the processing stuff on the same page as your form which is "photoform.php". Note - the extension difference (PHP as opposed to html). So you will probably need to correct that first.

The next question to help you get going is what do you want the form to do? Do you want to populate fields of a database or, instead, email someone with the inquiry?

Best regards,

Brian

Sign in to reply to this post

jeremydavies390881

Email...

Thanks for the reply.

How do I change it to php instead of HTML?

And I'm trying to make it go to my email. I have the Email thing set up (I hope properly) already.

Sign in to reply to this post

anonymous

To change it to php, there is an option in the Form Builder dialogue box - at the same place it asks you what method to use, it will specify the page. Somehow, your page extension got switched from php to html... you just need to get that fixed and then you should be on your way.

Sign in to reply to this post

jeremydavies390881

Error?

Alright, I changed it back to php, but when I click Finish, the While executing onClick in... error comes up.

Sign in to reply to this post

anonymous

Did you post the edited files to your site? When I try your form, it still tries to go the HTML extension, so I cannot see what is happening live on the site.

The other question I have is are you sure the CSS Form Builder folder and its contents have been uploaded to your server?

Cheers,

Brian

Sign in to reply to this post

jeremydavies390881

No

I'm not able to post the updated files because I'm not able to click finish when I switch action page to the php page instead of the html page, because of that error.

The error that I'm getting now, is in dreamweaver, not online.

And as far as I know, I've uploaded all the files/folders.

Sign in to reply to this post

anonymous

I gotcha... it sounds like there is something corrupt on that page... just for kicks and giggles, can you creates a new php page and just add a simple form that will process on the same page? If you still have the problem, then there is something wrong with your extension/dreamweaver. If all goes well, it is a sign that you will probably need to re produce your entire form from scratch.

Best regards,

Brian

Sign in to reply to this post

jeremydavies390881

Still an error...

Alright, I went to create a new php page with just a standard Contact form (pre-built) and I got this error when I click Finish:

While executing onResize in WA_SiteTools_Progress.htm, the following JavaScript error(s) occurred:

In file "WA_SiteTools_Progress":
refreshUI is not defined

Should I try re-installing CSS Form Builder?

And then, when I click Ok, the original error comes up.... :(

Sign in to reply to this post

anonymous

Yes... you definitely need to reinstall... there is something not right there. It sounds like a corrupt file of sorts.

Brian

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