[Pro] PHP feedback form

Anyone know of a reason the feedback form action might not be working any more - or should I delete and try again?

When the form gets filled out and we hit SEND - it throws the following error -

Deprecated: Function split() is deprecated in /hermes/walnaweb02a/b2378/moo.XXXXX/YYYYYY/contactus-midgul-go4.php on line 16

(Where XXXXX and YYYYY are redacted)


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Your version of PHP (on your server) is newer than the version that PHPFF was coded to run on. If you have Freeway 6 or 7, they both have the Send Form Action in them, and that was written to a much higher version of PHP than PHPFF.

You can disable warning messages on your server by editing the .htaccess file in your site’s root folder. This is only a warning, not a true error, so disabling error reporting (always a good idea on production servers) would be okay. This warning is telling you that in a future version of PHP, the split() function will be removed entirely. Right now, it is only deprecated (French for dead man walking).

In the .htaccess file (you need to enable “Show Hidden Files” in your SFTP application, like Transmit or Fetch, in order to see any file that begins with a dot) you can add configuration directives for PHP. The one you want here is this:

php_flag display_errors off

If you don’t have an .htaccess file, you can usually create one without harm. If you suddenly see 500-level error messages from Apache, then delete it, contact your hosting provider, and tell them to turn off error reporting on your site.

Walter

On Dec 14, 2016, at 5:59 PM, Karen E email@hidden wrote:

Anyone know of a reason the feedback form action might not be working any more - or should I delete and try again?

When the form gets filled out and we hit SEND - it throws the following error -

Deprecated: Function split() is deprecated in /hermes/walnaweb02a/b2378/moo.XXXXX/YYYYYY/contactus-midgul-go4.php on line 16

(Where XXXXX and YYYYY are redacted)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thank you Walter - for this and all your years of generosity and helpfulness. It’s one of the things that made Freeway so great.


freewaytalk mailing list
email@hidden
Update your subscriptions at:


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Tim,

PLEASE tell me that all of my forms on my entire website did not stop working as of Thurs for the same reason Walt said above?

I am not getting an error when the person completes the form, just the email never gets to me on any form since THurs night.

ideas?

here is 1

Thanks

Barry


freewaytalk mailing list
email@hidden
Update your subscriptions at:

i think it may be server related. I can send the form and sends me to success page, just no emails.

Called godaddy and they think it is on their end and looking into.

thanks!

Barry


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Hopefully it makes a difference as the form isn’t going through at all right now.

FWIW there’s not much in the existing .htaccess file - but if I understand the directions I just add the configuration direction to the end?

# Begin cache control

#ExpiresActive on
#ExpiresActive off
#<FilesMatch “.*”>
#Header unset Cache-Control
#Header unset Expires
#Header unset Last-Modified
#FileETag None
#Header unset Pragma
#

# End cache control

#php_flag display_errors off

(sorry I couldn’t figure out how to quote code without the # sign. Please ignore the 1st one on each line…)


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Yes. That’s all you need to add to suppress the error message on your page. But you say that it isn’t going through at all ??? What happens instead? Do you have separate error pages set up in the Action to indicate which one of the paths the form handler takes?

Also, to add code, either put a tab or four spaces at the beginning of each line. This site uses Markdown (with some extras). More here: Daring Fireball: Markdown Web Dingus

Walter

On Dec 17, 2016, at 7:00 AM, Karen E email@hidden wrote:

Hopefully it makes a difference as the form isn’t going through at all right now.

FWIW there’s not much in the existing .htaccess file - but if I understand the directions I just add the configuration direction to the end?

# Begin cache control

#ExpiresActive on
#ExpiresActive off
#<FilesMatch “.*”>
#Header unset Cache-Control
#Header unset Expires
#Header unset Last-Modified
#FileETag None
#Header unset Pragma
#

# End cache control

#php_flag display_errors off

(sorry I couldn’t figure out how to quote code without the # sign. Please ignore the 1st one on each line…)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks - sorry for being so vague. What I meant to say was when the form is sent - the Depreciated error pops up and nothing is sent/received. I tried a couple of ways to edit the .htaccess file - via Text Edit, Text Wrangler - and on the host’s own direct editor tool - but each time it breaks the site(s)* which then end up with Internal Error. So I’ve restored it to the starting point.

The PHP feedback form, along with Success and Error pages were all up and running great at one point, for years - but have stopped working for unknown reasons.

One of my other sites *on the same hosting plan is using the Send Form action and working well. It’s probably much simpler if I just switch, but of course I’d like to see about fixing it instead. :slight_smile:

The host is FatCow - I just had an online Chat with them - Useless.

I can see that your website is designed via third party tool.
It appears that the issue is with the script. You need to contact them…

Looks like I will be using the Send Form action to replace the PHP Feedback Form to get things working again.

Good enough I suppose! I’ve purchased both Pinegrow and Sparkle (opposite ends of the spectrum) to play with but plan on maintaining with FW7 for a while still until I’m compelled to port sites over. Hoping for a new owner or releasing the project to Open Source.

Thanks again W!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

You’re welcome. Sorry it didn’t work out for you. Usually, when you add a directive to the .htaccess file and the server dies, that means that the hosting provider have locked that option out for their own security. There may be another place in the hosting provider’s control panel where you CAN set the display_errors option to Off. You really should anyway, and if you can’t figure out how to do it, file a support ticket with your provider.

Hackers use a technique called “fuzzing” to automatically fingerprint your server and look for ways in. A visible error message is how they get a useful answer from this technique, so turning that off is a necessary first line of defense.

You don’t have to be a national bank to be attacked, either. There are automated scripts that just run night and day, making up IP addresses at random and testing for easy access. When they find a way in, they will probe further to see if it is worthwhile. Even if all they can do is upload a porn-sharing script (happened to me…) they will. And then they will fill up your disk with video of Russian beauties… .

Walter

On Dec 17, 2016, at 1:43 PM, Karen E email@hidden wrote:

Thanks - sorry for being so vague. What I meant to say was when the form is sent - the Depreciated error pops up and nothing is sent/received. I tried a couple of ways to edit the .htaccess file - via Text Edit, Text Wrangler - and on the host’s own direct editor tool - but each time it breaks the site(s)* which then end up with Internal Error. So I’ve restored it to the starting point.

The PHP feedback form, along with Success and Error pages were all up and running great at one point, for years - but have stopped working for unknown reasons.

One of my other sites *on the same hosting plan is using the Send Form action and working well. It’s probably much simpler if I just switch, but of course I’d like to see about fixing it instead. :slight_smile:

The host is FatCow - I just had an online Chat with them - Useless.

I can see that your website is designed via third party tool.
It appears that the issue is with the script. You need to contact them…

Looks like I will be using the Send Form action to replace the PHP Feedback Form to get things working again.

Good enough I suppose! I’ve purchased both Pinegrow and Sparkle (opposite ends of the spectrum) to play with but plan on maintaining with FW7 for a while still until I’m compelled to port sites over. Hoping for a new owner or releasing the project to Open Source.

Thanks again W!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks again - I’ll certainly poke around for another way to turn off the display_errors - or request this. Wow, what a story!

I’ve already replaced the form action and it’s working just fine now. Thx!


freewaytalk mailing list
email@hidden
Update your subscriptions at: