Yes, I have code in there to catch it if processing the template dies, and that works correctly. This one is just not outputting any data.
Brian -----Original Message----- From: Simon Wilcox [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:50 AM To: Hann, Brian Cc: [EMAIL PROTECTED] Subject: Re: [Templates] Exceedingly strange problem On Fri, 20 Sep 2002, Hann, Brian wrote: > 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. I've seen this when the template processing fails and I haven't explicitly caught it (only the once of course ;). Make sure you have something to catch it, from the manual : $tt->process('letters/overdrawn', $vars) || die $tt->error(), "\n"; HTH, Simon. -- "Zaphod old mate, I trust you as far as I could comfortably spit out a rat" _______________________________________________ templates mailing list [EMAIL PROTECTED] http://www.template-toolkit.org/mailman/listinfo/templates
