Getting BeerDB to work. was: [Maypole] maypole without mod_perl?]

From: Dave Howorth (dhoworth at mrc-lmb.cam.ac.uk)
Date: Tue Sep 14 2004 - 15:21:23 BST


I wrote:
> Now I'm trying to get BeerDB to work under CGI::Maypole.
> My beer.cgi script copied from the pod is dying with:
> Can't locate object method "untaint_columns" via package
> "BeerDB::Brewery" (perhaps you forgot to load "BeerDB::Brewery"?)

I also tried running it under Maypole::CLI:

$ export MAYPOLE_TEMPLATES=/var/www/beerdb/
$ perl -MMaypole::CLI=BeerDB -e1 http://localhost/beerdb/brewery/frontpage

file error - beerdb/brewery/frontpage: not found at
/usr/local/share/perl/5.6.1/Maypole/View/Base.pm line 69.

I don't understand this message.

First off, line 69 is actually the place where warn was called within an
error subroutine, so I have no idea where this error is originating; not
very helpful.

Secondly, I'm not sure what the location of the file it is complaining
about is (an absolute path would be useful). I don't understand why it's
complaining about lack of a brewery frontpage; there is a custom
frontpage and I thought it should default to that or the factory?

I guess I'm missing something simple.

Thanks, Dave

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT