On Thu, Jul 18, 2002 at 12:40:09PM -0700, kellan wrote: > I getting an error: > Can't locate object method "textblock" via package "Template::Directive" > at Parser.yp line 75.
Hmmm.... That looks like a very obscure bug. Almost too obscure. Are you using the COMPILE_EXT and/or COMPILE_DIR options? Or any custom PARSER or GRAMMAR options? Anything else fancy going on that we should know about? :-) The symptoms suggest that the Template::Directive module hasn't been loaded. I recall an issue where this could happen when using compiled templates. It's a side-effect of an optimisation which only loads the parser as and when it's required to parse a template. If you're using compiled templates, then it's quite possible you could run a server and never have to load the parser if all your templates have been pre-compiled by a previous server. But that seems strange because it's the parser which is generating this error message, which implies that it *has* been loaded. Very strange... In the short term, you could try adding "use Template::Directive" to your main script/handler to see if that solves (or sheds more light on) the problem. If not, then furnish us with some more detail on your environment, what you're doing, what kind of handler(s) you're using, any other relevant details, and we'll see if we can't track it down. A
