Submit-->'Page Not Found'

S

Staffwriter

In FP2003, I created a form with a Submit button that would automatically
send the form to an email address.
I followed the instructions from FP "Help" to the letter (I believe), but
when users hits "submit" they get a page that says: "Page Not Found (etc.)."

Can anyone offer a fix?
Thanks.
 
R

Ronx

Which page is not found? If it's norbots.htm then you must Publish the
form to a server using HTTP, not FTP.
A link to the published form page will help diagnose problems.
 
S

Staffwriter

Ronx: I'm something of a n ewbie, and I've taken the link down. Is there some
other way I can send you the page to diagnose?
 
R

Rob Giordano \(Crash\)

not really

--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 
R

Ronx

As Rob said - not really.

Publish the page with a different name and don't make any links to it.
Post the page address here.
By not making links to the page casual viewers of your site and search
engines will not find the page.

We must see the PUBLISHED page to determine how it was published,
whether the FP extensions are broken, and to see if there are any errors
in the HTML markup. Simply sending the code to anyone will not
determine the first 2 points.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
R

Ronx

The page is at http://www.eastern.wvnet.edu/sga/sgavote08.htm

There are several problems with the page. As far as form processing
goes there are three (3) opening form tags, but only 2 closing </form>
tags.

The first form does nothing and can be deleted. In code view look for:

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="C:\Documents and
Settings\HP_Administrator\Desktop\Eastern
Web\sga\_private\form_results.csv" S-Format="TEXT/CSV"
S-Label-Fields="TRUE" -->
<p>&nbsp;</p>
</form>

and delete it.


The third form will only send email, and then only if
cgi-bin/FormMail.pl is correctly set up - that is for your host to
decide or help you with.

The second opening tag should also be deleted:

Look for:

<form method="POST" action="http://www.wvnet.edu/cgi-bin/FormMail.pl"
webbot-onSubmit="return FrontPage_Form1_Validator(this)">
<input type="hidden" name="subject" value="SGA Voting Results">
<input type="hidden" name="recipient"
value="(e-mail address removed)">

and delete.

Don't mix this up with <form method="POST" name="election"
action="http://www.wvnet.edu/cgi-bin/FormMail.pl"> further down the
page, which is required.


Note that the server www.wvnet.edu does not appear to have FrontPage
extensions installed, so saving to a CSV file must be done through a
Perl or PHP script.

As for the error page - on submitting the form I was redirected to the
Home Page. In FormMail.pl I believe you have to set up a hidden field
that shows the script where your ThankYou page is. However the error
may be for the FormMail.pl script itself (since the later versions
incorporate an acknowledgement for the form data). Make sure you have
the correct CaSe for the file - Unix is case sensitive, did you mean to
use formmail.pl?

A Rob indicated, apart from the form(s) the page has many other problems
- including VML graphics, absolute positioning, blockquotes where a
centred table or Div would be better, and so on.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top