[dev] Debug mode, some BAD errors found.

Jan Schneider jan at horde.org
Wed Sep 3 12:11:30 PDT 2003


Zitat von Marc Jauvin <marc at register4less.com>:

> While trying the code in DEBUG mode (even though it does not render a
> page, the
> log file does contains the debug statements), I found this (output
> truncated):
>
>
> -----------------------
> Sep 03 14:41:54 HORDE [debug] [turba] SQL Query by
> Horde_SQL::updateBlob():
> query = "UPDATE session_lastmodified SET session_lastmodified = ?,
> session_data
> = ? WHERE session_id = ?" [on line 239 of
> "/home/httpd/htdocs/mail3/lib/SQL.php"]
>
> Sep 03 14:41:55 HORDE [error] [turba] DB Error: no such table: UPDATE
> session_lastmodified SET session_lastmodified =
> -----------------------
>
> I don't know how, but it seems the table gets "swaped" by a field name in
> the
> UPDATE query...

Looks like you use a session handler that is broken. A patch to fix that one
is appreciated.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list