404 error on submit - Post ID 206817

User 1744013 Photo


Registered User
89 posts

I'm up dating a client's site and created a new contact form for her. http://www.drdonnaparker.com/contact_form/contact_form.html
When I fill out the form and hit the submit button it generates a 404 error. I've tried changing the confirm options to all but the redirect to another URL but it makes no difference. Anbody have any ideas?
James Rook
User 187934 Photo


Senior Advisor
20,271 posts

Did you mess with the confirmation settings?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147626 Photo


Ambassador
2,958 posts

It looks to me as if the php files for your form are not in the directory of your web site where you thought they were.

ie. your form is here http://www.drdonnaparker.com/contact_form/contact_form.html

when I select the 'Submit' button, it is trying to go here http://www.drdonnaparker.com/parker_form_exported/parker_form.php
and it is not finding the files.

Your php files and form files should all be in the directory where you are displaying the form.
ie. http://www.drdonnaparker.com/contact_form/contact_form.html

You should have a php form file and 2 directories, a 'cartapp' directory and a directory of the same name as your form php file. All of these should be in the same directory. The one you are calling the form from.

Hope all that makes some sense. Maybe someone else can explain it better :rolleyes:
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 187934 Photo


Senior Advisor
20,271 posts

The form works correctly here.
http://www.drdonnaparker.com/contact_fo … _form.html
Did you mess with the script or file locations wrong.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,271 posts

Looks like you have the confirmation trying to goto the http://www.drdonnaparker.com/parker_for … r_form.php
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1744013 Photo


Registered User
89 posts

Ok - my brain is like a steel seive sometimes. I should have remembered not to put the files inside of a folder. Moved everything to the root and now it seems to be working. Thanks all for the quick replies. Maybe next time someone can just slap me with a dead fish!
James Rook
User 2147626 Photo


Ambassador
2,958 posts

Flounder is always good :D
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 187934 Photo


Senior Advisor
20,271 posts

I prefer Halibut.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.