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'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
* 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
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
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
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
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
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
* 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
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
* 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
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
12 matches
Mail list logo