[Tickets #9374] Fatal: Duplicate Entry in Rampage Types

bugs at horde.org bugs at horde.org
Mon Nov 8 10:28:19 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9374
------------------------------------------------------------------------------
  Ticket             | 9374
  Created By         | d-fens at 00010111.de
  Summary            | Fatal: Duplicate Entry in Rampage Types
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


d-fens at 00010111.de (2010-11-08 05:28) wrote:

hi,

after a syncml sync i get this when trying to access kronolith


A fatal error has occurred
QUERY FAILED: Duplicate entry 'calendar' for key 2 INSERT INTO  
`rampage_types` (type_name) VALUES ('calendar')

1. include() /var/www/_horde/horde/kronolith/index.php:17
2. require() /var/www/_horde/horde/kronolith/month.php:33
3. Kronolith::getTagger()  
/var/www/_horde/horde/kronolith/templates/panel.inc:41
4. Kronolith_Tagger->__construct()  
/var/www/_horde/horde/kronolith/lib/Kronolith.php:2960
5. Content_Types_Manager->ensureTypes()  
/var/www/_horde/horde/kronolith/lib/Tagger.php:35

Details
The full error message is logged in Horde's log file, and is shown  
below only to administrators. Non-administrative users will not see  
error details.

Content_Exception Object
(
     [_previous:private] =>
     [message:protected] => QUERY FAILED: Duplicate entry 'calendar' for key 2

INSERT INTO `rampage_types` (type_name) VALUES ('calendar')
     [string:private] =>
     [code:protected] => 1062
     [file:protected] => /var/www/_horde/horde/content/lib/Types/Manager.php
     [line:protected] => 82
     [trace:private] => Array
         (
             [0] => Array
                 (
                     [file] => /var/www/_horde/horde/kronolith/lib/Tagger.php
                     [line] => 35
                     [function] => ensureTypes
                     [class] => Content_Types_Manager
                     [type] => ->
                     [args] => Array
                         (
                             [0] => Array
                                 (
                                     [0] => calendar
                                     [1] => event
                                 )

                         )

                 )

             [1] => Array
                 (
                     [file] =>  
/var/www/_horde/horde/kronolith/lib/Kronolith.php
                     [line] => 2960
                     [function] => __construct
                     [class] => Kronolith_Tagger
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [2] => Array
                 (
                     [file] =>  
/var/www/_horde/horde/kronolith/templates/panel.inc
                     [line] => 41
                     [function] => getTagger
                     [class] => Kronolith
                     [type] => ::
                     [args] => Array
                         (
                         )

                 )

             [3] => Array
                 (
                     [file] => /var/www/_horde/horde/kronolith/month.php
                     [line] => 33
                     [args] => Array
                         (
                             [0] =>  
/var/www/_horde/horde/kronolith/templates/panel.inc
                         )

                     [function] => require
                 )

             [4] => Array
                 (
                     [file] => /var/www/_horde/horde/kronolith/index.php
                     [line] => 17
                     [args] => Array
                         (
                             [0] => /var/www/_horde/horde/kronolith/month.php
                         )

                     [function] => include
                 )

         )

)







More information about the bugs mailing list