Re: 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 - 16:16:35 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've found the cause. It's due to lack of permission for the www-data
user on the database. Either Class::DBI::Loader is failing silently or
Maypole is suppressing the error. Since I don't know which, I'll bug
report it against Maypole since it ought to fix the behaviour even if
Class::DBI::Loader doesn't.

Cheers, Dave

PS CGI::Maypole should have CGI::Simple as a dependency

_______________________________________________
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