[horde] Using SQL for loggin in Horde.
Frederic Trudeau
ftrudeau at cam.org
Wed Aug 14 15:43:32 PDT 2002
Is this still possible ?
I've got this schema :
CREATE TABLE log_table (
unixtime int NOT NULL,
ident char(16) NOT NULL,
priority int,
message varchar(200),
primary key (unixtime, ident)
);
And in horde.php :
$conf['log']['params']['dsn'] = 'mysql://hordeuser:hordepass@host/log_table';
- or this -
$conf['log']['dsn'] = 'mysql://hordeuser:hordpass@host/log_table';
- or even this -
$conf['log']['name'] = 'log_table';
$conf['log']['params'] = array();
$conf['log']['params']['hostspec'] = 'host';
$conf['log']['params']['username'] = 'hordeuser';
$conf['log']['params']['password'] = 'hordepass';
$conf['log']['params']['database'] = 'horde';
... gives me this error message :
Warning: Undefined index: dsn in /usr/share/pear/Log/sql.php on line 55
Fatal error: Call to undefined function: query() in /usr/share/pear/Log/sql.php on line 114
And yes, latest version of PEAR is installed.
Any idea guys ?
---------------------------------------------------
Frederic Trudeau
PHP Coder, Colocation, Development
ftrudeau at cam.org
514.529.3000 ext. 246
-------------- next part --------------
Skipped content of type text/html
More information about the horde
mailing list