[horde] Undefined index: dsn in

Rodolfo segleaur at mechanus.org
Sat Jul 12 21:31:48 PDT 2003


Eric Rostetter said something about Re: [horde] Undefined index:  dsn in on
 Fri, 11 Jul 2003 :

 | Quoting Bulba007 <bulba007 at wp.pl>:
 |
 |
 | Sounds like you tried to setup logging to sql, and didn't define the needed
 | parameters for doing so (e.g. dsn).
 |

hmmm, now this has peaked my interest, so i've setup the horde_log table and
configured the latest cvs tree to use sql logging instead of the file based
logging.
i've set up the dsn parameter like the example :
'mysql://hordeuser:password@localhost/horde'

horde being the database name.

if i leave the  $conf['log']['name'] = '/tmp/horde.log'; parameter above that
line (as the conf.php is structure), nothing gets logged, either to the file or
to the sql table. if i comment it out, horde gives me an error saying that i
haven't enabled at least file based logging - even though i've set it to use
the sql driver for error logging.

did i miss something on configuring the dsn?

Cheers,

Rodolfo

--
Bachelors know more about women than married men do. If they didn't, they'd be
married too. - Henry Louis Mencken



More information about the horde mailing list