Masetti Marco wrote:
Hi,
am running mod_perl 2 applications under this configuration:
Apache/2.0.47 (Unix) mod_perl/1.99_09 Perl/v5.8.0.
DBI version 1.37
Apache::DBI version 0.92

Everything runs smoothly apart the DBI connections handled with Apache::DBI.
I'm actually using Extropia ADT toolkit, so basically I'm storing under Apache::DBI not 'vanilla' DBI class objects but Extropia::Core::DataSource::DBI class objects (which directly extend DBI class).
The error I catch is:
[error] undef error - Undefined subroutine &Apache::DBI::db::quote called at ..../ADT/Modules/Extropia/Core/DataSource/DBI.pm


Actually the Extropia::Core::DataSource::DBI module doesn't implement the quote method (being implemented in the base DBI class).

The problem seems related with the caching/restoring mechanism, being almost the same using other mechanisms (Storable and Cache::Cache). Using such mechanisms the object I get back is truly blessed to the right class (Extropia::Core::DataSource::DBI) but still cannot anymore access base class not overloaded methods.

No problems using base vanilla DBI objects.

What's wrong ?

I doubt it's an Apache::DBI problem. Most likely something is borked in the sub-classing implementation, so you probably want to contact the author of the subclass.



__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to