[Maypole] "Can't locate...db_Main" errors

Jesse Sheidlower jester@panix.com
Thu, 3 Jun 2004 21:33:05 -0400


On Thu, Jun 03, 2004 at 04:57:24PM -0400, Jesse Sheidlower wrote:
> 
> This is a little odd. When trying to hit a particular table,
> BookDB::Image, which has_a BookDB::Image_Category, I'm dying
> with a "Can't locate object method "db_Main" via package
> "BookDB::Image_Category" at...Ima/DBI.pm line 386" error.

Aargh. Of course, like all problems, it was intensely stupid:

I had renamed what had originally been "Category" to "Image_Category",
on the grounds like I might have other groups of categories, but
then neglected to change the database table name.

Oops.

Jesse Sheidlower