ActionsDev

5 replies to this thread. Most Recent

Brian

26 Oct 2018, 11:18 pm

[Pro] Send Form

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?

http://www.brianLutrell.com - Feedback

waltd

27 Oct 2018, 12:10 am

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 protected]> 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?

http://www.brianLutrell.com - Feedback

Freeway user since 1997

http://www.walterdavisstudio.com

Brian

27 Oct 2018, 5:45 pm

Thanks Walt. That was exactly what was the problem.. I really appreciate you responding.

xgraphica

12 Nov 2018, 4:50 pm

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! :-)

waltd

12 Nov 2018, 5:17 pm

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:

  1. 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.

  2. 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)

  3. Upload the file with your FTP application into the same folder on your server as the main index.html file.

  4. Visit the URL in a browser: http://your-domain/[something_cryptic].php

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 protected]> 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! :-)

Freeway user since 1997

http://www.walterdavisstudio.com

Back to Top

xgraphica

12 Nov 2018, 5:37 pm

Walter Thanks for the quick response, I’ll try and interrogate my server to see what I get. At least it will narrow down my fault tree ;-)

Cheers XG