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…)
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.
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!
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.
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!