From: Martin K. <maj...@gm...> - 2002-09-30 14:15:15
|
Hi guys, A few mothns ago I reported a bug about WebGUI not loading the WebGUI.conf config ops correctly, or better said: not loading these things at all. At first I thought it was a problem with a crappy compiled mod_perl provided with RedHat 7.1. To avoid this I installed Debian 3.0, and all was well. Until now... I just had my second error on this configuration. My apache error log contains the following, which is also shown in my browser window: [Mon Sep 30 17:04:27 2002] [error] [Mon Sep 30 17:04:27 2002] null: Can't connect( HASH(0x8e638b8)), no database driver specified and DBI_DSN env var not set at ../lib/WebGUI/Session.pm line 216 I backtracked this to see that the $session{settings}{dsn}/{dbuser}/{dbpass} vars are empty. I can only figure that the other configops in WebGUI.conf (like logfile) are also not loaded. From my earlier experiences with this form of frustrating distress, I know that Data::Config warned me about empty substitutions, From what I remember they were in the read_source method. So I suspect Data::Config in combination with my mod_perl for this. I've just put the use warnings; prama in Data::Config to get a more extensive report of what's going on in there. The problem is that the error appears to show up at random. At least, I can't reproduce it. The two things I do know are: 1) it only shows up after apache is running for some time 2) when I run WG without mod_perl all works fine (but horribly slow, ofcourse) Probably something goes wrong with mod_perls caching scheme or so. I'm not exactly a mod_perl expert, but some of you undoubtly are. Do you have any clue to what's causing this bug? Martin -- Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen - und tolle Preise absahnen! http://www.onlinestar.de |