[kronolith] Category problems, undefined index.

Stephen Sherlock stephen.sherlock@btinternet.com
Wed Oct 23 18:51:19 2002


Hey all.

First off, I'm sorry if I've posted this in the wrong group, but I couldn't
find a general horde one and kronolith seems to be the module most affected
by this problem...

Anyway, I installed the latest CVS the other day (and have updated it
several times since). Any module that uses categories now gives me an
undefined index error or three at the top of the page (kronolith and nag
have both shown signs of this "bug"). The category system is set to php...

As far as I can see, the problem is with the category_parents data - the
line in question is referring to $cids[$parID], and the data int he mySQL
table points to an index that doesn't exist in the cids array.

The problem is generated from the import function within
/horde/lib/Category.php

If there is any more info you all need to help me troubleshoot, just ask and
I'll be glad to provide it.

Oh, one other thing - the horde.log doesn't show anything relevant to the
problem, and I pass all the tests on "test.php", except for one error to do
with File.php (within pear) that I've been told on IRC to ignore. Anywaits,
file.php can't have anything to do with categories now, can it? ;)

Thanks in advance,

Stephen Sherlock