cancel
Showing results for 
Search instead for 
Did you mean: 

Formmail submit problem

BigBro40
Member

Hi All. I'm having a problem with the generic formmail script and hope someone can help as I'm esting the site before going live soon.

 

I've installed it using the site builder and copied all the code into my contact.html page but when the submit button is pressed on line we get this: 

Method Not Allowed

The requested method POST is not allowed for the URL /contact2.html.

 

Also, when trying to looking at the server files I get this:

  Starting download of /cgi-bin/formmail

Command: PASV

Response: 227 Entering Passive Mode  (209,235,144,9,251,75)

Command: RETR formmail

Response: 550 formmail: No such file or directory

Error: Critical error

 

I had a brief conversation with telephone support and was told that the page has to be php. So I've also tried this option and this online creates an error message looking for ftp account authentication (username and password).  

 

I'm new to all this so must be missing something basic. Some more info - using the starter £5/month option and dreamweaver for my design. Thanks in advance for any help. 

 

John 

Message Edited by BigBro40 on 26-06-2009 08:31 PM
1 ACCEPTED SOLUTION

Accepted Solutions

dave
Guru

The first line seems to be wrong as you have the form tag twice.

 

Try changing it to:

 

<form action="/cgi-bin/formmail" method="post" name="contactform">

 

Other than that it seems OK.

 

 

View solution in original post

4 REPLIES 4

dave
Guru

I had a brief conversation with telephone support and was told that the page has to be php

 

Firstly this is nonsense....

 



Also, when trying to looking at the server files I get this:

  Starting download of /cgi-bin/formmail

Command: PASV

Response: 227 Entering Passive Mode  (209,235,144,9,251,75)

Command: RETR formmail

Response: 550 formmail: No such file or directory

Error: Critical error

 


You will get this because the formmail script is not actually copied into your webspace. Instead it is a symbolic link to the script elsewhere on the server.

 

Can you please post the form code that you are using (or a link to the page) and also the contents of the /private/formmail.conf file and I will see if I can figure it out.

 

 

 

 

BigBro40
Member
Message Edited by BigBro40 on 29-06-2009 12:23 AM

dave
Guru

The first line seems to be wrong as you have the form tag twice.

 

Try changing it to:

 

<form action="/cgi-bin/formmail" method="post" name="contactform">

 

Other than that it seems OK.

 

 

BigBro40
Member
thank you - not sure how that happened but now fully working.