[kronolith] hmm.. Undefined index: calendar

Rene Lund Jensen lundeman@tbkol.dk
Wed, 16 Jan 2002 12:23:14 +0100


You have probably made a syntax error somewhere in the conf.php file.

This file is included in /horde/lib/Registry.php around line 537
Try to remove the @ in front of the line:

include $this->applications[$app]['fileroot'] . '/config/conf.php';

The @ supresses any error messages from the include command.
When removing it you will see any parse error fra php.

René Jensen

----- Original Message -----
From: "Blake Crosby" <me@blakecrosby.com>
To: <kronolith@lists.horde.org>
Sent: Wednesday, January 16, 2002 7:56 AM
Subject: [kronolith] hmm.. Undefined index: calendar


> I get the following error message when trying to go to /horde/kronolith:
>
>
> Warning: Undefined index: calendar in /xxx/horde/kronolith/lib/base.php on
> line 64
>
> Warning: Undefined index: calendar in /xxx/horde/kronolith/lib/base.php on
> line 64
>
> Fatal error: Call to a member function on a non-object in
> /xxx/horde/kronolith/lib/base.php on line 65
>
> Here is what my conf.php looks like...
>
> $conf['calendar']['driver'] = 'sql';
> $conf['calendar']['params'] = array();
> $conf['calendar']['params']['driver'] = 'pgsql';
> $conf['calendar']['params']['phptype'] = 'pgsql';
> $conf['calendar']['params']['hostspec'] = 'localhost';
> $conf['calendar']['params']['username'] = 'horde';
> $conf['calendar']['params']['password'] = '******';
> $conf['calendar']['params']['database'] = 'horde';
> $conf['calendar']['params']['table'] = 'kronolith_events';
>
> (then the default menu and metadata settings)
>
> Any idea what could be wrong?
>
>
> Blake Crosby
> me@blakecrosby.com
> http://www.blakecrosby.com
>
> "It's good to see that you haven't
>   lost your talent for saying something
>   so completely outrageously false
>   it defies any possible retort."
>      - Mike Hodnett
>
>
>
> --
> Kronolith mailing list: http://horde.org/kronolith/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
>
>