[nag] Required 'phptype' not specified - Fatal error (Help)
Eric Rostetter
eric.rostetter@physics.utexas.edu
Fri Nov 1 23:50:46 2002
Quoting Lars Kjeldsen <lk@lk-data.com>:
> Every time i try to open NAG (Todo) i get this message:
>
> ---------------Message dump begin ---------------------
> A fatal error has occurred:
>
> Required 'phptype' not specified in tasks configuration.
>
> [line 66 of /home/httpd/html/horde/nag/lib/Driver/sql.php]
>
> Details have been logged for the administrator.
> ---------------Message dump end ---------------------
>
> Can any one help me with that.
You set your storage type to sql, but didn't provide your sql setup.
In horde/nag/config/conf.php you need to add a section like:
$conf['storage']['driver'] = 'sql';
$conf['storage']['params'] = array();
$conf['storage']['params']['phptype'] = 'pgsql'; /// your database type
$conf['storage']['params']['protocol'] = 'tcp';
$conf['storage']['params']['hostspec'] = 'localhost';
$conf['storage']['params']['username'] = 'horde';
$conf['storage']['params']['password'] = '******';
$conf['storage']['params']['database'] = 'horde';
$conf['storage']['params']['table'] = 'nag_tasks';
You may need to change some values (maybe mysql instead of pgsql, unix instead
of tcp, set a real password, etc).
> Best regards
> Lars Kjeldsen
>
> Med venlig hilsen
> LK-Data
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!