SV: [nag] Required 'phptype' not specified - Fatal error (Help)
Lars Kjeldsen
lk@lk-data.com
Sat Nov 2 00:45:14 2002
HI Eric.
I dit what you told me, but now i got a new error.
---------------Message dump begin ---------------------
A fatal error has occurred:
DB Error: connect failed
[line 88 of /home/httpd/html/horde/nag/lib/Driver/sql.php]
Details have been logged for the administrator.
---------------Message dump end ---------------------
I'm new with Sql, the password i choose is the same as ROOT,
Any new advice.?
Best regard
Lars Kjeldsen
-----Oprindelig meddelelse-----
Fra: Eric Rostetter [mailto:eric.rostetter@physics.utexas.edu]
Sendt: 2. november 2002 00:51
Til: Lars Kjeldsen
Cc: Nag_at_horde.org
Emne: Re: [nag] Required 'phptype' not specified - Fatal error (Help)
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!
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31-10-2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31-10-2002