[Pro] error script

Hi guys. I am perplexed. I have set up an error and success response for correspondents to let them know if they have been successful in emailing back to the account holder. But they get a different error message, not created on the site after which they cease communications. The strange thing is that I get their email? Am I missing something?

http://www.ouitu.com/contact.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Who does the formhandling? You within Freeway with a script?

2014-07-14 15:08 GMT+02:00 Trevor Gorard email@hidden:

Hi guys. I am perplexed. I have set up an error and success response for
correspondents to let them know if they have been successful in emailing
back to the account holder. But they get a different error message, not
created on the site after which they cease communications. The strange
thing is that I get their email? Am I missing something?

http://www.ouitu.com/contact.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for responding, Andries.

We are following a standard set up from softpress script:

  1. Open the Page Actions menu from the Page menu and select PHP Feedback Form
  2. Open the Actions palette by selecting Actions from the Window menu (if you see an error message in the Actions palette stating that the Action requires AppleScript, go to Preferences in the Freeway dropdown menu and switch on the “Enable AppleScript in Actions” option)
  3. In the Error Page pulldown choose Other…
  4. In the Hyperlink dialog that appears click New Page. Call the page Error.html (this new page will be displayed if there is a problem sending your form)
  5. Select Error.html and click Ok
  6. In the Success Page pulldown choose Other…
  7. In the Hyperlink dialog that appears click New Page. Call the page Thanks.html (this page will be displayed if there are no problems sending your form)
  8. Select Thanks.html and click Ok
  9. Type your email address into the Email Recipient field
  10. Amend the Error and Thanks pages to match your design
  11. Upload your site using the Upload dialog from the File menu to test it
    MAny thanks Trevor

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

your link to your Error and Respond pages are set correct? I must say that
I’ve had often troubles sending mail by Freeway… I use Web Form Builder
by Coffeecup and that is a blessing. HTML5 with lots of options. Easy to
implement in Freeway.
Op 14 jul. 2014 15:49 schreef “Trevor Gorard” <email@hidden

:

Thanks for responding, Andries.

We are following a standard set up from softpress script:

  1. Open the Page Actions menu from the Page menu and select PHP Feedback
    Form
  2. Open the Actions palette by selecting Actions from the Window menu (if
    you see an error message in the Actions palette stating that the Action
    requires AppleScript, go to Preferences in the Freeway dropdown menu and
    switch on the “Enable AppleScript in Actions” option)
  3. In the Error Page pulldown choose Other…
  4. In the Hyperlink dialog that appears click New Page. Call the page
    Error.html (this new page will be displayed if there is a problem sending
    your form)
  5. Select Error.html and click Ok
  6. In the Success Page pulldown choose Other…
  7. In the Hyperlink dialog that appears click New Page. Call the page
    Thanks.html (this page will be displayed if there are no problems sending
    your form)
  8. Select Thanks.html and click Ok
  9. Type your email address into the Email Recipient field
  10. Amend the Error and Thanks pages to match your design
  11. Upload your site using the Upload dialog from the File menu to test it
    MAny thanks Trevor

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The error message that appears on the correspondents web page is this:
Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 55

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 55

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 59

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 59
Make any sense?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

These are PHP errors, caused because the handler script was written for an earlier version of PHP than is currently installed on your server, and your server has the non-standard setting of displaying errors in PHP. This is seriously a very bad idea, because error messages often signal important clues that a hacker could use to compromise your server. Look in your server’s control panel for the PHP settings area. Locate anything that looks like this:

display_errors: 1;  (or true, or "yes" or anything truthy like that)

Change it to read this:

display_errors: 0;

If you can’t get this to happen in your cPanel, then you need to locate your site’s .htaccess (or create one if it doesn’t exist). Note that this is a normally-hidden file (its name begins with a dot) so you will need to turn on your FTP application’s “Show Hidden Files” option, wherever it may be. Anywhere in that file, add the following line:

php_value display_errors 0

That will either shut up the errors, or cause an immediate 500 error on your server (if the server’s master config does not allow you to make those sorts of changes). If you get the latter result, remove that line (or .htaccess file, if you added one) and we’ll have to pursue another avenue to solve this problem for you.

Walter
On Jul 14, 2014, at 10:12 AM, Trevor Gorard wrote:

The error message that appears on the correspondents web page is this:
Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 55

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 55

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 59

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 59
Make any sense?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Trevor,
Make sure you are using the latest version of the Action as eregi was replaced for preg_match in version 2.4.3;
http://www.freewayactions.com/product.php?id=019
http://www.actionsforge.com/actions/php-feedback-form

This version should work on your server without error.
Regards,
Tim.

On 14 Jul 2014, at 15:12, Trevor Gorard wrote:

The error message that appears on the correspondents web page is this:
Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 55

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 55

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 59

Deprecated: Function eregi() is deprecated in /sites/ouit38353/htdocs/bookings-go.php on line 59
Make any sense?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks very much indeed Tim. Very much appreciated.
You’ve probably guessed that I’m a designer, not a scriptor. Although waltd gave some very useful advice he was probably aiming his comments at a programmer rather than a layman.
Very grateful to everyone who responded. Going to set to resolve now. Bless you all for sharing. Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I hope that you took the “turn off error reporting” part to heart, no matter what sort of Web developer you are. This is a SERIOUS security breach, and I’m frankly really surprised that your hosting provider left the back door open like this. If you don’t feel comfortable doing this yourself, file a support ticket with your host and have them do this for you. Don’t leave it in its current state, no matter what you do.

Walter

On Jul 15, 2014, at 7:07 AM, Trevor Gorard wrote:

Although waltd gave some very useful advice he was probably aiming his comments at a programmer rather than a layman.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you Walter for your advice and information. I would not have know this so am grateful to you.
With best wishes
Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options