Skip to main content.
home | support | download

Back to List Archive

swish.cgi with templates

From: W. Addy Majewski <wam(at)not-real.dieselnet.com>
Date: Fri Jan 11 2002 - 04:22:28 GMT
I'm trying to configure swish (swish.cgi,v 1.23) to search in two (and 
more down the road)  indexes. It works fine when using the 
TemplateDefault. Is it possibile to configure it with one of the 
template file options?

I tried both with little success. When using the TemplateToolkit, the 
script appears to be looking for Template.pm which is not there - I get 
the following error messages:

Can't locate Template.pm in @INC (@INC contains: 
/usr/local/www/sharedapps/swish1/modules /usr/libdata/perl/5.00503/mach 
/usr/libdata/perl/5.00503 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 .) at 
/usr/local/www/sharedapps/swish1/modules/TemplateToolkit.pm line 9.
BEGIN failed--compilation aborted at 
/usr/local/www/sharedapps/swish1/modules/TemplateToolkit.pm line 9.

Is it a glitch in the script or a configuration issue?

Any help is appreciated.

-- 

W. Addy Majewski
Ecopoint Inc.
P.O. Box 51074, Bramalea, ON  L6T 5M2, Canada
(905) 458-8562, fax (905) 458-0403
http://www.dieselnet.com
Received on Fri Jan 11 04:23:53 2002