PDA

View Full Version : Form problems



PFM
08-28-2006, 01:58 AM
Hi

I am having trouble directing an email form to designated email address. I have uploaded all necessary files to server.

Please go to this web link to see the form http://www.bigsmile.com.au/bookingform.html

I have also attached the forms to make this email form work to this thread.

Any help at all would be great

Twey
08-28-2006, 02:05 AM
http://www.bigsmile.com.au/bookingform/booking.php doesn't exist -- it's at http://www.bigsmile.com.au/booking.php.

PFM
08-28-2006, 02:37 AM
Thanks for your reply. So would it be a matter of re-naming the page/or files?

Or would I need to re-drect to the right file?

Thanks

Twey
08-28-2006, 02:39 AM
No, you just need to point the form to the right place.

PFM
08-28-2006, 03:19 AM
<form method="POST" action="bookingform/booking.php" onSubmit="return ValidateForm()"

So , the info above is (taken from booking.html) is where it needs to be changed.?

Thanks

Twey
08-28-2006, 03:46 AM
Just remove bookingform/.

PFM
08-28-2006, 04:50 AM
Thank you I will try this later this evening. Hopefully successfully!

PFM
08-29-2006, 08:53 AM
removed what was needed to be removed but still cannot get the form to send to relevant email address.?

Thank you

Twey
08-29-2006, 02:19 PM
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log. What's the error?

PFM
08-29-2006, 11:50 PM
HI Thank you for your email ,again, I have put this website onto another TEMP SITE which i -have :http://www.rodgerdodger.com.au/bookingform.html, before I fix everything ? and can upload to permanent site which will be aaahirecars.com.au. Ok this time when I treid to fill in form and submit this is what I am getting now , as per below info:?

Warning: fopen(emailTemplate.htm): failed to open stream: No such file or directory in /home/rodgerd/public_html/booking.php on line 79

Warning: filesize(): Stat failed for emailTemplate.htm (errno=2 - No such file or directory) in /home/rodgerd/public_html/booking.php on line 80

Warning: fread(): supplied argument is not a valid stream resource in /home/rodgerd/public_html/booking.php on line 80

Warning: fclose(): supplied argument is not a valid stream resource in /home/rodgerd/public_html/booking.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /home/rodgerd/public_html/booking.php:79) in /home/rodgerd/public_html/booking.php on line 116

Is this because I am using this Temporary site aka rodgerdodger.com.au that this happening? I cannot load the site to the permanent site if this is the case because of the form not working as yet.

Thank you

Twey
08-30-2006, 05:55 AM
Well, I think that's pretty clear -- it wants a file called emailTemplate.htm, but it can't find it.

PFM
08-31-2006, 11:20 AM
Hi Thanks

Uploaded the email template and also found the other problem Thank you page was thankyou.htm when it should have been thankyou.html

Thank you for your help



Much appreciated

jimbomac
09-01-2006, 12:12 AM
i have created a for that send general info, but now i need the script that when people click a submit button a message appears in the same page (ei. thank you for.........) or re-direct the page to a new one in the same window and a button that will closed the same window..