[kronolith] Category problems, undefined index.

Kevin M. Myer kevin_myer@iu13.org
Thu Oct 24 21:42:37 2002


> ----- Message from chuck@horde.org ---------
>     Date: Thu, 24 Oct 2002 13:23:48 -0400
>     From: Chuck Hagenbuch <chuck@horde.org>
> Reply-To: Chuck Hagenbuch <chuck@horde.org>
>  Subject: Re: [kronolith] Category problems, undefined index.
>       To: kronolith@lists.horde.org
> 
> Quoting "Kevin M. Myer" <kevin_myer@iu13.org>:
> 
> > I am seeing the same thing here.  My logs show the following everytime I
> > access kronolith, nag or mnemo:
> >
> > [23-Oct-2002 12:46:37] PHP Notice:  Undefined index:  3708 in
> > /horde/lib/Category.php on line 468
> 
> Looks like your SQL data is invalid somehow. If you back up your data and
> start with an empty table, do the problems occur again?


I dropped both horde_categories and kronolith_events and recreated them from the
sql scripts.  I had previously exported my calendar to icalendar format so I
imported that and I let horde_categories repopulate with whatever it wanted to.
 I'm still seeing the Undefined index messages.

Looking through the logs and the horde_categories and correlating what the logs
say are Undefined indexes and what horde_categories lists for those same index
numbers makes my head swim :)  But it looks like in all cases, the category_name
is "shares" and the category_parents is :1 (which I'm assuming is entry 1).

Entry 1 contains:
1,'horde.shares','kevin_myer@iu13.org','kronolith','','a:2:{s:11:\"share_owner\";s:19:\"kevin_myer@iu13.org\";s:10:\"share_name\";s:12:\"My
Task List\";}',6,20021024154602

There also appears to be 2 or 3 other entries which are identical except for the
date and id number.

Since I can't guarantee that it isn't a data issue, I think I'll pull a fresh
CVS checkout of HEAD and install on a different box and see if its still present
there.

I'll also look over the developer docs.  I'm not even sure what the Categories
do - I just know that without them, some stuff doesn't work :)

Kevin

-- 
Kevin M. Myer
Systems Administrator
Lancaster-Lebanon Intermediate Unit 13
(717) 560-6140