in reply to ct_cmd_alloc failed
I would say you're referencing dbh incorrectly somewhere in your code. Setting the connection as a global but then passing around references to the global while also sometimes using the global is a recipe for disaster.
Update: also ... what does $app->disconnect($$dbh) do? Does it do a dbh disconnect as well? That could be a problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ct_cmd_alloc failed
by mnlight (Scribe) on Aug 10, 2007 at 16:17 UTC |