andrew gunter wrote:
> hello,
>
> sorry if this is a bit simple, but can't seem to get head around it. i have
> made a copy of the standard TemplateDefault.pm as AGTemplateDefault.pm and
> changed swish.pl to look for that instead so that i can reconfigure the
> output and include other page elements. it loads the little bit of html that
> i'm outputting, but nothing else and i get the following error in my web
> error log:
>
> [Fri Jun 24 07:56:55 2005] [error] [client 61.88.171.38] Can't locate object
> met
> hod "show_template" via package "SWISH::AGTemplateDefault" (perhaps you
> forgot t
> o load "SWISH::AGTemplateDefault"?) at /var/www/dongles/cgi-bin/swish.pl
> line 80
> 9.
Are you a perl programmer? You can't just rename the file if it has a
different package name. Open it up and make sure the file has the line:
package SWISH::AGTemplateDefault;
somewhere near the top (before any other code).
--
Michael Peters
Developer
Plus Three, LP
Received on Thu Jun 23 16:57:59 2005