[imp] Preferences not working with updated PEAR

Giovanni Meneghetti gmeneghetti@infvic.it
Tue, 11 Sep 2001 13:01:52 +0200


The prob has been fixed. The error was in privileges settings on mysql. I
followed instructions found in INSTALL,  but
script in horde/scripts/db/mysql_create.sql didn't set privileges for my user.
Now it's working. PHP Version 4.0.8-dev didn't cause problems.

Thanks
Giovanni


Jan Schneider wrote:

> Zitat von Giovanni Meneghetti <gmeneghetti@infvic.it>:
>
> > I've done the "make install" on pear directory.
> >
> > In horde/config/horde.php:
> > $conf['auth']['driver'] = 'imap';
> > $conf['auth']['params'] = array();
> > $conf['auth']['params']['server'] = 'server.domain.com';
> > $conf['auth']['params']['port'] = '143';
> > $conf['auth']['params']['protocol'] = 'imap';
>
> You don't need this if you have the auth/login settings in registry.php as
> listed below.
>
> > $conf['prefs']['driver'] = 'sql';
> > $conf['prefs']['params'] = array();
> > $conf['prefs']['params']['phptype'] = 'mysql';
> > $conf['prefs']['params']['hostspec'] = 'localhost';
> > $conf['prefs']['params']['username'] = 'hordemgr';
> > $conf['prefs']['params']['password'] = 'XXX';
> > $conf['prefs']['params']['database'] = 'horde';
> > $conf['prefs']['params']['table'] = 'horde_prefs';
> >
> > ----
> > In horde/config/registry.php
> > $this->registry['auth']['login'] = 'imp';
> > $this->registry['auth']['logout'] = 'imp';
> >
> > IMP 2.3.7-cvs
> > PHP Version 4.0.8-dev
>
> We already have a 4.0.8 tree? Perhaps you should try the latest 4.0.7 branch
> that should be php_4_0_7RC2. It might be something is broken in latest HEAD
> tree. And you can leave pear as it is with this release.
>
> > Linux 2.4.3-mdk
> >
> > table horde_users has fields : user_id and user_pass.
> > table horde_prefs has fields : pref_uid, pref_scope, pref_name,
> > pref_value.
>
> You don't need the horde_users table with you auth/login setup.
>
> > Does anyone have an idea what the problem is?
>
> Everything looks fine with your setup (besides the php 4.0.8 stuff). Can you
> look at you db tables are there any prefs stored?