Skip to main content.
home | support | download

Back to List Archive

Re: Formatting HTML Output with TemplateDefault

From: Michael Peters <mpeters(at)>
Date: Thu Jun 23 2005 - 23:57:55 GMT
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 as and 
> changed 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] 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/ 
> 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
Plus Three, LP
Received on Thu Jun 23 16:57:59 2005