>return undef unless LibDB::DB->supported($user_dbtype); > >That would explain why it can't call connect() on the object being returned.
Hmm. The actual error I'm getting, though, DOES mention LibDB::DB::MySQL - so LibDB::DB seems to be returning the proper object: Program fragment delivered error ``Can't locate object method "connect" via package "LibDB::DB::MySQL" at [snip]/templates/default/en/variants.html line 31.'' >You should really follow the advice about debugging with -X. It's the >only way to make the problem repeatable, and you will have a hard time >solving it if you can't come up with a way to repeat it. Gotcha. -- Morbus Iff ( i reserve the right to kill you if i get pissed. ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html