cant seem to define a DSN to log errors in table log_table
Frederic Trudeau
ftrudeau at cam.org
Fri Nov 16 14:14:27 PST 2001
Config info ;
$conf['log']['enabled'] = true;
$conf['log']['type'] = 'sql';
$conf['log']['name'] = 'log_table';
$conf['log']['priority'] = LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$cong['log']['params']['dsn'] = 'mysql://hordemgr:xxxxxxx@localhost/horde';
Table structure ;
unixtime int(11) NOT NULL,
ident varchar(16) NOT NULL,
priority int(11),
message varchar(200),
PRIMARY KEY (unixtime, ident)
Error msg ;
Warning: Undefined index: dsn in /usr/local/lib/php/Log/sql.php on line 55
Fatal error: Call to undefined function: query()
in /usr/local/lib/php/Log/sql.php on line 114
Any idea ? Thanks.
--
Frederic Trudeau
[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet -> http://www.cam.org
->
---------------------------------------------------------------------
Service de Courrier en-ligne de CAM Internet: http://courrier.cam.org
CAM Internet Webmail Service: http://webmail.cam.org
More information about the horde
mailing list