PHP Version 7.2

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

PHP Version 7.2

Post by Starb7 » Mon Mar 25, 2019 10:17 pm

Hi

I am told that older version of PHP will not be supported, ie 5.6 or less. That's not a problem as I can update my hosting to vsn 7.2 easily and cost free.

The problem is that web built-in form processor doesn't appear to work with 7.2 so is there a fix for this?

TIA

User avatar
Pablo
 
Posts: 18700
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: PHP Version 7.2

Post by Pablo » Mon Mar 25, 2019 10:23 pm

There are no known issues with PHP 7.2
The form processor should work with this version of PHP.
In most cases, if the form no longer works then it is related to a misconfiguration of PHP on the server.
For example, PHP mail may not have been setup.

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Mon Mar 25, 2019 10:49 pm

Hi, If I set my PHP to 5.6 it works, on 7.2 is doesn't! I'll ask the provider of the are any issues and relay your comments. Thanks
Last edited by Starb7 on Mon May 20, 2019 5:43 pm, edited 1 time in total.

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 2:11 pm

Hi

Sorry I haven't come back before now on this. I had taken the form off but now it's back on and using the built-in version. The hosting is running v7.2 of PHP and the main page is PHP and all works fine except that when you click the send button, an error is generated:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

I have spoken with the hosting provider and they say all is working as it should be so I am back to you for help.

Any ideas - can you test the built-in form on 7.2 yourself? If you want see what happening, please click http://www.sutton-cum-duckmanton.org.uk/contactus.php and to see it working under PHP 5.6, click http://www.supake.co.uk/testing/contactus.php.

TIA

p.s. they asked me to ask you to check for any php code updates that have been discontinued that the form might use.
p.p.s. I have got them looking into other areas to make 100% sure all is ok with the hosting platform :)

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 2:27 pm

UPDATE:

Had a reply from the hosting chaps with an error message:

PHP Warning: mail(): SMTP server response: 501 5.1.7 Bad sender address syntax 221 2.7.0 Error: I can break rules, too. Goodbye. in \\HP3-WINC2-SMB2.HOSTINGP3.LOCAL\DOMAINSZ\952\1944952\user\htdocs\sendform.php on line 79

Seems like the issue is the with the sender syntax in v7.2 which works fine in 5.6 - does this help?

TIA

User avatar
Pablo
 
Posts: 18700
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: PHP Version 7.2

Post by Pablo » Fri May 17, 2019 2:31 pm

The built-in form script has been tested with extensively PHP 7.2. There are no known issues otherwise they would have already been fixed.
I have spoken with the hosting provider and they say all is working as it should be
That is what they always say, at first! But if you browse through all the other related form issues on this forum then most of these cases are host related...
PHP Warning: mail(): SMTP server response: 501 5.1.7 Bad sender address syntax 221 2.7.0 Error: I can break rules, too. Goodbye. in \\HP3-WINC2-SMB2.HOSTINGP3.LOCAL\DOMAINSZ\952\1944952\user\htdocs\sendform.php on line 79
This indicates a configuration problem.

Note that I cannot see your settings.

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 2:42 pm

I tend to agree with you and so I have them on the case now but to save 'egg on face' can you absolutely state there's no issue with the built-in form processor? I can go back to them and do some proverbial ar3e kicking as I have wasted so much time on this now. Cheers

User avatar
Pablo
 
Posts: 18700
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: PHP Version 7.2

Post by Pablo » Fri May 17, 2019 2:51 pm

If I was aware of any issues they would have already been fixed.

You will need to ask your host why this error occurs:
PHP Warning: mail(): SMTP server response: 501 5.1.7 Bad sender address syntax 221 2.7.0 Error: I can break rules, too. Goodbye. in \\HP3-WINC2-SMB2.HOSTINGP3.LOCAL\DOMAINSZ\952\1944952\user\htdocs\sendform.php on line 79
I assume you have configured a valid email address in the settings of the form processor?

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 3:51 pm

Yes, all valid. As I mentioned, the form works fine under 5.6 but not on 7.2 - same site, form, hosting, conditions, etc. They say there's nothing else for them to 'configure' and so must be an issue with the form submission system... hmm, not totally convinced!

User avatar
Pablo
 
Posts: 18700
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: PHP Version 7.2

Post by Pablo » Fri May 17, 2019 4:58 pm

What does the PHP of the page look like?
Did you also try PHPMailer?

bkjohns
 
 
Posts: 74
Joined: Wed Nov 14, 2018 5:54 pm

Re: PHP Version 7.2

Post by bkjohns » Fri May 17, 2019 5:00 pm

Did you do a complete upload of the site or just changed items? Perhaps some old code is floating around on your host? And are you using the latest version of WWB?

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 5:03 pm

Yes and Yes :)

I uploaded a completely new page to a new test folder. I event created a simple web form in a new folder and that failed too. Still working on it now but as you say, I think it could be host related... will let you know, thanks for your help so far.. Cheers

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 6:06 pm

Spent some time on this now and as far as I can tell, the $HTTP_POST_VARS are not getting posted through from the form when running PHP7.2. Now, is this something WWB is doing or is it a setting on the Hosting provide that needs tweaking? Any help, as always, is appreciated. Cheers

User avatar
Pablo
 
Posts: 18700
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: PHP Version 7.2

Post by Pablo » Fri May 17, 2019 6:14 pm

I don't think this has anything to do with the error.
The error indicates that something is wrong with the email address.
So, either the configured email address is wrong or your host rejects the address for some reason.

What is the PHP code of the page?

User avatar
Starb7
 
 
Posts: 244
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: PHP Version 7.2

Post by Starb7 » Fri May 17, 2019 7:27 pm

If you mean what vsn, then it's set for 7. Odd thing is, it works fine on 5.6 and just updating to v7.2 breaks it. Got them looking for any settings they could change\check, etc. Cheers

Post Reply