[Tickets #11972] importing ldif files from Thunderbird fails
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Jan 17 07:47:56 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11972
------------------------------------------------------------------------------
Ticket | 11972
Created By | jhaar-horde at whanau.org
Summary | importing ldif files from Thunderbird fails
Queue | Turba
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
jhaar-horde at whanau.org (2013-01-17 07:47) wrote:
I'm trying to import my personal contacts into Horde and even if I
edit the ldif file down to one entry, it generates the error at the
bottom.
This is a CentOS6 server...
[root at hostname horde]# rpm -q php php-pear httpd
php-5.3.20-13.el6.art.x86_64
php-pear-1.9.4-4.el6.noarch
httpd-2.2.15-15.el6.centos.1.x86_64
...with horde-5.0.3 installed as as pear install (only a week old). I
have just done a "pear upgrade -a -B -c horde" and that didn't fix the
error - only some ActiveSync changes came down
I have horde logging to a file, and at DEBUG level this event ends with
2013-01-17T07:46:04+00:00 DEBUG: HORDE [turba] PHP ERROR: Argument 1
passed to Horde_Data_Base::__construct() must implement interface
Horde_Data_Storage, array given, called in /html/horde/turba/data.php
on line 191 and defined [pid 6803 on line 75 of
"/usr/share/pear/Horde/Data/Base.php"]
2013-01-17T07:46:04+00:00 DEBUG: HORDE 1.
Horde_Data_Base->__construct() /html/horde/turba/data.php:191
2. Horde_ErrorHandler::errorHandler() /usr/share/pear/Horde/Data/Base.php:75
2013-01-17T07:46:04+00:00 EMERG: HORDE [turba] Missing browser
parameter. [pid 6803 on line 273 of
"/usr/share/pear/Horde/Data/Base.php"]
2013-01-17T07:46:04+00:00 DEBUG: HORDE 1. Turba_Data_Ldif->nextStep()
/html/horde/turba/data.php:213
2. Horde_Data_Base->nextStep() /html/horde/turba/lib/Data/Ldif.php:227
2013-01-17T07:46:04+00:00 DEBUG: HORDE [turba] Max memory usage:
4718592 bytes [pid 6803 on line 543 of
"/usr/share/pear/Horde/Registry.php"]
2013-01-17T07:46:04+00:00 WARN: HORDE [turba] PHP ERROR: Cannot modify
header information - headers already sent [pid 6803 on line 0 of
"Unknown"]
2013-01-17T07:46:04+00:00 DEBUG: HORDE 1. ob_gzhandler()
2. Horde_ErrorHandler::errorHandler()
Thanks, Jason
------------
A fatal error has occurred
Missing browser parameter.
1. Turba_Data_Ldif->nextStep() /html/horde/turba/data.php:213
2. Horde_Data_Base->nextStep() /html/horde/turba/lib/Data/Ldif.php:227
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.
LogicException Object
(
[message:protected] => Missinga browser parameter.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/pear/Horde/Data/Base.php
[line:protected] => 273
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /html/horde/turba/lib/Data/Ldif.php
[line] => 227
[function] => nextStep
[class] => Horde_Data_Base
[type] => ->
[args] => Array
(
[0] => 11
[1] => Array
(
[time_fields] => Array
(
)
[file_types] => Array
(
[csv] => CSV
[tsv] => TSV
[vcard] => vCard
[mulberry] => Mulberry
Address Book
[pine] => Pine Address Book
[ldif] => LDIF Address Book
)
[import_mapping] => Array
(
[Title] => namePrefix
[First Name] => firstname
[Middle Name] => middlenames
[Last Name] => lastname
[Nickname] => nickname
[Suffix] => nameSuffix
[Company] => company
[Department] => department
[Job Title] => title
[Business Street] => workStreet
[Business City] => workCity
[Business State] => workProvince
[Business Postal Code] =>
workPostalCode
[Business Country] => workCountry
[Home Street] => homeStreet
[Home City] => homeCity
[Home State] => homeProvince
[Home Postal Code] =>
homePostalCode
[Home Country] => homeCountry
[Business Fax] => workFax
[Business Phone] => workPhone
[Home Phone] => homePhone
[Mobile Phone] => cellPhone
[Pager] => pager
[Anniversary] => anniversary
[Assistant's Name] => assistant
[Birthday] => birthday
[Business Address PO Box]
=> workPOBox
[Categories] => category
[Children] => children
[E-mail Address] => email
[Home Address PO Box] => homePOBox
[Initials] => initials
[Internet Free Busy] =>
freebusyUrl
[Language] => language
[Notes] => notes
[Profession] => role
[Office Location] => office
[Spouse] => spouse
[Web Page] => website
[e-mail] => email
[homeaddress] => homeAddress
[businessaddress] => workAddress
[homephone] => homePhone
[businessphone] => workPhone
[mobilephone] => cellPhone
[businessfax] => fax
[jobtitle] => title
[internetfreebusy] => freebusyUrl
[Dept] => department
[Work Street Address] =>
workStreet
[Work City] => workCity
[Work State] => workProvince
[Work Zip] => workPostalCode
[Work Country/Region] =>
workCountry
[Home Street Address] =>
homeStreet
[Home Zip] => homePostalCode
[Home Country/Region] =>
homeCountry
[Work Fax] => workFax
[Work Phone 1] => workPhone
[Home Phone 1] => homePhone
[Instant Messaging 1] =>
instantMessenger
[Primary Email] => email
[Fax Number] => fax
[Pager Number] => pager
[Mobile Number] => Mobile Phone
[Home Address] => homeStreet
[Home ZipCode] => homePostalCode
[Work Address] => workStreet
[Work ZipCode] => workPostalCode
[Work Country] => workCountry
[Work Phone] => workPhone
[Organization] => company
[Web Page 1] => website
)
)
)
)
[1] => Array
(
[file] => /html/horde/turba/data.php
[line] => 213
[function] => nextStep
[class] => Turba_Data_Ldif
[type] => ->
[args] => Array
(
[0] => 11
[1] => Array
(
[time_fields] => Array
(
)
[file_types] => Array
(
[csv] => CSV
[tsv] => TSV
[vcard] => vCard
[mulberry] => Mulberry
Address Book
[pine] => Pine Address Book
[ldif] => LDIF Address Book
)
[import_mapping] => Array
(
[Title] => namePrefix
[First Name] => firstname
[Middle Name] => middlenames
[Last Name] => lastname
[Nickname] => nickname
[Suffix] => nameSuffix
[Company] => company
[Department] => department
[Job Title] => title
[Business Street] => workStreet
[Business City] => workCity
[Business State] => workProvince
[Business Postal Code] =>
workPostalCode
[Business Country] => workCountry
[Home Street] => homeStreet
[Home City] => homeCity
[Home State] => homeProvince
[Home Postal Code] =>
homePostalCode
[Home Country] => homeCountry
[Business Fax] => workFax
[Business Phone] => workPhone
[Home Phone] => homePhone
[Mobile Phone] => cellPhone
[Pager] => pager
[Anniversary] => anniversary
[Assistant's Name] => assistant
[Birthday] => birthday
[Business Address PO Box]
=> workPOBox
[Categories] => category
[Children] => children
[E-mail Address] => email
[Home Address PO Box] => homePOBox
[Initials] => initials
[Internet Free Busy] =>
freebusyUrl
[Language] => language
[Notes] => notes
[Profession] => role
[Office Location] => office
[Spouse] => spouse
[Web Page] => website
[e-mail] => email
[homeaddress] => homeAddress
[businessaddress] => workAddress
[homephone] => homePhone
[businessphone] => workPhone
[mobilephone] => cellPhone
[businessfax] => fax
[jobtitle] => title
[internetfreebusy] => freebusyUrl
[Dept] => department
[Work Street Address] =>
workStreet
[Work City] => workCity
[Work State] => workProvince
[Work Zip] => workPostalCode
[Work Country/Region] =>
workCountry
[Home Street Address] =>
homeStreet
[Home Zip] => homePostalCode
[Home Country/Region] =>
homeCountry
[Work Fax] => workFax
[Work Phone 1] => workPhone
[Home Phone 1] => homePhone
[Instant Messaging 1] =>
instantMessenger
[Primary Email] => email
[Fax Number] => fax
[Pager Number] => pager
[Mobile Number] => Mobile Phone
[Home Address] => homeStreet
[Home ZipCode] => homePostalCode
[Work Address] => workStreet
[Work ZipCode] => workPostalCode
[Work Country] => workCountry
[Work Phone] => workPhone
[Organization] => company
[Web Page 1] => website
)
)
)
)
)
[previous:Exception:private] =>
)
More information about the bugs
mailing list