[Pro] PHP Feedback Form problem (keep getting error page)

Hi All,

I’ve set up my php feedback form as required, but I have a slight problem because it won’t send the email and it keeps bringing up the error page.

I know this works as it should because I copied and pasted the site to my server (hosted by Have-Host) and it works as it should. I think it has something to do with the server that the site is hosted on: Webhosting.uk.com.

I’ve taken out all the Perch cms tags so that I know it’s not that that is causing the failure.

The working version is here (excuse the links that don’t all work, it’s a copy and paste…)

http://www.sbdesign.co.uk/team-craft2/fw6test/contactuscopy.php

The Webhosting.uk.com site it is not very easy to find answers, I was wondering if anyone had any thoughts before I contact them. By the way, Perch runs perfectly on it so I know that the servers run php and MySQL.

Thanks in advance…

Steve.

http://www.team-craft.com/contactuscopy.php


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

The form itself is fine.

The first thing I would do is enable ‘A page for each error’

Just make new pages for Not in Domain, Server Failure and Invalid Email and make sure that these are selected in the action interface.

The resulting error page on submission will help diagnose the issue.

David


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

Hi David,

Thanks for the reply.

The issue is all to do with the Hosting provider, and not with Php Feedback Form Action.

I’ve just finished a long “Live Chat” with Webhosting.uk.com technical department where they informed me that they have disabled the php mail function so all emails have to use SMTP authentication. This means setting up the url to the server and providing your login details in a configuration file in order to get the form to post.

They have sent me a set of configuration files which I have to incorporate into my page and set it to send via the another php file in the same folder.

It was so much easier with the php feedback form. There are quite a few more things to configure with this method!

Oh well, back to the drawing board…

Steve.


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

Hi all,

Just an update, I’ve now got the form working and looking as I wanted, it now sends an email to the right place.

All I need to do is to do the validation, especially on the email as at the moment it hasn’t got any. The script I was given had a very simplistic javascript validation that only checked if there was something in the field, not if it was correct and allowed anything to be input, not ideal and not secure!

That’s my next task, I’ve tried the validate action but it won’t work with Freeway Pro 6. It comes up with an error that the Tag has no properties.

Any ideas as to how to update the validate action, as I’m not using the PHP Feedback form action because of the problems with the Web Hosting.

Cheers,

Steve.


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

Could you please post a link to the form?

Walter

On May 28, 2013, at 5:06 PM, SteveB wrote:

Hi all,

Just an update, I’ve now got the form working and looking as I wanted, it now sends an email to the right place.

All I need to do is to do the validation, especially on the email as at the moment it hasn’t got any. The script I was given had a very simplistic javascript validation that only checked if there was something in the field, not if it was correct and allowed anything to be input, not ideal and not secure!


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

Oops! Thanks for reminding me… I forgot the all important link:

http://www.team-craft.com/contactus.php

It’s not live yet as I still have some Perch areas to add and test.

Cheers,

Steve


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