[Maypole] getting started woes..

Jesse Sheidlower jester@panix.com
Wed, 9 Jun 2004 17:05:22 -0400


On Wed, Jun 09, 2004 at 03:46:47PM -0500, michael wrote:
> I'm trying to get a simple Maypole app up and running and could use some help.
> 
> I get this in the error log...
> 
> Can't locate object method "set_db" via package "AHRPetition::Petition" at
> /usr/lib/perl5/site_perl/5.8.3/Class/DBI/Loader/mysql.pm line 23
> 
> now I read the wiki and it said it could be cause I don't have the appropriate
> Class::DBI::* modules installed.
> 
> but an ls -R on the lib directory for class DBI shows all of these...
> 
>  ls -R Class/DBI
> Class/DBI:
> AbstractSearch.pm  ColumnGrouper.pm  FromCGI.pm   Loader     Pager.pm 
> Query.pm      Relationship.pm
> AsForm.pm          Column.pm         Iterator.pm  Loader.pm  Plugin   
> Relationship

You do _not_ seem to have Class::DBI::mysql installed (you have
Class::DBI::Loader::mysql, which is different).

Install Class::DBI::mysql and you should be good to go, or at least
you should be past _this_ error ;-)

Best,

Jesse Sheidlower