Apache::Reload and CDBI won't play together

[prev] [thread] [next] [Date index for 2004/07/02]

From: Alexander =?iso-8859-1?Q?Gr=E4fe?=
Subject: Apache::Reload and CDBI won't play together
Date: 20:01 on 02 Jul 2004
Hi all,

I've tried to set up Apache::Reload on my development server, so I don't
have to restart apache everytime I modify one of the modules.
Unfortunately, as soon as I modify one of my CDBI modules, I get
Internal Server Errors and the following in my error log:

(Beotechnic::Gebiet being the module I modified)

[Fri Jul  2 21:42:54 2004] Gebiet.pm: knowhow method already exists in Beotechnic::Gebiet
[Fri Jul  2 21:42:54 2004] Gebiet.pm:  at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Relationship/HasMany.pm line 13
[Fri Jul  2 21:42:54 2004] [error] Can't use an undefined value as a HASH reference at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Relationship/HasMany.pm line
51.\nCompilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Apache/Reload.pm line 132.\n

The Apache::Reload config in httpd.conf looks like this:

PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
PerlSetVar ReloadModules "Beotechnic::*"

Has anybody gotten Apache::Reload and CDBI working together?

Regards,
	Alexander Gräfe

Apache::Reload and CDBI won't play together
Alexander =?iso-8859-1?Q?Gr=E4fe?= 20:01 on 02 Jul 2004

Re: Apache::Reload and CDBI won't play together
Perrin Harkins 20:31 on 02 Jul 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52