<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>LDIF import fail</title> 
  <pubDate>Fri, 10 Apr 2026 03:14:11 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8795</link> 
  <atom:link rel="self" type="application/rss+xml" title="LDIF import fail" href="https://bugs.horde.org/ticket/8795/rss" /> 
  <description>LDIF import fail</description> 
 
   
   
  <item> 
   <title>With new 2.3.3 release the import of LDIF contacts exported </title> 
   <description>With new 2.3.3 release the import of LDIF contacts exported by turba fail with the following message in the logifle:
Dec 22 10:29:34 h1397077 apache2: PHP Fatal error:  Cannot use assign-op operators with overloaded objects nor string offsets in /var/www/horde/turba/lib/Data/ldif.php on line 257
Dec 22 10:30:08 h1397077 HORDE[25975]: PHP Fatal error:  Cannot use assign-op operators with overloaded objects nor string offsets in /var/www/horde/turba/lib/Data/ldif.php on line 257</description> 
   <pubDate>Tue, 22 Dec 2009 09:38:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t57305</link> 
  </item> 
   
  <item> 
   <title>What are the values of $values[&#039;mozillaHomeLocalityName&#039;] an</title> 
   <description>What are the values of $values[&#039;mozillaHomeLocalityName&#039;] and $values[&#039;mozillaHomeState&#039;] on line 257?

Do you have a sample LDIF file that demonstrates the problem?</description> 
   <pubDate>Mon, 28 Dec 2009 08:16:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t57343</link> 
  </item> 
   
  <item> 
   <title>Sorry for the late reply. The error occurs with the attached</title> 
   <description>Sorry for the late reply. The error occurs with the attached LDIF file created as export from a Turba 2.3.3 addressbook which worked fine with 2.3.2.
</description> 
   <pubDate>Wed, 13 Jan 2010 13:46:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t57696</link> 
  </item> 
   
  <item> 
   <title>What does your turba/config/sources.php look like?  I&#039;m able</title> 
   <description>What does your turba/config/sources.php look like?  I&#039;m able to import this file OK via the test suite.</description> 
   <pubDate>Sat, 23 Jan 2010 08:45:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t57751</link> 
  </item> 
   
  <item> 
   <title>The source.php in question:

$cfgSources[&#039;pers_sql&#039;] = arr</title> 
   <description>The source.php in question:

$cfgSources[&#039;pers_sql&#039;] = array(
    &#039;title&#039; =&gt; _(&quot;My Address Book&quot;),
    &#039;type&#039; =&gt; &#039;sql&#039;,
    &#039;charset&#039; =&gt; &#039;utf-8&#039;,
    // The default connection details are pulled from the Horde-wide SQL
    // connection configuration.
    &#039;params&#039; =&gt; array_merge($GLOBALS[&#039;conf&#039;][&#039;sql&#039;], array(&#039;table&#039; =&gt; &#039;turba_objects&#039;)),
    // Using two tables as datasource.
    // &#039;params&#039; =&gt; array_merge($GLOBALS[&#039;conf&#039;][&#039;sql&#039;],
    //                         array(&#039;table&#039; =&gt; &#039;leaddetails LEFT JOIN leadaddress ON leaddetails.leadid = leadaddress.leadaddressid&#039;,
    //                               &#039;filter&#039; =&gt; &#039;leaddetails.converted = 0&#039;)),
    &#039;map&#039; =&gt; array(
        &#039;__key&#039; =&gt; &#039;object_id&#039;,
        &#039;__owner&#039; =&gt; &#039;owner_id&#039;,
        &#039;__type&#039; =&gt; &#039;object_type&#039;,
        &#039;__members&#039; =&gt; &#039;object_members&#039;,
        &#039;__uid&#039; =&gt; &#039;object_uid&#039;,
        &#039;firstname&#039; =&gt; &#039;object_firstname&#039;,
        &#039;lastname&#039; =&gt; &#039;object_lastname&#039;,
        &#039;middlenames&#039; =&gt; &#039;object_middlenames&#039;,
        &#039;namePrefix&#039; =&gt; &#039;object_nameprefix&#039;,
        &#039;nameSuffix&#039; =&gt; &#039;object_namesuffix&#039;,
        // &#039;name&#039; =&gt; array(&#039;fields&#039; =&gt; array(&#039;namePrefix&#039;, &#039;firstname&#039;,
        //                                   &#039;middlenames&#039;, &#039;lastname&#039;,
        //                                   &#039;nameSuffix&#039;),
        //                 &#039;format&#039; =&gt; &#039;%s %s %s %s %s&#039;,
        //                 &#039;parse&#039; =&gt; array(
        //                     array(&#039;fields&#039; =&gt; array(&#039;firstname&#039;, &#039;middlenames&#039;,
        //                                             &#039;lastname&#039;),
        //                           &#039;format&#039; =&gt; &#039;%s %s %s&#039;),
        //                     array(&#039;fields&#039; =&gt; array(&#039;firstname&#039;, &#039;lastname&#039;),
        //                           &#039;format&#039; =&gt; &#039;%s %s&#039;))),
        // This is a shorter version of a &quot;name&quot; composite field which only
        // consists of the first name and last name.
        &#039;name&#039; =&gt; array(&#039;fields&#039; =&gt; array(&#039;firstname&#039;, &#039;lastname&#039;),
                        &#039;format&#039; =&gt; &#039;%s %s&#039;),
        &#039;alias&#039; =&gt; &#039;object_alias&#039;,
        &#039;birthday&#039; =&gt; &#039;object_bday&#039;,
        // The photo field requires at least Horde 3.3 and a matching type
        // field.
        &#039;photo&#039; =&gt; &#039;object_photo&#039;,
        &#039;phototype&#039; =&gt; &#039;object_phototype&#039;,
        &#039;homeStreet&#039; =&gt; &#039;object_homestreet&#039;,
        &#039;homePOBox&#039; =&gt; &#039;object_homepob&#039;,
        &#039;homeCity&#039; =&gt; &#039;object_homecity&#039;,
        &#039;homeProvince&#039; =&gt; &#039;object_homeprovince&#039;,
        &#039;homePostalCode&#039; =&gt; &#039;object_homepostalcode&#039;,
        &#039;homeCountry&#039; =&gt; &#039;object_homecountry&#039;,
        // This is an example composite field for addresses, so you can display
        // the various map links. If you use this, be sure to add &#039;homeAddress&#039;
        // to the &#039;tabs&#039; parameter below.
        &#039;homeAddress&#039; =&gt; array(&#039;fields&#039; =&gt; array(&#039;homeStreet&#039;, &#039;homeCity&#039;,
                                                 &#039;homeProvince&#039;,
                                                 &#039;homePostalCode&#039;),
                               &#039;format&#039; =&gt; &quot;%s \n %s, %s  %s&quot;),
        &#039;workStreet&#039; =&gt; &#039;object_workstreet&#039;,
        &#039;workPOBox&#039; =&gt; &#039;object_workpob&#039;,
        &#039;workCity&#039; =&gt; &#039;object_workcity&#039;,
        &#039;workProvince&#039; =&gt; &#039;object_workprovince&#039;,
        &#039;workPostalCode&#039; =&gt; &#039;object_workpostalcode&#039;,
        &#039;workCountry&#039; =&gt; &#039;object_workcountry&#039;,
        &#039;timezone&#039; =&gt; &#039;object_tz&#039;,
        &#039;email&#039; =&gt; &#039;object_email&#039;,
        &#039;homeEmail&#039; =&gt; &#039;object_email_home&#039;,
        &#039;workEmail&#039; =&gt; &#039;object_email_work&#039;,
        &#039;homePhone&#039; =&gt; &#039;object_homephone&#039;,
        &#039;workPhone&#039; =&gt; &#039;object_workphone&#039;,
        &#039;cellPhone&#039; =&gt; &#039;object_cellphone&#039;,
        &#039;fax&#039; =&gt; &#039;object_fax&#039;,
        &#039;pager&#039; =&gt; &#039;object_pager&#039;,
        &#039;title&#039; =&gt; &#039;object_title&#039;,
        &#039;role&#039; =&gt; &#039;object_role&#039;,
        &#039;company&#039; =&gt; &#039;object_company&#039;,
        // The logo field requires at least Horde 3.3 and a matching type
        // field.
        // &#039;logo&#039; =&gt; &#039;object_logo&#039;,
        // &#039;logotype&#039; =&gt; &#039;object_logotype&#039;,
        &#039;category&#039; =&gt; &#039;object_category&#039;,
        &#039;notes&#039; =&gt; &#039;object_notes&#039;,
        &#039;website&#039; =&gt; &#039;object_url&#039;,
        &#039;freebusyUrl&#039; =&gt; &#039;object_freebusyurl&#039;,
        &#039;pgpPublicKey&#039; =&gt; &#039;object_pgppublickey&#039;,
        &#039;smimePublicKey&#039; =&gt; &#039;object_smimepublickey&#039;,
    ),
    &#039;tabs&#039; =&gt; array(
        _(&quot;Personal&quot;) =&gt; array(&#039;firstname&#039;, &#039;lastname&#039;, &#039;middlenames&#039;,
                               &#039;namePrefix&#039;, &#039;nameSuffix&#039;, &#039;name&#039;, &#039;alias&#039;,
                               &#039;birthday&#039;, &#039;photo&#039;),
        _(&quot;Location&quot;) =&gt; array(&#039;homeStreet&#039;, &#039;homePOBox&#039;, &#039;homeCity&#039;,
                               &#039;homeProvince&#039;, &#039;homePostalCode&#039;, &#039;homeCountry&#039;,
                               &#039;workStreet&#039;, &#039;workPOBox&#039;, &#039;workCity&#039;,
                               &#039;workProvince&#039;, &#039;workPostalCode&#039;, &#039;workCountry&#039;,
                               &#039;timezone&#039;),
        _(&quot;Communications&quot;) =&gt; array(&#039;email&#039;, &#039;homeEmail&#039;, &#039;workEmail&#039;, &#039;homePhone&#039;, &#039;workPhone&#039;,
                                     &#039;cellPhone&#039;, &#039;fax&#039;, &#039;pager&#039;),
        _(&quot;Organization&quot;) =&gt; array(&#039;title&#039;, &#039;role&#039;, &#039;company&#039;, &#039;logo&#039;),
        _(&quot;Other&quot;) =&gt; array(&#039;category&#039;, &#039;notes&#039;, &#039;website&#039;, &#039;freebusyUrl&#039;,
                            &#039;pgpPublicKey&#039;, &#039;smimePublicKey&#039;),
    ),
    &#039;search&#039; =&gt; array(
        &#039;name&#039;,
        &#039;email&#039;,
        &#039;homeEmail&#039;,
        &#039;workEmail&#039;,
        &#039;homePhone&#039;,
        &#039;workPhone&#039;,
        &#039;cellPhone&#039;
    ),
    &#039;strict&#039; =&gt; array(
        &#039;object_id&#039;,
        &#039;owner_id&#039;,
        &#039;object_type&#039;,
    ),
    &#039;export&#039; =&gt; true,
    &#039;browse&#039; =&gt; true,
    &#039;use_shares&#039; =&gt; true,
    &#039;list_name_field&#039; =&gt; &#039;lastname&#039;,
    &#039;alternative_name&#039; =&gt; &#039;company&#039;,
);</description> 
   <pubDate>Thu, 28 Jan 2010 13:50:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t57792</link> 
  </item> 
   
  <item> 
   <title>Same issue we are having running Turba 2.3.3.
</title> 
   <description>Same issue we are having running Turba 2.3.3.
</description> 
   <pubDate>Mon, 17 May 2010 16:45:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t58853</link> 
  </item> 
   
  <item> 
   <title>Works fine in current code.</title> 
   <description>Works fine in current code.</description> 
   <pubDate>Mon, 27 Jan 2014 19:59:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8795#t82158</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
