I'm having a horrific problem that I can't figure out and I believe it is in some way related to TT. 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. 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. 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. Does this sound familiar to anyone? Thanks, Brian Hann
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://www.template-toolkit.org/mailman/listinfo/templates
