Re: Required 'phptype' not specified - Fatal error (Help)

Eric Rostetter <[email protected]>
Newsgroups gmane.comp.horde.nag
Message-ID <[email protected]>
Quoting Lars Kjeldsen <[email protected]>:

> 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!

-- 
Nag mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.