Connor!
Aug 3 2008, 03:55 PM
I am building a website using Coffeecup visual site designer and also using their form builder. I have followed the instructions but when someone submits the form online they get an error
Method not Allowed. The requested method POST is not allowed for the URL /myform.php.
I dont know much about web design, all I use to upload is my details to 123-reg
Is there something you think I am missing? I cant give much more information because I dont know much about it.
I have uploaded the files that I need to the 123-reg and put the .xml code on the site.
Sorry for lack of info
Thanks
Connor
groovicus
Aug 3 2008, 04:02 PM
I am just making a guess here since I am not able to view the source code. It appears that the form is sending the form information via the 'POST' method, whereas the .php file that is accepting the form information does not have any code to accept information sent via the 'POST' method, but probably has code to accept the information via the 'GET' method.
Could we see the code from your form, or a link to the website? Also, seeing the code from the .php file would be helpful also.
Connor!
Aug 3 2008, 04:10 PM
<script type="text/javascript" src="swfobject.js"></script><div id="CC593748"><b>OOPS! </b>You forgot to upload swfobject.js ! You must upload this file for your form to work.</div><script type="text/javascript">var so = new SWFObject("myform.swf", "myform.xml", "267", "534", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("wmode", "transparent");so.addParam("FlashVars", "xmlfile=myform.xml&w=267&h=534");so.write("CC593748");</script>
Is that what you are looking for? It places the form in but it doesnt function correctly. I know it says OOPS! </b>You forgot to upload swfobject.js ! You must upload this file for your form to work but that seemed to be there from the start.
I uploaded the swobject.js on the form builder but it wouldnt let me on the actual site builder.
Sorry for my lack of knowledge!
Thanks
Connor
Website isn't mine, but one for my mums business. (I'm only 15) It's not finished just yet
www.beechwoodcattery.com/booking.html
Connor!
Aug 4 2008, 04:19 PM
Would changing the original program that creates the form fix any problems? Is it the program that has the fault?
For some reason I couldn't edit my post
groovicus
Aug 5 2008, 11:31 AM
QUOTE
Would changing the original program that creates the form fix any problems?
Maybe. It is hard to tell without seeing the code since the web page is not currently working.