[Tickets #3711] Fatal PhP Error on first login

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Mar 29 20:47:08 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3711
-----------------------------------------------------------------------
 Ticket             | 3711
 Updated By         | dinn at blend.twistedpair.ca
 Summary            | Fatal PhP Error on first login
 Queue              | Kronolith
 Version            | 2.1
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


dinn at blend.twistedpair.ca (2006-03-29 20:47) wrote:

I'm getting the same error - I'm running code from the tarballs on the web
site. I like my blood too much to go CVS. :-)

it appears to be caused by a user logging in without any entries in the
horde_datatree table.

If I wipe out everything about a user from horde_datree:

mysql> delete from horde_datatree where user_uid = "dinn at moose.to";

then when I next log in as that user I get the same error as well in
kronolith/lib/base.php line 134, in the in_array function.
            if (!in_array($GLOBALS['display_calendars'], Auth::getAuth()))
{
                $GLOBALS['display_calendars'][] = Auth::getAuth();
            }

A print_r of $GLOBALS['display_calendars'] shows only one entry - [0] =>
"".

I'm running Apache 1.3.34, php 51.2 - I can give someone access to the
machine in question if they need to be able to reproduce things easily.






More information about the bugs mailing list