[kronolith] CVS problems

David Sutton pere at legend.co.uk
Sun Dec 15 00:08:07 PST 2002


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:

  From conf.php:
  $conf['calendar']['driver'] = 'sql';
  $conf['calendar']['params']['phptype'] = 'mysql';
  $conf['calendar']['params']['hostspec'] = 'localhost';
  $conf['calendar']['params']['username'] = 'horde';
  $conf['calendar']['params']['password'] = '******'; #Changed 
  $conf['calendar']['params']['database'] = 'horde';
  $conf['calendar']['params']['table'] = 'kronolith_events';
  $conf['metadata']['keywords'] = true;
  $conf['menu']['import_export'] = true;
  $conf['menu']['print'] = true;
  $conf['menu']['apps'] = array('turba', 'hermes', 'logout');
 
  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    |       |
  +---------------------+---------------+------+-----+---------+-------+

  mysql> describe kronolith_events;
  +---------------------+--------------+------+-----+---------+-------+
  | Field               | Type         | Null | Key | Default | Extra |
  +---------------------+--------------+------+-----+---------+-------+
  | event_id            | bigint(20)   |      | PRI | 0       |       |
  | calendar_id         | varchar(255) |      | MUL |         |       |
  | event_description   | text         | YES  |     | NULL    |       |
  | event_location      | text         | YES  |     | NULL    |       |
  | event_keywords      | text         | YES  |     | NULL    |       |
  | event_exceptions    | text         | YES  |     | NULL    |       |
  | event_title         | varchar(80)  | YES  |     | NULL    |       |
  | event_category      | varchar(80)  | YES  |     | NULL    |       |
  | event_recurtype     | varchar(11)  | YES  |     | 0       |       |
  | event_recurinterval | varchar(11)  | YES  |     | NULL    |       |
  | event_recurdays     | varchar(11)  | YES  |     | NULL    |       |
  | event_recurenddate  | datetime     | YES  |     | NULL    |       |
  | event_start         | datetime     | YES  |     | NULL    |       |
  | event_end           | datetime     | YES  |     | NULL    |       |
  | event_alarm         | int(11)      | YES  |     | 0       |       |
  | event_modified      | int(11)      |      |     | 0       |       |
  +---------------------+--------------+------+-----+---------+-------+
 
  Anything else you might need?

Regards,

  David

-- 
David Sutton
Email: pere@legend.co.uk
Jabber: peregrine@legend.net.uk


More information about the kronolith mailing list