*** SOLVED *** My PHP form worked fine for years, but after changing...
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
*** SOLVED *** My PHP form worked fine for years, but after changing...
Hi everyone!
My PHP forms worked fine for years, but after changing a few input controls, I no longer get the form data emailed to me. I did not change any of the form properties, just a few of the controls within the form. The submit is successful, but no email arrives.
As a test, I removed the PHP function and simple used mailto: and that worked fine.
Here is the page: https://carbonscopetubes.com/Custom_Sizes.php (desktop version only)
Please help,
---Frank
My PHP forms worked fine for years, but after changing a few input controls, I no longer get the form data emailed to me. I did not change any of the form properties, just a few of the controls within the form. The submit is successful, but no email arrives.
As a test, I removed the PHP function and simple used mailto: and that worked fine.
Here is the page: https://carbonscopetubes.com/Custom_Sizes.php (desktop version only)
Please help,
---Frank
Re: My PHP form worked fine for years, but after changing...
I cannot see what you have done based on the published page.
But it looks like you have used quotes in the field names. This is not allowed because this will break the structure of the HTML page.
Also, this FAQ may be helpful:
https://www.wysiwygwebbuilder.com/forum ... 10&t=32967
(Emails are not arriving in my inbox...)
But it looks like you have used quotes in the field names. This is not allowed because this will break the structure of the HTML page.
Also, this FAQ may be helpful:
https://www.wysiwygwebbuilder.com/forum ... 10&t=32967
(Emails are not arriving in my inbox...)
Re: My PHP form worked fine for years, but after changing...
I'm having the same problem with this page and there are no quotes in the fields. I just changed a few styles on this page, nothing more.
https://carbonscopetubes.com/Custom_Tooling.php
I read the details in the FAQ. My old version 12.5.2 does not have the "from:" option in Form Processor Properties. I never had this problem before.
---Frank
https://carbonscopetubes.com/Custom_Tooling.php
I read the details in the FAQ. My old version 12.5.2 does not have the "from:" option in Form Processor Properties. I never had this problem before.
---Frank
Re: My PHP form worked fine for years, but after changing...
It is difficult to help you without seeing your settings.
If you need further assistance then please share a demo project.
But you may also need to contact your webhost to ask why the email is not sent. They may have changed something on the server side.
If you need further assistance then please share a demo project.
But you may also need to contact your webhost to ask why the email is not sent. They may have changed something on the server side.
Re: My PHP form worked fine for years, but after changing...
I contacted my webmaster but he's on the road for another 20 hours.
I don't know how to post a demo project. :/
I don't know how to post a demo project. :/
Re: My PHP form worked fine for years, but after changing...
The server setting must not have changes since this site with a similar form works fine. I have not touched this one:
https://m.carbonscopetubes.com/large_dia_tubes.php
- BaconFries
-
- Posts: 5800
- Joined: Thu Aug 16, 2007 7:32 pm
Re: My PHP form worked fine for years, but after changing...
Please read this first about sharing a demo. In your case probably just the page(s) with the form save as you would normally give it a new such as demo.wbs. Upload it to your server and provide a url to be able to download from. Alternatively upload to the likes of Mediafire and provide the generated url.
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Re: My PHP form worked fine for years, but after changing...
Here is the .wbs file stripped down to just the 2 pages with broken forms.
www.carbonscopetubes.com/FormProblems.wbs
www.carbonscopetubes.com/FormProblems.wbs
Re: My PHP form worked fine for years, but after changing...
I could not find any issues in your form. The generated code is valid.
Also, if it has previously worked then it's unlikely that this is directly related to the software.
Usually if a form suddenly stopped working then this is because the web host has changed something.
So you will need to contact your webhost and ask them why the email is not sent.
They should be able to see this based on their logs.
Based on this information you can then change the settings.
For example, many webhosts now require you to use SMTP for sending emails.
Also, if it has previously worked then it's unlikely that this is directly related to the software.
Usually if a form suddenly stopped working then this is because the web host has changed something.
So you will need to contact your webhost and ask them why the email is not sent.
They should be able to see this based on their logs.
Based on this information you can then change the settings.
For example, many webhosts now require you to use SMTP for sending emails.
Re: My PHP form worked fine for years, but after changing...
Ok, thanks for verifying that for me.
Re: My PHP form worked fine for years, but after changing...
Hi
just read this post;
what is SMTP?
Does it replace php on the page containing forms
Thanks
Dwight
just read this post;
what is SMTP?
Does it replace php on the page containing forms
Thanks
Dwight
Re: RESOLVED My PHP form worked fine for years, but after changing...
It was indeed an email server issue. The form was sending from an address that didn't exist (webmaster@carbonscopetubes.com) so the server blocked it. My version of WB 12.5.1 didn't have the feature that allowed me to change that so my webmaster set up an email to match. All is well now.Pablo wrote: ↑Sun Feb 14, 2021 8:58 pm I could not find any issues in your form. The generated code is valid.
Also, if it has previously worked then it's unlikely that this is directly related to the software.
Usually if a form suddenly stopped working then this is because the web host has changed something.
So you will need to contact your webhost and ask them why the email is not sent.
They should be able to see this based on their logs.
Based on this information you can then change the settings.
For example, many webhosts now require you to use SMTP for sending emails.
Re: My PHP form worked fine for years, but after changing...
Thanks for clearing that up!