[Templates] Exceedingly strange problem

2002-09-20 Thread Hann, Brian
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

Re: [Templates] Exceedingly strange problem

2002-09-20 Thread Stathy G. Touloumis
>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. Are you using Netscape to view the pages? Try using an HTML validator if you are . . . ___ templates

Re: [Templates] Exceedingly strange problem

2002-09-23 Thread darren chamberlain
* Hann, Brian <[EMAIL PROTECTED]> [2002-09-20 16:50]: > 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. It sounds like the template is outputting somethin

RE: [Templates] Exceedingly strange problem

2002-09-23 Thread Hann, Brian
M To: [EMAIL PROTECTED] Subject: Re: [Templates] Exceedingly strange problem * Hann, Brian <[EMAIL PROTECTED]> [2002-09-20 16:50]: > 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 sc

Re: [Templates] Exceedingly strange problem

2002-09-23 Thread Chuck Budzeak
I ran into something like that a long time ago with the interpolate bug. That's what it sounds like you have going on there. I thought that had been fixed up to this point, but it's worth a try. Try setting INTERPOLATE => 0 in your constructor. --- "Hann, Brian" <[EMAIL PROTECTED]> wrote: > I'm

Re: [Templates] Exceedingly strange problem

2002-09-24 Thread Simon Wilcox
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

RE: [Templates] Exceedingly strange problem

2002-09-24 Thread Hann, Brian
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

RE: [Templates] Exceedingly strange problem

2002-09-24 Thread Hann, Brian
ember 23, 2002 4:09 PM To: [EMAIL PROTECTED] Subject: Re: [Templates] Exceedingly strange problem I ran into something like that a long time ago with the interpolate bug. That's what it sounds like you have going on there. I thought that had been fixed up to this point, but it's worth a tr

Re: [Templates] Exceedingly strange problem

2002-09-24 Thread darren chamberlain
* Hann, Brian <[EMAIL PROTECTED]> [2002-09-24 10:42]: > Dang, I'm using interpolate to include the specified template into a > master template, kind of bypassing the need for headers and footers. > I suppose I could explore other ways to do it... Is this something you can use a WRAPPER for? (dar

RE: [Templates] Exceedingly strange problem

2002-09-24 Thread Hann, Brian
y to do this without variable interpolation, I'd like to try it. Thanks, Brian -Original Message- From: darren chamberlain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 10:26 AM To: [EMAIL PROTECTED] Subject: Re: [Templates] Exceedingly strange problem * Hann, Brian &l

Re: [Templates] Exceedingly strange problem

2002-09-24 Thread darren chamberlain
* Hann, Brian <[EMAIL PROTECTED]> [2002-09-24 11:30]: > I'm not sure how you mean, here's what I'm doing: > > I'm receiving the name of the template and then passing it to the > process method as the variable tmpl. I'm then calling > > [% PROCESS $tmpl %] > > in the middle of the master templa

RE: [Templates] Exceedingly strange problem

2002-09-24 Thread Hann, Brian
To: [EMAIL PROTECTED] Subject: Re: [Templates] Exceedingly strange problem * Hann, Brian <[EMAIL PROTECTED]> [2002-09-24 11:30]: > I'm not sure how you mean, here's what I'm doing: > > I'm receiving the name of the template and then passing it to the > pr