[horde] Sidebar errors on first login
Josh Trutwin
josh at trutwins.homeip.net
Tue Mar 21 18:32:30 PST 2006
Jan Schneider wrote:
>>> [21-Mar-2006 11:33:49] PHP Warning: in_array(): Wrong datatype for
>>> second argument in /source/web/horde/horde-3.1/kronolith/lib/base.php
>>> on line 134
>> Confirmed.
>
> And fixed in CVS already.
Ok - the Warning is fixed in CVS - looks good - I make that same
mistake with in_array() all the time. :0
The real show stopper though is the PHP Fatal Error in
kronolith/lib/Driver/sql.php:
On line 288 in current CVS (line 291 in the 2.1 release):
$qr = $this->_db->query($q, $values);
This yeilds:
[21-Mar-2006 20:20:22] PHP Fatal error: Call to a member function on
a non-object in
/source/web/horde/horde-3.1/kronolith/lib/Driver/sql.php on line 288
Note, I only pulled new copies of kronolith/lib/base.php and
kronolith/lib/Driver/sql.php from CVS - the rest is Kronolith 2.1
stable, but I don't think that's a problem given the nature of this
error.
When the user logs out and logs back in all is well. If I do:
DELETE FROM horde_datatree WHERE user_uid = 'someuser';
And try to log in again, same error pops up.
Thanks,
Josh
More information about the horde
mailing list