[Pro] PHP Feedback Form Seemingly Dead

In a bit of a fix here. Part of a big website is ticket reservation for a major rock festival and the booking form should have been live a couple of days ago.

I’ve used the PHP Feedback form action, exactly as prescribed, nine times actually, and when uploaded to the server using FW Upload, the page displays fine but there’s no activity after hitting submit.

Checked all settings and parameters, they seem in order.

Server is running PHP 5+ as far as I know, but am awaiting results from a support ticket.

Any ideas? Please.


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

Use a plain-text editor like the free and amazing TextWrangler from http://barebones.com to create the following file, name it something cryptic that only you know, upload it to your server’s Web root folder using an FTP tool like Transmit, and then visit it. (Remember, cryptic name, and don’t tell us what it’s called, and delete it after you’re done.) Be sure to add your own e-mail address where it’s indicated.

<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
$to = 'your-email-address-goes-here';
if (mail($to, 'Test Message from the Server', 
	'Howdy from ' . $_SERVER['SERVER_NAME'],
	'From: ' . $to, '-f' . $to))
	print 'Message Sent!';
?>

This will (or should) send a single e-mail to whatever address you enter into it on the third line of code whenever you visit it in your browser. Name it asdfsadf.php or something similarly wacky, and just upload it and go there in a browser. If it all works, you should only see the words Message Sent! in your browser window. If you see anything else, then that’s a good place to start debugging.

Walter

On Jan 6, 2012, at 1:41 PM, Terry wrote:

In a bit of a fix here. Part of a big website is ticket reservation for a major rock festival and the booking form should have been live a couple of days ago.

I’ve used the PHP Feedback form action, exactly as prescribed, nine times actually, and when uploaded to the server using FW Upload, the page displays fine but there’s no activity after hitting submit.

Checked all settings and parameters, they seem in order.

Server is running PHP 5+ as far as I know, but am awaiting results from a support ticket.

Any ideas? Please.


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

Hello Walt, and thanks again for your help. I deeply appreciate it.

Complied exactly with your post and … I get 404 File or Directory not found.


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

Did you upload that file to your server, into the same folder as the index.html file from your site? If so, then you should get some sort of page. Check with Transmit or another FTP application, and make sure you didn’t put it in the folder above your Web root by mistake. (There’s usually a folder inside your “home” folder called variously ‘htdocs’, ‘public_html’, ‘www’ – it depends on your host exactly what they call it – this is where your Web pages live, that’s where I want you to put your cryptically-named php script.)

Walter

On Jan 6, 2012, at 2:17 PM, Terry wrote:

Hello Walt, and thanks again for your help. I deeply appreciate it.

Complied exactly with your post and … I get 404 File or Directory not found.


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

Yep! Just checked it all. File went into httpdocs, and, with the name I gave it, appears a couple of lines above index.html.


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

And when you go to http://yourdomain.com/asdfsadf.php you see what? (Copy and paste the filename to be sure…)

Walter

On Jan 6, 2012, at 2:40 PM, Terry wrote:

Yep! Just checked it all. File went into httpdocs, and, with the name I gave it, appears a couple of lines above index.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

Walt, here’s the web address:
http://www.wangfordwithhenham-community.org.uk/

The file is hranicka.php

Whichever way I access that file I get 404

Terry


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

I see that as well. Could you try please adding a new page to your site in Freeway, in the Inspector, make sure the Filename field for that page reads test.php instead of whatever Freeway put there, upload your Freeway document, and then go to your site/test.php and see if you get the 404 error. I’m beginning to wonder if this server is not set to process PHP…

Walter

On Jan 6, 2012, at 3:06 PM, Terry wrote:

Whichever way I access that file I get 404


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

Walt, sorry about the delay. Preparing and consuming necessary victuals.

Followed your instructions exactly, and still got a 404.

Yes it looks like the server is not PHP enabled, which could be why my support ticket still hasn’t been answered.

I’ll be on the phone what is tomorrow for us, and report back.

Walt, my sincere thanks for your time and trouble. If you were in the UK I’d buy you a drink, or two.

Terry


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

Terry - who is your Host and what package are you on?

David


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

It’s a Windows server (?) leased by my stepson, which I share. He has all access rights, and I just rent space from him.

I do know a couple of months ago he moved us into the Cloud, and it was a pure pain as so much was distorted in the process. Complaints abounded, and I ended with re-uploading most things.

As said once before here, it’s a matter of family politics.


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

PHP can be made to run correctly on a Windows server, but it’s really difficult to get the mail service working in a way that is compatible with most PHP scripts. You might want to look into hosting this elsewhere, as it will cost you far less in terms of your time than troubleshooting this and getting it to work correctly.

Walter

On Jan 6, 2012, at 4:58 PM, Terry wrote:

It’s a Windows server (?) leased by my stepson, which I share. He has all access rights, and I just rent space from him.

I do know a couple of months ago he moved us into the Cloud, and it was a pure pain as so much was distorted in the process. Complaints abounded, and I ended with re-uploading most things.

As said once before here, it’s a matter of family politics.


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

As said once before here, it’s a matter of family politics.

I remember now!

But if the space he has doesn’t provide the necessary - and it doesn’t look like it does - never mind the fact that it is a Windoze server. Then it is time to get your own.

But there should be no problem getting PHP enabled on it - unless the hosting package specifically doesn’t allow it.

D


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

Thanks for that all.

Yes, there have been issues with this server in the past and I’m at the point where I’ll either lease my own, or go for shared hosting on a UK provider.


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

I’m at the point where I’ll either lease my own, or go for shared hosting on a UK provider.

Have a look at David owen’s packages at http://ineedwebhosting.co.uk/web-hosting-prices.html Pro Hosting packages from £25 pa

And no - I am not on commission.

D


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

Dave, I will look, and I don’t care if you are on commission. If it’ good, it’s good!


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

David Owen is a regular contributor here and totally FW savvy - you would be in safe hands.

D


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

I’ll check it out Dave. There’s more websites coming up shortly, and I think another home is now well over due.


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

The PHP Feedback forms works “out of the box” so to speak at http://www.ineedwebhosting.co.uk

David Owen

On 6 Jan 2012, at 22:29, “Terry” email@hidden wrote:

I’ll check it out Dave.


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

David, right now I’m contracted for this website hosting for almost 6 months, so can’t do much until then. As said, there are others coming along and I’ll be happy to talk with you about them. Also I’ll need to set up another staging server soon.

The only remaining question about this PHp issue is, using either Forms to Go or the action in FW, which type of PHP is necessary: CGI, Fast CGI or SAPI Ext. I have I think six forms created in FTG, and just started using the action in FW.


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