Apache-DBI
view release on metacpan or search on metacpan
IF YOU HAVE PROBLEMS:
---------------------
Please read the README and the the module documentation: 'perldoc Apache::AuthDBI',
'perldoc Apache::DBI'.
Please verify your setup: turn on debug output and compare it to traces.txt.
If you have problems with persistent database connections, verify that everything
works correct without using Apache::DBI.
Before sending a bug report it might be useful to look at the debug output.
To enable full debug output set the following variables in startup.pl or in your
perl script:
$Apache::DBI::DEBUG = 2;
$Apache::AuthDBI::DEBUG = 2;
and watch the error_log. Compare the output to the traces in traces.txt.
If this doesn't help, please send an email to <modperl@apache.org> and include
the following information in your bug-report:
- debug output,
- output of perl -V,
- version of ApacheDBI,
- version of DBI,
- used database
A common problem is an error-message that $dbh will not stay shared. A
complete explanation for this behavior is given in the modperl-FAQ. In
short, instead of this:
my $dbh = ...;
subroutine();
sub subroutine {
$dbh->....
}
do this:
my $dbh = ...;
subroutine($dbh);
sub subroutine {
my $dbh = shift;
$dbh->....
}
FURTHER INFORMATION:
--------------------
mod_perl by Doug MacEachern modperl-subscribe@perl.apache.org
http://perl.apache.org/
DBI by Tim Bunce dbi-users-subscribe@perl.org
http://dbi.perl.org/
Apache by Apache Group news:comp.infosystems.www.servers.unix
users-subscribe@httpd.apache.org
http://httpd.apache.org/
---------------------------------------------------------------------------
Edmund Mergl <E.Mergl@bawue.de>
Ask Bjoern Hansen <ask@develooper.com>
Philip M. Gollucci <pgollucci@p6m7g8.com>
---------------------------------------------------------------------------
( run in 1.965 second using v1.01-cache-2.11-cpan-0d23b851a93 )