PDA

View Full Version : My form isnt working



djkimber
09-14-2007, 12:04 AM
I have watched the video several times and do it exactly how it shows. Not sure why i get the message
Not Found

The requested URL /action.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



Can someone help? My Website is americanfoundersacademy.com

(Addmissions)

PennieNPence
09-14-2007, 04:21 AM
when I go to your site I get a list of files

did you name your home page index?

or did you name it index.html?

(the first is correct)
when you name a page you name it without the extension
.html is the default
to change it to .php
you go to "page properties" and change it there

djkimber
09-14-2007, 04:24 AM
go ahead and try again I was plain around

PennieNPence
09-14-2007, 04:33 AM
is it the "admissions" page?

http://www.americanfoundersacademy.com/afaregistration

did you name the page with the form afaregistration?
the form page can be in html

it is the "reply" page that must be in php and called action.

djkimber
09-14-2007, 09:17 AM
OK, my apologies! Let me explain better. When you go to admissions and enter in the information into the form, after clicking the submit button it gives me the not found message instead of my "Thank you" page. I'm not sure why the "action.php isn't found. Does that make sense? I hope so because I am a bit confused. :) Thanks for your help!!

navaldesign
09-14-2007, 11:38 AM
How did you save / publish your "Thankyou" page ?

The form action must be the same as the thank you page

djkimber
09-14-2007, 02:33 PM
I did it just like the video tutorial said to.
The form action must be the same as the thank you page What do you mean? In the html or the properties? Or something else? Sorry for my ignorance It is my first website building experience. Thank you for your help!!

navaldesign
09-14-2007, 03:46 PM
If your thank you page is saved as "action" and therefore published as "action.php" the form Action field should be filled in with "action.php"

If you have saved it / published it as anything else (i.e. saved as: "thankyou" / published as "thankyou.php" in the form Action field you must type "thankyou.php" )

After you do that, save / republish your form and REFRESH your browser before testing.

djkimber
09-15-2007, 04:56 PM
SWEET!!! I got it now! Thank you General! I do have a question though, how do I load multiple actions if I save my thank you page action? Can I have Action1.php and action2.php pages? Is that how it works?
Either way my registration is now working so thank you!

navaldesign
09-15-2007, 05:13 PM
Yes, that is so. Of course, for each for you need to set the relevant thankyou page and the form action having the same name.

However, this is only usefull if you need to have diferent content in these thank you pages, or different email content (subject etc). Otherwise a single action page can handle all your forms.