|
| A R C H I V E D M E S S A G E |
|
Subject: server error |
| Posted: 03/03/2004 at 11:37:49 am |
| By: Victoria |
| Hello,
I hope you can help me out.
I installed the script and followed the readme text. I just cannot figure out what can be wrong.
First nothing worked. After some changing in the path I saw the error page when I not filled out a field.
The autoreply was sent to the sender, but I not find the form info in my mailbox.
now both do not work again and this is what is in the log files:
Premature end of script headers: /pub/home/user/cgi-bin/bizmail.cgi
[Wed Mar 3 16:28:50 2004] [error] [client xxxxxxx] Premature end of script headers: /pub/home/user/cgi-bin/bizmail.cgi
[Wed Mar 3 16:29:35 2004] [error] [client xxxxxxx] Premature end of script headers: /pub/home/user/cgi-bin/bizmail.cgi
[Wed Mar 3 16:29:54 2004] [error] [client xxxxx] Premature end of script headers: /pub/home/user/cgi-bin/bizmail.cgi
Hope you can help me to make things work.
Masha | |
|
|
Subject: Re: server error |
| Posted: 03/04/2004 at 6:02:16 am |
| By: Seth Knorr |
| Try re-downloading the script 2.0. I optimized a couple of things for your server. It should work fine for you. If it still does not work for you let me know where your html form is located at and I will re test it.
Seth | |
|
|
Subject: Re: next step :-) |
| Posted: 03/04/2004 at 10:47:13 am |
| By: Victoria |
| Thanks for the changes and now I do have the success page there.
As form sender I receive an email that is the autoresponder.
As form receiver ..... there is nothing at all. I set up the sent_to and the cc_to , but both are without forms are even a sign that the form is filled out and sent.
test page is on www.masha-prezalska.com/Model-Booking-Form.php
There is the line for the success page but I am still working on this one.
What is with the javascript that comes with the html page?
thanks
Masha | |
|
|
Subject: Re: server error |
| Posted: 03/04/2004 at 12:04:41 am |
| By: Victoria |
| I deleted all and downloaded bizmail again.
In the bizmail.cgi:
#!/usr/bin/perl --> checked path and is correct
$useLib = "sendmail";
$mailprog ="/usr/sbin/sendmail"; --> path to my sendmail
????
I not work with smtp, and did following in the script:
$smtp_server = "";
$sendto{1} = "email address\@address.com";
????
other i tried with $sendto{2} = ""; and also i tried after deleting what i will not use.
same with $cc_to{1} = as above.
This is what i did till now.
I deleted all in the cgi-bin and uploaded in asci and chmod as readme told.
Error messages at this moment:
Bad header=No recipient address found i:
undefined subrouting &main::success called at bizmail.cgi line 509
Hope that you can help me make this script run now :-)
Masha | |
|
|
Subject: Re: server error |
| Posted: 03/05/2004 at 5:56:02 am |
| By: Seth Knorr |
| I tested the form and it worked fine for me, I even got the return email back fine. If you are not getting the form results to your email, then you will want to check the bizmail.cgi file for the send to and cc to email address's and make sure they are properly formated.
Seth | |
|
|
Subject: Re: server error |
| Posted: 03/05/2004 at 5:56:43 am |
| By: Victoria |
| Dear Seth,
Thank you for helping me out in the beginning. I have the form working now and in the html form (input hidden part) I misstyped send_to, and used sent_to :-(
Javascript question is still there.
Masha | |
|
|
Subject: Re: seems almost work |
| Posted: 03/05/2004 at 12:00:11 am |
| By: Victoria |
| There are no error messages in my log at this moment.
The form is NOT sending anything at all!
I did set up the success page, but that also is not working. Can I change the .html into .php?
I will try to find out that part (success page) first before I will post here about it.
Masha | |
|
|
Subject: Re: server error (reprise) |
| Posted: 03/05/2004 at 3:07:45 pm |
| By: Victoria |
| I am sorry I have to ask you again about this!
After adding the second sendto in the script, I uploaded it again and set it to chmod755
From that moment there is again an internal server error with the log file:
"Premature end of script headers:"
I not understand this at all. | |
|
|
Subject: Re: server error |
| Posted: 03/05/2004 at 6:21:42 pm |
| By: Seth Knorr |
| 1. The javascript in the HTML file is if you want to use JAVASCRIPT validation to check if fields where filled in.
2. If you are now getting a premature end of script headers error after editing the sendto it is probably because you forgot the \ before the @ sign.
Ex. you\@yourdomain.com
Seth | |
|
|
Subject: Re: server error |
| Posted: 03/06/2004 at 12:18:18 pm |
| By: Victoria |
| I not forget to put the \ before the @ sign.
I think that it will take some time before the script is active on the server again. I cannot explain it in some other way.
I will see what will happen with future changes. thanks again | |
|
|