Welcome to WebmasterWorld Guest from 54.147.238.62

Forum Moderators: incrediBILL

Message Too Old, No Replies

error message 405 when submitting form

form2email not working

     
3:22 pm on Aug 15, 2013 (gmt 0)

New User

joined:Aug 15, 2013
posts: 1
votes: 0


I use Dreamweaver 8 to edit the page.

I have updated the enquiry page form and tested it but it doesn't work.

I Put the old form back on the website and now that doesn't work. I get an error 405. What has gone wrong?

Code for new page is
[have deleted a number of fields]:

</head>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("sample");
pageTracker._trackPageview();
</script>
<body bgcolor="#0066CC" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">


<tr>
<td align="left" bgcolor="#003399" width="25">
<img src="spacer.gif" width="25" height="2">
</td>

<td align="left" bgcolor="#003399" width="575">
<p>Navigation:- &nbsp; &nbsp;
<a href="index.html">Example</a> &nbsp; &nbsp;
<a href="enquirynewpage.htm">Online Inquiry Form</a> &nbsp; &nbsp;
<a href="mailto:example@ example.com">Email</a>
</td>
</tr>

<form method="post" action="form2email.pl" name="FeedBack_Form">
<input type="hidden" name="recipient" value="example@example.com">
<input type="hidden" name="subject" VALUE="example Enquiry Form">

<tr>
<th width="179" align="right" class="style8" scope="row" text>Title:&nbsp;&nbsp;
</th>
<td width="350">
<span class="style8" >Mr</span>
<input name="Mr" type="radio" value="Mr" />&nbsp;

<span class="style8">Mrs</span>
<input name="Mrs" type="radio" value="Mrs" />&nbsp;

<span class="style8">Ms</span>
<input name="Ms" type="radio" value="Ms" />&nbsp;

<span class="style8">Miss</span>
<input name="Miss" type="radio" value="Miss" />&nbsp;

<span class="style8">Dr</span>
<input name="Dr" type="radio" value="Dr" />&nbsp;

<span class="style8"> Rev </span>
<input name="Rev" type="radio" value="Rev" />
</tr>


<div align="center" colspan="2">
<INPUT TYPE="SUBMIT" NAME="submit" VALUE="- Submit form -" SIZE="25">&nbsp;&nbsp;
<INPUT TYPE="RESET" NAME="reset" VALUE="- Reset form. -" SIZE="25">
</body>
</html>

Hope you can help.

Many thanks in advance

[edited by: engine at 4:02 pm (utc) on Aug 15, 2013]
[edit reason] examplified for privacy [/edit]

8:58 pm on Aug 15, 2013 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10596
votes: 22


welcome to WebmasterWorld, howdoi10!


a 405 status code means "method not allowed" and if I had to guess something in your configuration or programmng is preventing the form2email.pl script from accepting HTTP POST Requests.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members