[horde] db configured but horde prefs not saving in DB only in session

DK gruessle at gmail.com
Sun May 21 18:04:31 PDT 2006


Hello,

I have spend many hours on this and can't figure it out.

My prefs don't get saved in the db for some reason.
I have kronolith, horde:group, mnemo, turba data saved in mysql even
the horde_histories get saved but the prefs just don't get saved.
When I delete my session, which also gets saved in the db, all prefs
go back to default.

Can you guess what I am doing wrong here?

Demi

conf.php:
  $conf['sql']['persistent'] = true;
  $conf['sql']['hostspec'] = 'localhost';
  $conf['sql']['username'] = 'script';
  $conf['sql']['password'] = 'xxxx';
  $conf['sql']['socket'] = '/var/run/mysqld/mysqld.sock';
  $conf['sql']['protocol'] = 'unix';
  $conf['sql']['database'] = 'horde';
  $conf['sql']['charset'] = 'iso-8859-1';
  $conf['sql']['splitread'] = false;
  $conf['sql']['phptype'] = 'mysql';
  $conf['prefs']['params']['table'] = 'horde_prefs';
  $conf['prefs']['params']['driverconfig'] = 'horde';
  $conf['prefs']['driver'] = 'sql';

-- 
-- Table structure for table `horde_prefs`
-- 

CREATE TABLE horde_prefs (
  pref_uid varchar(200) NOT NULL default '',
  pref_scope varchar(16) NOT NULL default '',
  pref_name varchar(32) NOT NULL default '',
  pref_value longtext,
  PRIMARY KEY  (pref_uid,pref_scope,pref_name)
) TYPE=InnoDB;


/horde# find . -name README | xargs grep -i \$Revision
./README::Revision:      $Revision: 2.14 $
./gollem/README::Revision:      $Revision: 1.6.2.1 $
./po/README::Revision: $Revision: 1.29 $
./scripts/sql/README::Revision:      $Revision: 1.5 $
./imp/README::Revision:      $Revision: 2.22 $
./kronolith/README::Revision:      $Revision: 1.10 $
./mnemo/README::Revision:      $Revision: 1.8 $
./nag/README::Revision:      $Revision: 1.10 $
./passwd/README::Revision:      $Revision: 1.5 $
./turba/README::Revision:      $Revision: 1.15 $
./ingo/README::Revision:      $Revision: 1.9 $


More information about the horde mailing list