[dev] Notice: Undefined index: 10 in /usr/local/www/data/horde/lib/Category.php on line 495

Edwin Culp eculp@encontacto.net
Sat, 21 Sep 2002 06:08:12 -0700


Quoting Cliff Green <green@UMDNJ.EDU>:

 | Quoting Edwin Culp <eculp@encontacto.net>:
 | 
 | [munch]
 | >  | > Notice: Undefined index: 10 in
 | >  | >/usr/local/www/data/horde/lib/Category.php | >  | > on line 495
 | [munch] 
 | > Sorry, it is on kronolith and the summary page probably because of
 | kronolith.
 | > It seems to be repeated 18 times on every page.
 | 
 | I vote for a problem with $id on that line.  Do you have something defined
 | with
 | a category (# 10) which is no longer defined?

Cliff,

I couldn't see the forest for the trees.  You definitely gave me the key.
I read this last night but was far too tired to test.  #10 was being 
created automatically and corresponded to group_id:horde_shares, user_id:
eculp, category_name:nag and depending on how I initiated the index that
generated the error would change as in the error with #19 that was also nag.  

The only way I have been able to work around the problem is to not enable 
nag.  Disabling NAG allows the calendar to work as before but I have to
completely clear horde_categories in mysql first.  The interesting problem 
is that I was also able to get nag to work by disabling kronolith, clearing
horde_categories before logging in.

It does seem to be an issue with the changes in nag or with the interaction 
of the two with hord_categories.  What really bothers me is that I don't 
understand why no one else is having the problem.  That makes me wonder 
if I'm not at fault somehow.

Thanks again, Cliff.  I can now control it, at least.  With control I should
eventually stumble on to the real problem :-)

ed