And if you pressed the Download button at Gist, that’s going to be a bit of a wild goose chase, as you’ll have to find an application to un-gzip the folder. Just click on the Raw icon <> and then copy and paste into a plain-text editor like TextWrangler. That’s easier than dealing with the download.
Walter
On Jul 17, 2013, at 9:53 PM, Walter Lee Davis wrote:
Use an FTP application. Make sure that the filename ends in .php so the server will know what to do with it. You can’t upload this with Freeway.
Walter
On Jul 17, 2013, at 9:16 PM, John Cooper wrote:
Sorry Walt, I’ve no idea how to use that script you gave me. Tried uploading it as a HTNL markup item?
Not sure what I’m doing, BUT I replaced the contents of my existing form handler (the FW one) with the script you provided. Tried the form—and I was redirected to a page with a blank form on it? I think the page name is Mail Test.
Okay—call off the hounds for now. I don’t why this worked but I deleted all the files from the server by FTP and re-uploaded the site again. Now works. Thanks all.
Great. Now the thing to know about the file I linked you to – that is a test form, it is in fact supposed to be used in isolation, not as the form handler for another form. You use it to test the server, not your form or handler. So if you come back to this issue, upload the test_form.php file to your server, visit it in a browser, and fill it out. It will send mail to whomever you put in the “To” field, as long as your server works.
Walter
On Jul 18, 2013, at 1:01 AM, John Cooper wrote:
Okay—call off the hounds for now. I don’t why this worked but I deleted all the files from the server by FTP and re-uploaded the site again. Now works. Thanks all.
I cant get the response via the send form action. I get the error page show up. Been in touch with the hosting complany and they need more info as its not a sript they are aware of. They can see a message of ‘email not sending’
Is there some further info I can give them to solve it?
I will assume that php is enabled on your server? And that you are not hosted by GoDaddy?
I would try a simple form on an otherwise blank page - you could start with the PHP Feedback Form action instead with it set to have different error pages depending on which error is encountered. (Use the ‘A Page for each Error’ setting)