On Tue, Mar 11, 2003 at 01:04:28AM +0000, Paul Makepeace wrote:
> Hi, I've just started seeing the following errors in my logs,
> 
> [Mon Mar 10 08:27:59 2003] [error] Can't locate object method "type" via package 
> "Template::Exception at /usr/share/perl/5.6.1/CGI/Carp.pm line 301.
> " (perhaps you forgot to load "Template::Exception at 
> /usr/share/perl/5.6.1/CGI/Carp.pm line 301.
> "?) at [my Handler]

This error message is tricky. What's happened is that $template->error()
is actually returning the string,

"Template::Exception at /usr/share/perl/5.6.1/CGI/Carp.pm line 301.\n"

Surely this is a bug?

Presumably somewhere else a C<use Carp> has interfered with something
and now I have to track down where and remove it? Any pointers or
suggestions I'd really appreciate as this is making a whole raft of
sites randomly fail.

Cheers,
Paul

-- 
Paul Makepeace ....................................... http://paulm.com/

"What is a dog doing in my kitchen? Any possible variation of the basic
 theme."
   -- http://paulm.com/toys/surrealism/

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to