WFB working with PHP 8? - Post ID 302117

User 2238029 Photo


Registered User
4 posts

My webserver runs PHP 8.1.16 and forms created with webform version 2.10 Build 5575 works. The only issue that I have noticed is that the date format (for the built-in date selection) does not allow entries in the date format dd.mm.yyyy

So if you download the latest version of WFB (v 2.10 that was released a few weeks ago) and save your forms then you should be OK under PHP 8 (I have tested with PHP 8.1.14 and 8.1.16) and the forms have been on a public website for a few weeks.
User 2699991 Photo


Registered User
5,110 posts
Online Now

Galen Garretson wrote:
Hi Eric,

I received a response from my hosting service. They said that, due to recent changes at Google and others, all SMTP mail must now be authenticated and that's why the mail is being rejected.

Here is a link they gave me to solve the problem:
https://www.webhostinghub.com/help/learn/email/email-from-web-page/using-phpmailer-to-send-mail

I have no idea if this information is on the right track to solving the problem. If you could take a look at it I would really appreciate it.

Thanks very much.


That info is about as much use as a chocolate fire guard

What you really need ask them is what version of PHP are they using, and or do they have choices (as long as above PHP 7.5
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 2699991 Photo


Registered User
5,110 posts
Online Now

My hosting service (indonesian based) runs with CloudLinux PHP 8.2 and forms created with webform version 2.10 Build 5575 work. But it took me 3 days to fiddle about with settings etc for WFB embedded onto a page, BUT I GOT IT in the end

If I change the PHP thingy to be controlled by CPanel it works to a point, but the notification emails don't format correctly.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 2140875 Photo


Registered User
378 posts

Hi Wayan,

I just emailed you regarding the results. One form result was formatted perfectly and looked great. The last one that came only showed the html code, etc.

Thanks again for your help.
User 2699991 Photo


Registered User
5,110 posts
Online Now

Galen Garretson wrote:
Hi Wayan,

I just emailed you regarding the results. One form result was formatted perfectly and looked great. The last one that came only showed the html code, etc.

Thanks again for your help.


Hi Folks
for anyone following this, I have cracked it I think it will need some testing though, I will update when I am sure it's stable and works

W
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 450528 Photo


Registered User
16 posts

Hi any update on when formbuilder will work with PHP 8thanks
User 2848652 Photo


Registered User
6 posts

October 14th, 2023 Been almost two years now waiting for an update for WFB to fix the issue with PHP 8.
Any progress ???????????????
User 2699991 Photo


Registered User
5,110 posts
Online Now

Howard Burbank wrote:
October 14th, 2023 Been almost two years now waiting for an update for WFB to fix the issue with PHP 8.
Any progress ???????????????


Works for me and has done so for a long time now
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 187934 Photo


Senior Advisor
20,244 posts

Howard Burbank wrote:
October 14th, 2023 Been almost two years now waiting for an update for WFB to fix the issue with PHP 8.
Any progress ???????????????

Not that I've heard or seen.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 384663 Photo


Registered User
1 post

Hi,
I'm having a similar issue with the following error message:
Your form could not be submitted for the following reason(s):
Error validating RegEx magic field: invalid range in character class at offset 4

On the form found at the following page:
https://basicspeed.ca/contact-us/

Could anyone assist with some advice?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.