[kronolith] CVS problems

eculp at encontacto.net eculp at encontacto.net
Sun Dec 15 05:50:49 PST 2002


Quoting David Sutton <pere@legend.co.uk>:

 | Hello all,
 | 
 |   I've been trying to install the CVS versions of kronolith and horde,
 |   and have run into some issues.
 | 
 |   * On the Horde Summary page, i'm getting:
 |   Notice: Undefined offset: 1 in
 |   /var/www/html/horde/kronolith/lib/Kronolith.php on line 958
 | 
 |   * I get the same above error message when I enter any of the view
 |     pages
 | 
 |   * Attempting to add an event via the Horde Summary page, i get:
 |   Fatal error: Call to undefined function: haspermission() in
 |   /var/www/html/horde/kronolith/lib/Event.php on line 196
 | 
 |   System Details:
 <SNIP>
 |   mysql> describe horde_categories;
 |   +---------------------+---------------+------+-----+---------+-------+
 |   | Field               | Type          | Null | Key | Default | Extra |
 |   +---------------------+---------------+------+-----+---------+-------+
 |   | category_id         | int(11)       |      | PRI | 0       |       |
 |   | group_uid           | varchar(255)  |      | MUL |         |       |
 |   | user_uid            | varchar(255)  |      | MUL |         |       |
 |   | category_name       | varchar(255)  |      | MUL |         |       |
 |   | category_parents    | varchar(255)  |      |     |         |       |
 |   | category_order      | int(11)       |      | MUL | 0       |       |
 |   | category_data       | text          | YES  |     | NULL    |       |
 |   | category_serialized | smallint(6)   |      | MUL | 0       |       |
 |   | category_updated    | timestamp(14) | YES  |     | NULL    |       |
 |   +---------------------+---------------+------+-----+---------+-------+

Hello David,

I suggest you modify your table.  The following works fine in current
and is the same the definition in horde/scripts/db/mysql_create -
as of yesterday, at least ;-)  I went through the same process a little
over a week ago.

+---------------------+---------------+------+-----+---------+-------+
| Field               | Type          | Null | Key | Default | Extra |
+---------------------+---------------+------+-----+---------+-------+
| category_id         | int(11)       |      | PRI | 0       |       |
| group_uid           | varchar(255)  |      | MUL |         |       |
| user_uid            | varchar(255)  |      | MUL |         |       |
| category_name       | varchar(255)  |      | MUL |         |       |
| category_parents    | varchar(255)  |      |     |         |       |
| category_order      | int(11)       | YES  |     | NULL    |       |
| category_data       | text          | YES  |     | NULL    |       |
| category_serialized | smallint(6)   |      | MUL | 0       |       |
| category_updated    | timestamp(14) | YES  |     | NULL    |       |
+---------------------+---------------+------+-----+---------+-------+

good luck,

ed


-------------------------------------------------



More information about the kronolith mailing list