[Handel] mp1 database connectivity

Christopher H. Laco claco at chrislaco.com
Wed May 3 21:34:41 CEST 2006

> Sure, attached :-)
> Like I say, the problem is ->connection unconditionally being called in
> the BEGIN block in Handel/DBI.pm. If it was obvious to me how to patch
> it so this happens in a condition without hosing your Handel apps, I
> wouldn't be wasting your time like this.
> Todd W.

Not a waste of time at all really. Any MP code in there was just a guess
on my part since I barely use it any more. I run the current site under
FastCGI, and the demo [of course] doesn't have this issue. I'm sure it's
just something I didn't think of about the MP lifecycle, and when
connections get set vs/ read from the httpd.conf...

Just for giggles, what happens if you leave th offending line in
Handel::DBI, and put this in your FundRaiser.pm:



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/handel/attachments/20060503/1d1430d2/attachment.pgp 

More information about the Handel mailing list