[dev] Debug mode, some BAD errors found.

Marc Jauvin marc at register4less.com
Wed Sep 3 13:01:40 PDT 2003


Wooooooo, this one is REALLY wierd; When I set the $conf['log']['priority'] flag
to PEAR_LOG_DEBUG , I get errors that look like pointer corruption... when I
set it to PEAR_LOG_NOTICE, none of these corruptions appear...

Am I the only one to experience problems in PEAR_LOG_NOTICE mode?


Marc Jauvin <marc at register4less.com> wrote:

> Yeah, I'm looking into the problem, but I can't seem to find an error in the
> code yet... still looking.
>
> Thanks.
>
> Jan Schneider <jan at horde.org> wrote:
>
> > 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
> >
> > --
> > Horde developers mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> >
> >
>
>
> --
> Marc Jauvin
> http://register4less.com
> 450-441-5458
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
>


--
Marc Jauvin
http://register4less.com
450-441-5458


More information about the dev mailing list