[kronolith] error with kronolith-0.0.3
Jan Schneider
jan@horde.org
Thu, 3 Jan 2002 17:54:34 +0100
Zitat von Joshua E Warchol <jwarchol@dsl.net>:
> On Thu, Jan 03, 2002 at 05:40:39PM +0100, Jan Schneider wrote:
> > > Warning: Undefined index: table in
> > > /var/httpd/html/inboxdslnet/horde/kronolith/lib/Driver/sql.php on
> line
> > > 125
> > > object(db_error)(7) { ["error_message_prefix"]=> string(0) ""
> ["mode"]=>
> > > int(1) ["level"]=> int(1024) ["code"]=> int(-18) ["message"]=>
> string(23)
> > > "DB Error: no such table" ["userinfo"]=> string(362) "SELECT
> DISTINCT
> > > e.event_id, e.event_recurtype FROM e WHERE e.calendar_id =
> > > 'josh%runlevel7.net' AND ((e.event_start < '2002-02-01 00:00:00.000'
> AND
> > > e.event_end > '2002-01-01 00:00:00.000') OR (e.event_recurenddate
> >=
> > > '2002-01-01 00:00:00.000' AND e.event_start <= '2002-02-01
> 00:00:00.000'
> > > AND e.event_recurtype != 0)) [nativecode=Table 'horde.e' doesn't
> exist]"
> > > ["callback"]=> NULL }
> > >
> > > What the heck is "horde.e"?
> >
> > There's something broken in you driver configuration in conf.php. Can
> you
> > post the driver secion here?
>
> $conf['calendar']['driver'] = 'sql';
> $conf['calendar']['params'] = array();
> $conf['calendar']['params']['phptype'] = 'mysql';
> $conf['calendar']['params']['hostspec'] = '******';
> $conf['calendar']['params']['username'] = 'hordemgr';
> $conf['calendar']['params']['password'] = '******';
> $conf['calendar']['params']['database'] = 'horde';
>
> The hostspec and password work great in imp and turba (3.0 and 1.0). In
> kronolith-0.0.2 this was all I needed. It appears to need a table to
> work
> with.
Correct. Add this:
$conf['calendar']['params']['table'] = 'kronolith_events';
to the configuration.
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::