[Tickets #10398] Activesync stopped working with latest pear update (SQL Problem)

bugs at horde.org bugs at horde.org
Mon Aug 1 07:52:29 UTC 2011


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/10398
------------------------------------------------------------------------------
  Ticket           | 10398
  Erstellt Von     | Twilek at gmx.de
  Zusammenfassung  | Activesync stopped working with latest pear update (SQL
                   | Problem)
  Warteschlange    | Synchronization
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


Twilek at gmx.de (2011-08-01 07:52) hat geschrieben:

Since updating via pear today (1.8.11) trying to access the  
Activesyncdevices tab in Config generates

SQLSTATE[42S22]: Column not found: 1054 Unknown column  
'device_policykey' in 'field list'

1. Horde_ActiveSync_State_History->resetAllPolicyKeys()  
/var/www/webmail/admin/activesync.php:50

Details
Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben  
und für Administratoren weiter unten ausgegeben. Benutzer, die keine  
Administratoren sind, bekommen diese Details nicht zu sehen.

Horde_ActiveSync_Exception Object
(
     [details] =>
     [message:protected] => SQLSTATE[42S22]: Column not found: 1054  
Unknown column 'device_policykey' in 'field list'
     [string:Exception:private] =>
     [code:protected] => 42
     [file:protected] =>  
/var/www/webmail/pear/php/Horde/ActiveSync/State/History.php
     [line:protected] => 833
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /var/www/webmail/admin/activesync.php
                     [line] => 50
                     [function] => resetAllPolicyKeys
                     [class] => Horde_ActiveSync_State_History
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

         )

     [previous:Exception:private] => Horde_Db_Exception Object
         (
             [details] =>
             [message:protected] => SQLSTATE[42S22]: Column not found:  
1054 Unknown column 'device_policykey' in 'field list'
             [string:Exception:private] =>
             [code:protected] => 42
             [file:protected] =>  
/var/www/webmail/pear/php/Horde/Db/Adapter/Base.php
             [line:protected] => 556
             [trace:Exception:private] => Array
                 (
                     [0] => Array
                         (
                             [file] =>  
/var/www/webmail/pear/php/Horde/Db/Adapter/Base.php
                             [line] => 604
                             [function] => execute
                             [class] => Horde_Db_Adapter_Base
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => UPDATE  
horde_activesync_device_users SET device_policykey = 0
                                     [1] =>
                                     [2] =>
                                 )

                         )

                     [1] => Array
                         (
                             [file] =>  
/var/www/webmail/pear/php/Horde/ActiveSync/State/History.php
                             [line] => 831
                             [function] => update
                             [class] => Horde_Db_Adapter_Base
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => UPDATE  
horde_activesync_device_users SET device_policykey = 0
                                 )

                         )

                     [2] => Array
                         (
                             [file] => /var/www/webmail/admin/activesync.php
                             [line] => 50
                             [function] => resetAllPolicyKeys
                             [class] => Horde_ActiveSync_State_History
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                 )

             [previous:Exception:private] =>
         )

)


I have purged all activesync data manually from the database without  
success. Config says my database tables are uptodate. What have I  
missed? Activesync worked before the update






More information about the bugs mailing list