[horde] Constraint Violation in horde_prefs

Jan Schneider jan at horde.org
Tue Apr 18 02:19:24 PDT 2006


Zitat von Duane Drake <horde at littleduck.org>:

> I have been running Horde now for about 5 years and after recently
> upgrading via patch to
> Horde 3.1, I have noticed the following issue, mostly around the portal page:
>
> Upon login, and with every refresh of the portal, the following error
> in entered in
> Horde.log:
>
> Apr 13 10:25:47 HORDE [emergency] [horde] DB Error: constraint
> violation: INSERT INTO
> horde_prefs (pref_uid, pref_scope, pref_name, pref_value)
> VALUES('dfreeman', 'kronolith',
> 'display_cals', 'a:1:{i:0;s:8:\"dfreeman\";}') [nativecode=1062 **
> Duplicate entry
> 'dfreeman-krono-display_ca' for key 1] [on line 258 of
> "/home/httpd/horde/lib/Horde/Prefs/sql.php"]

You didn't update the preference tables/indexes.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list