[turba] ERR: HORDE Unable to load the definition of Horde_Imsp_Auth_Plaintext. [pid 11607 on line 93 of "/var/www/horde/turba/lib/Driver/Imsp.php"]

Jan Schneider jan at horde.org
Mon Aug 15 08:46:02 UTC 2011


Zitat von gimili <gimili17 at gmail.com>:

> I see this error in my log:  "ERR: HORDE [turba] Unable to load the  
> definition of Horde_Imsp_Auth_Plaintext. [pid 11607 on line 93 of  
> "/var/www/horde/turba/lib/Driver/Imsp.php"]"

Are you using IMSP? If not, why did you enable it?

> I searched google and did not find a similar error.  Any tips  
> appreciated.  It doesn't seem to be doing much harm.  Thanks!
>
> From Imsp.php:
>
>         } catch (Horde_Exception $e) {
>             $this->_authenticated = false;
>             throw new Turba_Exception($e);
>         }
>
>
> My turba backends.local.php is pretty basic:
>
> <?php
> /**
>  * A local address book in an SQL database. This implements a private
>  * per-user address book. Sharing of this source with other users may be
>  * accomplished by enabling Horde_Share for this source by setting
>  * 'use_shares' =>  true.
>  *
>  * Be sure to create a turba_objects table in your Horde database from the
>  * schema in turba/scripts/db/turba.sql if you use this source.
>  */
> $cfgSources['localsql'] = array(
>     // ENABLED by default
>     'disabled' =>  false,
>     'title' =>  _("Shared Address Books"),
>     'type' =>  'sql',
>     'params' =>  array(
>         // The default connection details are pulled from the Horde-wide SQL
>         // connection configuration.
>         // To use another DB connection, you must provide configuration
>         // information here - for example,
>         //'sql' =>  array(
>         //    'persistent' =>  false,
>         //    'username' =>  'horde',
>         //    'password' =>  'secret',
>         //    'socket' =>  '/var/run/mysqld/mysqld.sock',
>         //    'protocol' =>  'unix',
>         //    'database' =>  'horde',
>         //    'charset' =>  'utf-8',
>         //    'ssl' =>  false,
>         //    'splitread' =>  false,
>         //    'phptype' =>  'mysql'
>         //),
>         'table' =>  'turba_objects'
>     ),
>     'map' =>  array(
>         '__key' =>  'object_id',
>         '__owner' =>  'owner_id',
>         '__type' =>  'object_type',
>         '__members' =>  'object_members',
>         '__uid' =>  'object_uid',
>         'firstname' =>  'object_firstname',
>         'lastname' =>  'object_lastname',
>         'middlenames' =>  'object_middlenames',
>         'namePrefix' =>  'object_nameprefix',
>         'nameSuffix' =>  'object_namesuffix',
>         'name' =>  array('fields' =>  array('namePrefix', 'firstname',
>                                           'middlenames', 'lastname',
>                                           'nameSuffix'),
>                         'format' =>  '%s %s %s %s %s',
>                         'parse' =>  array(
>                             array('fields' =>  array('firstname',  
> 'middlenames',
>                                                     'lastname'),
>                                   'format' =>  '%s %s %s'),
>                             array('fields' =>  array('firstname',  
> 'lastname'),
>                                   'format' =>  '%s %s'))),
>         // This is a shorter version of a "name" composite field which only
>         // consists of the first name and last name.
>         // 'name' =>  array('fields' =>  array('firstname', 'lastname'),
>         //                 'format' =>  '%s %s'),
>         'alias' =>  'object_alias',
>         'birthday' =>  'object_bday',
>         'photo' =>  'object_photo',
>         'phototype' =>  'object_phototype',
>         'homeStreet' =>  'object_homestreet',
>         'homePOBox' =>  'object_homepob',
>         'homeCity' =>  'object_homecity',
>         'homeProvince' =>  'object_homeprovince',
>         'homePostalCode' =>  'object_homepostalcode',
>         'homeCountry' =>  'object_homecountry',
>         'homeAddress' =>  array('fields' =>  array('homeStreet', 'homeCity',
>                                                  'homeProvince',
>                                                  'homePostalCode'),
>                                'format' =>  "%s \n %s, %s  %s"),
>         'workStreet' =>  'object_workstreet',
>         'workPOBox' =>  'object_workpob',
>         'workCity' =>  'object_workcity',
>         'workProvince' =>  'object_workprovince',
>         'workPostalCode' =>  'object_workpostalcode',
>         'workCountry' =>  'object_workcountry',
>         'workAddress' =>  array('fields' =>  array('workStreet', 'workCity',
>                                                  'workProvince',
>                                                  'workPostalCode'),
>                                'format' =>  "%s \n %s, %s  %s"),
>         'timezone' =>  'object_tz',
>         'email' =>  'object_email',
>         'homePhone' =>  'object_homephone',
>         'workPhone' =>  'object_workphone',
>         'cellPhone' =>  'object_cellphone',
>         'fax' =>  'object_fax',
>         'pager' =>  'object_pager',
>         'title' =>  'object_title',
>         'role' =>  'object_role',
>         'company' =>  'object_company',
>         'logo' =>  'object_logo',
>         'logotype' =>  'object_logotype',
>         'category' =>  'object_category',
>         'notes' =>  'object_notes',
>         'website' =>  'object_url',
>         'freebusyUrl' =>  'object_freebusyurl',
>         'pgpPublicKey' =>  'object_pgppublickey',
>         'smimePublicKey' =>  'object_smimepublickey',
>     ),
>     'tabs' =>  array(
>         _("Personal") =>  array('firstname', 'lastname', 'middlenames',
>                                'namePrefix', 'nameSuffix', 'name', 'alias',
>                                'birthday', 'photo'),
>         _("Location") =>  array('homeStreet', 'homePOBox', 'homeCity',
>                                'homeProvince', 'homePostalCode',  
> 'homeCountry',
>                                'homeAddress', 'workStreet', 'workPOBox',
>                                'workCity', 'workProvince', 'workPostalCode',
>                                'workCountry', 'workAddress', 'timezone'),
>         _("Communications") =>  array('email', 'homePhone', 'workPhone',
>                                      'cellPhone', 'fax', 'pager'),
>         _("Organization") =>  array('title', 'role', 'company', 'logo'),
>         _("Other") =>  array('category', 'notes', 'website', 'freebusyUrl',
>                             'pgpPublicKey', 'smimePublicKey'),
>     ),
>     'search' =>  array(
>         'name',
>         'email'
>     ),
>     'strict' =>  array(
>         'object_id',
>         'owner_id',
>         'object_type',
>     ),
>     'export' =>  true,
>     'browse' =>  true,
>     'use_shares' =>  true,
>     'list_name_field' =>  'lastname',
>     'alternative_name' =>  'company',
> );
>
>
> /**
>  * An address book based on message recipients. This will always be  
> private and
>  * read-only. The address book content is provided by the
>  * contacts/favouriteRecipients API method which should be implemented by a
>  * mail client that collects the most regular message recipients, like IMP
>  * 4.2.
>  */
> $cfgSources['favourites'] = array(
>     // ENABLED by default
>     'disabled' =>  false,
>     'title' =>  _("Favourite Recipients"),
>     'type' =>  'favourites',
>     'params' =>  array(
>         'limit' =>  10
>     ),
>     'map' =>  array(
>         '__key' =>  'email',
>         'name' =>  'email',
>         'email' =>  'email'
>     ),
>     'search' =>  array(
>         'name',
>         'email'
>     ),
>     'strict' =>  array(
>         'id',
>     ),
>     'export' =>  true,
>     'browse' =>  true,
> );
>
>
>
> -- 
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org


Jan.

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



More information about the turba mailing list