email not working

Hi chaps - I have created a form on a simple site for a client - there is a box for the viewer to enter their email - it has worked up until recently but it appears it has stopped working now … OK this question is along the lines of long bits of string but is there a way I can narrow down where the problem lies please ? Best Roger


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

First step if you are using Tim’s PHP Feedback Form action - is to create different error pages for each of the potential errors ie server error etc and instead of selecting 'one error for all, choose the appropriate error page for each. These error pages don’t need to be fancy big text saying ‘SERVER ERROR’ will be enough.

With the new error pages on the server Test and see which one is appearing.

Once you know which area to look then we can point you in the right direction - and don’t forget to post a link.

Also let us know where your site is hosted (hope it isn’t GoDaddy!)

David


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

Thanks for getting back to me Delta Dave.

I believe I am using the PHP feedback form action but I’m afraid I didn’t quite understand what you meant by “…create different error pages for each of the potential errors …”

this is the page:

http://www.lambournracing.org/contact-lambourn-racing%20.html

Good of you to take the time

Roger


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

OK - for PHP FF settings look at this
form_errors

So you will need to create a Not in Domain error page, Server Failure error page and Invalid email address error page and then choose them in the appropriate picker.

The other thing(s) you should be careful of are the use of spaces and other characters in you file names your contact page has an extra space character before the .html - you should remove that as it is causing the form processing page to be created with a space character as well ie contact-lambourn-racing%20-go.php

Some servers will complain about this!

On your form you have not correctly named your form fields. For your email address field you have this


<input name="address" size="24" id="item6b">

It should have an input name of email. With that field selected look in the inspector, third tab and change the ‘name’ from address to email.

Also have a look at http://www.freewayactions.com/product.php?id=019 for the lowdown on the special names feature.

And finally if you construct your form within a table ie 2 cols and x rows and insert your fields in to the table you will have a far neater looking form. Again there is a pic of a form on Tim’s example page to give you an idea.

D


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

Well thank you so much for taking the time for such a comprehensive response Delta Dave - so good of you chaps to put so much effort into helping people like me. Rather than come back I’ve been trying to sort this out and have created 3 error pages and am getting ‘Server Error’ - I’ve contacted my ISP and he is kindly looking into it meanwhile suggest that I check that there’s not an update for the action (I don’t think there is) and he wondered if there might be a de-bug option - having attempted to mend the action/form maybe you could have another quick look at it for me please … Best Roger


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

Hi Roger

I’ve found the issue. It’s an older action that needed php4.

We did move to php5 as the default some time back now which would make it stop.

Anyone else with that same issue…

Can you check you’re using the latest version of the action that?
http://www.actionsforge.com/projects/view/97-php-feedback-form

Or create a .htaccess file with the following

SetEnv DEFAULT_PHP_VERSION 4

Its probably better to just update the php feedback form action rather than use php4.

(It think Tim has allowed in the code the latest action to fallback to php4)

David Owen { Freeway Friendly Web hosting and Domains }

http://www.ineedwebhosting.co.uk | http://www.PrintlineAdvertising.co.uk

On 2 Feb 2011, at 17:09, Roger Burton wrote:

Hi chaps - I have created a form on a simple site for a client - there is a box for the viewer to enter their emai


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

Get the latest version,I think it is 2.3.4 at http://freewayactions.com/product.php?id=019

David


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

Thank you chaps it was all down to the version update so I’m sorry you all went to so much effort maybe it should have been my first consideration.

As an afterthought, is it possible (it’s obviously necessary) to easily check on updates for ‘actions’ ?

Any thoughts please ? Roger

(I can quite understand when the client complains that he thought business was a bit quiet 'cause he wasn’t getting emails) !


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