On 10/9/06 2:57 PM, Jonathan Vanasco wrote:
> [Mon Oct 09 14:51:04 2006] [error] [client 127.0.0.1] DBI connect
> ('dbname=NULL;host=localhost','NULL',...) failed: FATAL:  database
> "NULL" does not exist\n at /Library/Perl/5.8.6/Rose/DB.pm line 685
> \nCompilation failed in require at /Library/Perl/5.8.6/darwin-thread-
> multi-2level/Apache2/Reload.pm line 160.\n
> 
> so reload (?) or rose is causing this non-functional rose::db class
> to try and connect-- which it never can.
> 
> before doing a dirty hack ( tossing in a sqlite or something )- i was
> hoping someone could point me to where I can better track this down
> to catch it.

How about throwing a conditional call to Carp::confess() inside
Rose::DB::init_dbh() (which is what line 685 is) to see what piece of code
is trying to connect to the database when Apache2::Reload tries to reload
something.

-John



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to