Problem with DB connection in 0.1-20051021

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


Hello,

On 10/22/05, Bastian Widmer <bastian.widmer at gmail.com> wrote:
> Now i'm stuck by this error...
>
> DB Error in /webmail2/program/include/rcube_db.inc (63): DB Error: not found
> Fatal error: Call to undefined method DB_Error::query() in
> /webmail2/program/include/rcube_db.inc 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
$foo->getDebugInfo();".

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).

Till




More information about the Dev mailing list