New to Freeway, so bear with me
A client wants a form on every page, so I’ve created a form as a table, and tried both ‘Send form’ and ‘PHP Form action’.
Every time I upload and try out the form, I get an html 405 error.
It’s temporarily sitting on a holding site as per the link shown, with the action so far only applied to the first/home page to see if it works. Help!
Unfortunately the error page on your site tells me that it is an IIS (Windows) server. This isn’t terrible but the PHP Feedback Form Action is unlikely to work for you and I suspect the same for the Send Form Action. They both make use of the Mail feature in PHP.
The first thing to check is if the server is actually running PHP. It could be that it is using ASP in which case neither Action will work as it is the wrong language altogether. Once PHP is up and running on the server try the Actions again and (finger’s crossed) they may work.
No two Windows servers I’ve ever worked with have ever been set up the same and unlike a lot of Linux servers they just appear to be a lot more tricky to get things like this done.
If the Actions don’t work or you are running ASP then take a look at Forms To Go (the ‘lite’ version may do what you need) as they have versions that work with PHP on various servers as well as ASP and Perl; http://www.bebosoft.com/products/formstogo/overview/
Regards,
Tim.
On 10 Jan 2014, at 17:58, Sam Wells wrote:
New to Freeway, so bear with me
A client wants a form on every page, so I’ve created a form as a table, and tried both ‘Send form’ and ‘PHP Form action’.
Every time I upload and try out the form, I get an html 405 error.
It’s temporarily sitting on a holding site as per the link shown, with the action so far only applied to the first/home page to see if it works. Help!
Add a phpinfo() page to your server and see what version (if any) of PHP your server is actually using. (Ignore anything your hosting provider may tell you on this front, it can be different than what they say.)
How To:
Create a plain text file (using a text editor like TextWrangler, not Word or any other “rich text” editor). Name it something-random.php (the name isn’t important, the file-type suffix is). Inside that text file, place the following line of code, and save the file.
<?php phpinfo(); ?>
Upload that file to your server, alongside your index.html file, using Transmit or Fetch or another FTP application. Once it’s there, visit it in a browser: http://www.example.com/whatever-you-named-it.php
If all you see is the text above, your server isn’t running any sort of PHP. If you see a purple-toned table full of data, take note of the big text near the top that tells you the major version of PHP. Report back here what you see, either way.
Walter
On Jan 10, 2014, at 12:58 PM, Sam Wells wrote:
New to Freeway, so bear with me
A client wants a form on every page, so I’ve created a form as a table, and tried both ‘Send form’ and ‘PHP Form action’.
Every time I upload and try out the form, I get an html 405 error.
It’s temporarily sitting on a holding site as per the link shown, with the action so far only applied to the first/home page to see if it works. Help!