Problem with DB connection in 0.1-20051021

till klimpong at
Sun Oct 23 01:54:13 CEST 2005


On 10/22/05, Bastian Widmer <bastian.widmer at> wrote:
> Now i'm stuck by this error...
> DB Error in /webmail2/program/include/ (63): DB Error: not found
> Fatal error: Call to undefined method DB_Error::query() in
> /webmail2/program/include/ on line 124

"not found" can mean a table or a field in a table. Probably a typo?
Try to output, "getDebugInfo()" instead of "getMessage()", it's more
verbose. Which means, if your DB result is called "$foo", use: "echo

Regarding the other error, that's probably caused by insufficient
error checking. The error occurred, but instead of exiting (and
throwing an exception), the code goes on to use the result (which is
none, but an error object).


More information about the Dev mailing list