[Templates] Templates Cached to Disk

Tom Gioconda achronos@bungie.com
Thu, 14 Mar 2002 11:53:24 -0800


I'm having a problem with some templates on my site returning "invalid
template reference: 1" a lot.  At first, I thought it was rather
randomly happening, perhaps with some external cause.  Upon attempting a
trace, I at least know when it happens, though not why.  Whenever my
calling handler attempts to read a cache file from disk, there is a high
probability that the error will occur.  I haven't quite figured out why
it can't seem tot read the files, but what I thought was odd was that
the cache load was considered a fatal error.  Shouldn't the Template
Toolkit attempt to load from the original source template if its cache
load fails, either in memory or from a disk file?  Or does it, and my
setup is just doing something odd that I haven't pinned down yet?

-Tom