malformed header from script. Bad header

malformed header from script. Bad header

am 20.06.2011 09:57:17 von Khabza Mkhize

--20cf3005dc0695e3ce04a62015c0
Content-Type: text/plain; charset=ISO-8859-1

I am receiving the following error on my error log
I thought it was caused by Meta Tag content.
The program was working fine for a long time its just few day I got
this error and now it seem is consistent.
[Sun Jun 19 22:42:12 2011] [error] [client 98.126.251.234] malformed
header from script. Bad header=

: tourview1.pl,

this is the program that generate this error
http://www.followme2africa.com/cgi-bin/followme/scripts/publ ic/common/tourview1.pl?Aqui01-DSAF&CPT&2

Thank you

Khabza
Developer
www.greenitweb.co.za

--20cf3005dc0695e3ce04a62015c0--

Re: malformed header from script. Bad header

am 20.06.2011 10:32:41 von Khabza Mkhize

--20cf301cc3c220063a04a62094dc
Content-Type: text/plain; charset=ISO-8859-1

I am not sure if this problem is cause by print "Content-type: text/html",
"\n\n";

The main problem I have commented print "Content-type: text/html", "\n\n";
since is printing line from cookies i Used

On Mon, Jun 20, 2011 at 9:57 AM, Khabza Mkhize wrote:

> I am receiving the following error on my error log
> I thought it was caused by Meta Tag content.
> The program was working fine for a long time its just few day I got this error and now it seem is consistent.
>
> [Sun Jun 19 22:42:12 2011] [error] [client 98.126.251.234] malformed header from script. Bad header=

: tourview1.pl,
>
> this is the program that generate this error http://www.followme2africa.com/cgi-bin/followme/scripts/publ ic/common/tourview1.pl?Aqui01-DSAF&CPT&2
>
> Thank you
>
> Khabza
> Developer
> http://www.greenitweb.co.za
>
>

--20cf301cc3c220063a04a62094dc--

Re: malformed header from script. Bad header

am 20.06.2011 10:38:42 von Rob Coops

--0016361e8472d4cfc704a620aa5e
Content-Type: text/plain; charset=UTF-8

On Mon, Jun 20, 2011 at 10:32 AM, Khabza Mkhize wrote:

> I am not sure if this problem is cause by print "Content-type: text/html",
> "\n\n";
>
> The main problem I have commented print "Content-type: text/html", "\n\n";
> since is printing line from cookies i Used
>
> On Mon, Jun 20, 2011 at 9:57 AM, Khabza Mkhize
> wrote:
>
> > I am receiving the following error on my error log
> > I thought it was caused by Meta Tag content.
> > The program was working fine for a long time its just few day I got this
> error and now it seem is consistent.
> >
> > [Sun Jun 19 22:42:12 2011] [error] [client 98.126.251.234] malformed
> header from script. Bad header=

: tourview1.pl,
> >
> > this is the program that generate this error
> http://www.followme2africa.com/cgi-bin/followme/scripts/publ ic/common/tourview1.pl?Aqui01-DSAF&CPT&2
> >
> > Thank you
> >
> > Khabza
> > Developer
> > http://www.greenitweb.co.za
> >
> >
>

Hi Khabza,

I fear that following your link just provides the webpage (at least in my
browser it does). I have no idea what your code is doing or if there is an
error being thrown as I cannot see anything besides a normal looking
website.

Would it be possible for you to provide the list with the code that is
throwing the error and how the code needs to be called to generate the error
(does it always throw this error regardless of the variables it is provided
with?)

Regards,

Rob

--0016361e8472d4cfc704a620aa5e--

Re: malformed header from script. Bad header

am 20.06.2011 10:39:23 von Shlomi Fish

Hi Khabza,

On Mon, 20 Jun 2011 09:57:17 +0200
Khabza Mkhize wrote:

> I am receiving the following error on my error log
> I thought it was caused by Meta Tag content.
> The program was working fine for a long time its just few day I got
> this error and now it seem is consistent.
> [Sun Jun 19 22:42:12 2011] [error] [client 98.126.251.234] malformed
> header from script. Bad header=3D

: tourview1.pl,
>=20

Apparently, your script no longer emits the "Content-Type: text/html\n\n" e=
tc.
CGI header with the MIME headers. See that you have «print $cgi->heade=
r(...)»
somewhere there.

> this is the program that generate this error
> http://www.followme2africa.com/cgi-bin/followme/scripts/publ ic/common/tou=
rview1.pl?Aqui01-DSAF&CPT&2
>=20

I cannot see its source - only its output.

Good luck in resolving that but we need more information.

Regards,

Shlomi Fish


--=20
------------------------------------------------------------ -----
Shlomi Fish http://www.shlomifish.org/
UNIX Fortune Cookies - http://www.shlomifish.org/humour/fortunes/

CPAN thrives *because* of the unfettered uploading of shit, not in spite of=
it.
â€=94 Andy Lester

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/