I setup the form, set it to “send form” and give it a recipient and all the info in the action window. But I get an error every time I try to use the form on the site. Any ideas?
Check that you have configured PHP correctly, and that you have a recent enough version of PHP installed on your server. Judging by the creakiness of the error message, my guess is that’s your problem. The Send Form Action requires PHP 5.3 or better, and 7.1 is the current (not expired, still getting security updates) version that you should be using.
Walter
On Oct 26, 2018, at 7:18 PM, Brian email@hidden wrote:
I setup the form, set it to “send form” and give it a recipient and all the info in the action window. But I get an error every time I try to use the form on the site. Any ideas?
I’ve got a similar problem - I last used “Send Form” about 2 years back and it has worked well. I’m just putting together a site that needs a form so have dusted it off and started using it.
The problem I’m getting is that most of the time, while testing, the form is successfully sent but at least 30% of the time it fails and falls through to the “form error” page .
How do I know what PHP version is being used on the server?
Do I have to upload it? (I can’t remember do that last time and the new site is using the same Webhost as the previous, working, site)
Thanks for any help - it’s getting quite frustrating now!
actionsdev mailing list
email@hidden
Update your subscriptions at:
You can debug PHP on your site by adding a new file (with an FTP application) that contains the phpinfo() command. That will print out a debugging sheet containing a huge table of enabled features. It also tells you precisely which version is in use. This information is gold to someone looking to break into your server, so it’s not something you want to leave up all the time, and you don’t want to name that file something guessable. Here’s the steps:
Get an FTP application, or use your host’s cPanel to upload the file. Get a programmer’s text editor – BBEdit from https://barebones.com is free to use (but can be upgraded to unlock all the pro features), and the gold standard.
Create a new text file and add this one line to it: <?php phpinfo(); ?>. Name this file [something_cryptic].php. (That’s a placeholder; really name it something you can remember but nobody would guess. Legal filenames do not contain spaces or punctuation except the _ underscore or - hyphen or . dot before the extension, which must be .php)
Upload the file with your FTP application into the same folder on your server as the main index.html file.
You should see a lengthy table containing all the hidden details of your server, and the version number will be near the top of the page.
Once armed with these facts, you can open a support ticket with your host to get the version upgraded, if this proves to be old and unsupported. 7.1 or higher is where you want to be.
Walter
On Nov 12, 2018, at 11:50 AM, xgraphica email@hidden wrote:
I’ve got a similar problem - I last used “Send Form” about 2 years back and it has worked well. I’m just putting together a site that needs a form so have dusted it off and started using it.
The problem I’m getting is that most of the time, while testing, the form is successfully sent but at least 30% of the time it fails and falls through to the “form error” page .
How do I know what PHP version is being used on the server?
Do I have to upload it? (I can’t remember do that last time and the new site is using the same Webhost as the previous, working, site)
Thanks for any help - it’s getting quite frustrating now!