[Templates] Exceedingly strange problem
Hann, Brian
Brian.Hann@umb.com
Fri, 20 Sep 2002 15:50:23 -0500
I'm having a horrific problem that I can't figure out and I believe it =
is in some way related to TT.
=20
I'm running a CGI app that uses TT to display pages. No mod_perl or =
anything fancy, just straight up perl code. It's running under Apache =
1.2.26 on FreeBSD.
=20
For some reason, in the template I am trying to display, sometimes I get =
nothing, no header or text so I get the 500 error and the "premature end =
of script headers" line in my error log.
Now if I delete a certain number of lines from the end of my file, it =
displays. The last lines are just HTML, no directives. The VERY =
strange thing is, the number of lines I have to remove to get
it to display is not constant. I can remove the last 10 and it will =
always display, if I remove the last 9 sometimes it will display, =
sometimes it won't. I thought maybe it was something weird with a =
couple of the apache children so I bounced it and the error persisted. =
I rebooted my whole box and the error persisted.
=20
I'm beginning to thing it's a problem with something strange in the rest =
of the file because I've never had this error with any other templates.
=20
Does this sound familiar to anyone?
=20
Thanks,
=20
Brian Hann
=20