
ActionsDev
5 replies to this thread. Most Recent
Marcus Do Carmo
25 Jun 2019, 2:23 am
send form sends blank email
Hi everyone! Send forms is sending blank emails, without “name”, “email address” and not even “message”. I tried to figure out the problem with no success. The file names are correct on general settings and output
Here’s the link: http://www.plusartgraphics.com/test/da/#contact
I have another page I built in the past with the same send form and it works perfectly at the point that if you tried to send an email without any of the field complete you would get a message “Please fill out this field”
Both pages are in the same server/hosting, so its not a PHP problem Why this one isn’t working.
thanks for any help.
Marcus
waltd
25 Jun 2019, 2:35 pmYou’ve formatted your form perfectly. You’ve ruled out all the things I was going to suggest to you. The only way I could see more deeply into this problem is to compare the Action-generated PHP form handlers from both sites, so I could open them in a programmer’s text editor and compare them. If you want to try this, here’s how to make it safe for you:
- Sign up for a free account at https://github.com
- While logged into your account, click on the + icon at the top right of the screen, and select New gist.
- Locate the form handler (ends in .php, has Send Form in the filename) in your Site Folder on your Mac.
- Drag that file from Finder into the empty text field in the center of the Gist screen. Give it a name like “this one works.php”.
- Click on Add file, and repeat this process with the non-working handler. Again, give it a descriptive name.
- Click on Create secret gist. On the resulting page, copy the complete page URL from your browser’s location bar. It will start with https://gist.github.com and contain your GitHub username and a nonsense hash of letters and numbers.
You may send this URL to me privately (click my name in the Web interface, or if you’re using e-mail, you will see my address in this message. If you want to send it to the list, remember to delete the Gist after you’ve resolved things here.
Private Gists are not crawled or find-able through Google, but this list is heavily indexed (through its Web interface) so your secret will not be so secret. But if you delete the Gist, the URL will just return an amusing 404 page.
Walter
On Jun 24, 2019, at 10:23 PM, Marcus Do Carmo <[email protected]> wrote:
Hi everyone! Send forms is sending blank emails, without “name”, “email address” and not even “message”. I tried to figure out the problem with no success. The file names are correct on general settings and output
Here’s the link: http://www.plusartgraphics.com/test/da/#contact
I have another page I built in the past with the same send form and it works perfectly at the point that if you tried to send an email without any of the field complete you would get a message “Please fill out this field”
Both pages are in the same server/hosting, so its not a PHP problem Why this one isn’t working.
thanks for any help.
Marcus
Freeway user since 1997
Marcus Do Carmo
25 Jun 2019, 3:15 pmHi Walter. Thank you so much!
I’ll check it out ASAP and let you know. As always, many thanks!
Marcus
Daniel
25 Jun 2019, 11:59 pmI¹m having exactly the same problem that Marcus is having. Are there any alternative ways to solve this, beyond the steps Walter is suggesting? Thanks! Daniel
From: actionsdev <[email protected]> on behalf of Walter Lee Davis <[email protected]> Reply-To: <[email protected]> Date: Tuesday, 25 June 2019 at 07:35 To: <[email protected]> Subject: Re: send form sends blank email
You’ve formatted your form perfectly. You’ve ruled out all the things I was going to suggest to you. The only way I could see more deeply into this problem is to compare the Action-generated PHP form handlers from both sites, so I could open them in a programmer’s text editor and compare them. If you want to try this, here’s how to make it safe for you:
- Sign up for a free account at https://github.com
- While logged into your account, click on the + icon at the top right of the screen, and select New gist.
- Locate the form handler (ends in .php, has Send Form in the filename) in your Site Folder on your Mac.
- Drag that file from Finder into the empty text field in the center of the Gist screen. Give it a name like “this one works.php”.
- Click on Add file, and repeat this process with the non-working handler. Again, give it a descriptive name.
- Click on Create secret gist. On the resulting page, copy the complete page URL from your browser’s location bar. It will start with https://gist.github.com and contain your GitHub username and a nonsense hash of letters and numbers.
You may send this URL to me privately (click my name in the Web interface, or if you’re using e-mail, you will see my address in this message. If you want to send it to the list, remember to delete the Gist after you’ve resolved things here.
Private Gists are not crawled or find-able through Google, but this list is heavily indexed (through its Web interface) so your secret will not be so secret. But if you delete the Gist, the URL will just return an amusing 404 page.
Walter
On Jun 24, 2019, at 10:23 PM, Marcus Do Carmo <[email protected]> wrote:
Hi everyone! Send forms is sending blank emails, without “name”, “email address” and not even “message”. I tried to figure out the problem with no success. The file names are correct on general settings and output
Here’s the link: http://www.plusartgraphics.com/test/da/#contact
I have another page I built in the past with the same send form and it works perfectly at the point that if you tried to send an email without any of the field complete you would get a message “Please fill out this field”
Both pages are in the same server/hosting, so its not a PHP problem Why this one isn’t working.
thanks for any help.
Marcus
Marcus Do Carmo
28 Jun 2019, 11:12 pmHi Walter, Sorry for the late reply on this, but I’ve been so busy the last couple of days that I didn’t have the time to do it, but will do this weekend and let you know.
thanks, Marcus
Marcus Do Carmo
29 Jun 2019, 8:03 pmHi Walter and Daniel, I found an easier solution for this. I have another website I built using the Snapper template from the Softpress marketplace as a base some time ago, and realized that even though the construction was pretty much the same, it was working properly, so I copied the whole contact wrapper and pasted it on the other page, edited the information and “voila”, it’s working!
I understand that this way I won’t learn the reason why the other wasn’t working, but since I have to go for a week, and at the same time leave the website working, I decided to go this way.
When I come back I will find a time to go through the https://github.com and send you the link, so I can understand it.
Thank you so much!
best regards, Marcus
