[Templates] Exceedingly strange problem

Hann, Brian Brian.Hann@umb.com
Tue, 24 Sep 2002 09:42:16 -0500


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...

Brian

-----Original Message-----
From: Chuck Budzeak [mailto:crbudzeak@yahoo.com]
Sent: Monday, September 23, 2002 4:09 PM
To: templates@template-toolkit.org
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 try.

Try setting INTERPOLATE =3D> 0 in your constructor.

--- "Hann, Brian" <Brian.Hann@umb.com> wrote:
> 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
>=20
> _______________________________________________
> templates mailing list
> templates@template-toolkit.org
>
http://www.template-toolkit.org/mailman/listinfo/templates


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://www.template-toolkit.org/mailman/listinfo/templates