Re: Premature end of script headers

2008-11-16 Thread Adam Jimerson
"Mike Williams" wrote: >> [EMAIL PROTECTED] wrote: >> > Hello, >> > >> > i need to know the reasons for this error "Premature end of script >> > headers" i checked with my http header content-type:text/html ,but i >> > had not solved yet.. > > > Often this happens when some error occurs in y

Re: Premature end of script headers

2007-06-13 Thread Mike Williams
On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > i made changes in httpd.conf file as you mentioned , here is mine AllowOverride None Options None Order allow,deny Allow from all Options ExecCGI AddHandler cgi-script.exe Saran, There is a typo in th

Re: Premature end of script headers

2007-06-13 Thread saran . jegan
On Jun 12, 7:54 pm, [EMAIL PROTECTED] (Mike Williams) wrote: > Saravanan, > > Hi there. Please do a reply to all to keep this on the list. Someone > else may be able to help, and someone else may be helped in the future > if it lands in the list archives. > > On 6/12/07, saravanan Jagadeesan <[EM

Re: Premature end of script headers

2007-06-13 Thread saran . jegan
Mike, > Hi there. Please do a reply to all to keep this on the list. Someone > else may be able to help, and someone else may be helped in the future > if it lands in the list archives. Sorry for that ... am using windows XP (windows 5.1) , am changed the http.conf file as per you

Re: Premature end of script headers

2007-06-12 Thread Mike Williams
Saravanan, Hi there. Please do a reply to all to keep this on the list. Someone else may be able to help, and someone else may be helped in the future if it lands in the list archives. On 6/12/07, saravanan Jagadeesan <[EMAIL PROTECTED]> wrote: Mike, Thanks for your info mike , i g

Re: Premature end of script headers

2007-06-08 Thread Mike Williams
On 6/7/07, saravanan Jagadeesan <[EMAIL PROTECTED]> wrote: Mike, These are the answers for your questions Do you have other cgi programs in the same directory that work? None works !!,Am having about 5 programs in my CGI-BIN folder all these programs are executing the same

Re: Premature end of script headers

2007-06-05 Thread Mike Williams
[EMAIL PROTECTED] wrote: > Hello, > > i need to know the reasons for this error "Premature end of script > headers" i checked with my http header content-type:text/html ,but i > had not solved yet.. Often this happens when some error occurs in your code before you output the headers. Try p

Re: Premature end of script headers

2007-06-05 Thread Sean Davis
[EMAIL PROTECTED] wrote: > Hello, > > i need to know the reasons for this error "Premature end of script > headers" i checked with my http header content-type:text/html ,but i > had not solved yet.. Check your error_log file on your server to see if you are generating an error in your script.

RE: Premature end of script headers

2005-02-08 Thread Sethi, Pradeep
esday, February 08, 2005 10:28 AM To: 'vishwas bhakit'; beginners-cgi@perl.org Subject: RE: Premature end of script headers vishwas bhakit wrote: > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the

RE: Premature end of script headers

2005-02-08 Thread Bob Showalter
vishwas bhakit wrote: > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. When the webserver runs your CGI script, it parses the output, looking for the MIME headers, followed by a blank line, followed by the re

Re: Premature end of script headers

2005-02-08 Thread Lawrence Statton
> --0-533587995-1107883018=:92269 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. > > Thnx in advance Yes. The cause

RE: Premature end of script headers

2005-02-08 Thread Moon, John
Subject: Premature end of script headers hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Have you tried to execute the script from the command line? That is sometimes helpful in finding the error... jwm -- To unsub

Re: Premature end of script headers

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, vishwas bhakit wrote: > I am getting [the] following error. > > Premature end of script headers > > Can anybody [please] tell me > what is the cause of this[question mark] > > [Thanks] in advance As noted in the last reply to you, it is impossible to give any constructi

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-20 Thread Tim Blanchard
"Tim Brom" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I dual-boot my computer and I have three partitions, an NTFS partition > for Windows XP Pro, an ext3 filesystem for Linux (Red Hat Linux 9.0) and > a Fat32 filesystem for my data (because FAT32 is the only filesystem > both O

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-18 Thread zentara
On Thu, 14 Aug 2003 16:16:23 -0500, [EMAIL PROTECTED] (Tim Brom) wrote: >I dual-boot my computer and I have three partitions, an NTFS partition >for Windows XP Pro, an ext3 filesystem for Linux (Red Hat Linux 9.0) and >a Fat32 filesystem for my data (because FAT32 is the only filesystem >both O

RE: Premature end of script headers

2003-03-24 Thread Dennis G. Wicks
Greetings; That will not cause the problem using Apache and IE 6.0 It might in other combinations, but generally spaces are not significant if other punctuation is doing the job. Check the error logs for file not found which is generally a permissions problem. Also, for a valid path-to-perl in t

Re: Premature end of script headers

2003-03-24 Thread Ovid
Hi Kim, I hope you don't take any of this personally. It's certainly not meant that way. --- Kim Forbes <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl-w There should be a space after the -w. > print "Content-type:text/html\n\n"; There should be a space after the colon. This is one of the reas

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Yes, but it's not correct, there's your premature end of script header right there. You have: print "Content-type:text/html\n\n"; It should be: print "Content-type: text/html\n\n"; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, It appears to be the header issue I mentioned before. Before print

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
ent: Monday, March 24, 2003 10:50 AM Subject: RE: Premature end of script headers > Kim, > > If you're trying to get the results to print in a browswer, you have to send > the content type to the browser in the headers. Did you do either of these > things prior to whatever r

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
Sure, Here is the code. When I tried it out at home, I uploaded it to Tripod (The free web-creation site.) I must add that I tested everything, but the mail portion of the program (Tripod requires a special Tripod Mail module that I felt was too much work for what I was trying to do. I may be wron

Re: Premature end of script headers

2003-03-24 Thread Ovid
--- Kim Forbes <[EMAIL PROTECTED]> wrote: > Hello, > > I created my first Perl script from book and internet sources. I tried it out at > home and it > worked fine. I then uploaded it to work's Apache server, changed the permissions, > and put it in > the cgi-bin folder. Now I get a "Premature

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, If you're trying to get the results to print in a browswer, you have to send the content type to the browser in the headers. Did you do either of these things prior to whatever routine prints your results? use CGI; $query = new CGI; print $query->header; or print "Content-type: tex

RE: Premature end of script headers

2003-02-06 Thread Bob Showalter
[redirected to beginners-cgi list] zegdatwel wrote: > hi, > > "Premature end of script headers" > > what can this mean...it's in the error log. When does this > happen? I got error 500 when executing script. It means your script ended (normally or abnormally) before emitting a proper MIME heade