<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.horde.sync">
    <title>gmane.comp.horde.sync</title>
    <link>http://blog.gmane.org/gmane.comp.horde.sync</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2652"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2648"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2647"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2645"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2642"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2634"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2622"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2620"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2618"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2617"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2606"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2604"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2604"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2604"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2598"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2595"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2584"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2583"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2582"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.horde.sync/2577"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2652">
    <title>Splitting long content into multiple messages</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2652</link>
    <description>&lt;pre&gt;Hi everyone,

   are there any plans for implementing splitting of long data into mulitple
messages? Newer smartphones are able to use larger images for contact
photos. Unfortunately Horde skips entries, when data exceeds MaxMsgSize, so
most contacts won't get synced.

   My setup: I'm using Horde 4.0.14 and sync to a Samsung Galaxy S II
running the Synthesis Std client (having MaxMsgSize=10000), contact images
are about 30k.

   I'd appreciate any fixes.
   Regards, Tom
    
&lt;/pre&gt;</description>
    <dc:creator>Thomas Trethan</dc:creator>
    <dc:date>2012-03-09T19:16:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2648">
    <title>Blackberry/Funambol: Character encoding woes</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2648</link>
    <description>&lt;pre&gt;Hello list,

Just set up SyncML support with Funambol to Blackberry. Works very well!  
Thanks for your efforts in creating such a wonderful software project. I am 
encountering two problems with the SyncML support in Horde; this e-mail 
describes the second such problem.

It does not appear that character encodings are respected during the sync. I'm 
not sure if this is a blackberry problem, funambol problem, Apache problem, 
PHP problem, or Horde problem, but I can't find any FAQs about it, so I thought 
you, dear list, might know.

Example:
New memo on blackberry containing non-ASCII string "Ûñíçòðë Té§t™".
This string encoded as UTF-8:
0000000: c39b c3b1 c3ad c3a7 c3b2 c3b0 c3ab 2054  .............. T
0000010: c3a9 c2a7 74e2 84a2                     ....t...
This string encoded as ISO-8859-1 (note that '™' is not available in 
iso-8859-1)
0000000: dbf1 ede7 f2f0 eb20 54e9 a774            ....... T..t
This string encoded as XML/HTML character entities:
&amp;amp;#219;&amp;amp;#241;&amp;amp;#237;&amp;amp;#231;&amp;amp;#242;&amp;amp;#240;&amp;amp;#235; T&amp;amp;#233;&amp;amp;#167;t&amp;amp;#8482;

When I create a memo containing this string on blackberry, Horde appears to 
attempt to commit this string to the database, a mix of HTML character 
entities and iso-8859-1. As this string is not valid UTF-8 (which is the 
database locale), it is rejected by the (postgres) database with the error 
"invalid byte sequence for encoding 'UTF8': 0xdbf1"
0000000: dbf1 ede7 f2f0 eb20 54e9 a774 2623 3834  ....... T..t&amp;amp;#84
0000010: 3832 3b0a                                82;.

There appear to be two problems here: One, that Horde is trying to write 
iso-8859-1 encoded text to a UTF-8 database, and Two that HTML character 
entities have somehow made it this far without being decoded (perhaps because  
'™' is not available in iso-8859-1). It does appear that the original text 
made it into Horde in the correct encoding, since /tmp/sync/data.txt contains 
the correct HTML character entities. Based on this file, it seems like perhaps 
the problem is in the conversion from text/x-s4j-sifn to text/x-vnote.

Contents of /tmp/sync/data.txt:

Input received from client (text/x-s4j-sifn):
&amp;lt;note&amp;gt;
&amp;lt;Subject&amp;gt;Test Unicode&amp;lt;/Subject&amp;gt;
&amp;lt;Body&amp;gt;&amp;amp;#219;&amp;amp;#241;&amp;amp;#237;&amp;amp;#231;&amp;amp;#242;&amp;amp;#240;&amp;amp;#235; T&amp;amp;#233;&amp;amp;#167;t&amp;amp;#8482;&amp;lt;/Body&amp;gt;
&amp;lt;Categories&amp;gt;&amp;lt;/Categories&amp;gt;
&amp;lt;Color&amp;gt;&amp;lt;/Color&amp;gt;
&amp;lt;Height&amp;gt;&amp;lt;/Height&amp;gt;
&amp;lt;Width&amp;gt;&amp;lt;/Width&amp;gt;
&amp;lt;Left&amp;gt;&amp;lt;/Left&amp;gt;
&amp;lt;Top&amp;gt;&amp;lt;/Top&amp;gt;
&amp;lt;/note&amp;gt;


Input converted for server (text/x-vnote):
BEGIN:VNOTE
VERSION:1.1
BODY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=DB=F1=ED=E7=F2=F0=EB 
T=E9=A7t&amp;amp;#8482\;
SUMMARY:Test Unicode
CATEGORIES:
END:VNOTE

When synchronizing in the opposite direction, i.e. creating a non-ASCII note 
in Horde and then synchronizing to blackberry, things work as expected.

I have attached the full contents of /tmp/sync. Any thoughts you can share on 
this mystery would be much appreciated.

Versions:
Horde 3.3.8 
Notes (mnemo) H3 (2.2.3) 
PHP 5.3.3

Sincerely,

--Ian Turner
`-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe&amp;lt; at &amp;gt;lists.horde.org
&lt;/pre&gt;</description>
    <dc:creator>Ian Turner</dc:creator>
    <dc:date>2012-02-26T22:47:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2647">
    <title>Blackberry/Funambol: Missing subjects when synching.</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2647</link>
    <description>&lt;pre&gt;Hello list,

Just set up SyncML support with Funambol to Blackberry. Works very well!  
Thanks for your efforts in creating such a wonderful software project. I am 
encountering two problems with the SyncML support in Horde; this e-mail 
describes the first such problem.

When synchronizing notes/memos, it seems that only the memo body is 
synchronized, not the title. It does appear from the synchronization logs 
(attached) that Funambol is providing the correct subject, but somehow it does 
not seem to make it into Horde (see screenshot, attached). Any thoughts you 
can share on this would be much appreciated.

Versions:
Horde 3.3.8 
Notes (mnemo) H3 (2.2.3) 
PHP 5.3.3

Sincerely,

--Ian Turner
&lt;/pre&gt;</description>
    <dc:creator>Ian Turner</dc:creator>
    <dc:date>2012-02-26T22:47:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2645">
    <title>Horde4 calendar sync duplicates</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2645</link>
    <description>&lt;pre&gt;Hi,
I recently upgraded from Horde3 to Horde4 and that created sync problem for me.
I'm syncing calendar between Nokia N9 and Horde.  I have tried both syncevolution and buteo in N9, same behaviour.  The sync mode is two-way.

If I create event in N9 and sync, event gets created to Horde4.  However, on second sync, that event gets duplicated in N9. No duplicates in Horde4.  Also, when creating event in Horde4, no duplicates get created by syncing.

Looking at syncevolution output from second sync there is almost duplicate of the original item, but the UID field of VCALENDAR is different.

When either of the duplicate events is removed in N9 and synced again, event gets removed from Horde4 and don't appear there with next syncs.

Is it normal that event UID is different in Horde?

I'm running "Horde Groupware Webmail Edition 4.0.6", Kronolith version is 3.0.15.  Apache web server is latest one from Debian squeeze.  Syncevolution is version 1.2.2.

With Horde3 syncing with syncevolution worked without duplicates.  Any pointers where to look for solution are welcome.

Thank you,
Simo
&lt;/pre&gt;</description>
    <dc:creator>Simo</dc:creator>
    <dc:date>2012-02-25T11:00:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2642">
    <title>Timezone problem with ActiveSync</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2642</link>
    <description>&lt;pre&gt;Hi All,

When I use ActiveSync from my iPhone to Horde, Calendar items end up on the server 5 hours in the future as compared to the iPhone.
When an item is added to Horde and it syncs to the iPhone, the calendar item shows up on the iPhone with the correct time.

My time zone is EST (Which is -5 hours from UTC).

I tried to visit http://bugs.horde.org/ Last night, but it was down.

Changing the time zone within my users preferences seems to make no difference.

As a side note, I used Funambol to sync Horde to Outlook and don't have any issues with the calendar items showing up with the wrong time.

Many thanks for your help,
Paul

&lt;/pre&gt;</description>
    <dc:creator>Faure, Paul</dc:creator>
    <dc:date>2012-02-24T13:53:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2634">
    <title>how to debug activesync "connection" problems</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2634</link>
    <description>&lt;pre&gt;Hello!

I try to eval and test the ActiveSync part in horde. Therefore I have a 
4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with 
php5-5.2.14.

IMHO all needed prerequirements are fulfilled - test.php looks good so far.

The client ActiveSync part I would like to try with a android 2.3.6 atm.

My problem right now seems to be very early in ActiveSync connection:

If I try to connect with the droid it ends up in a apache ssl log...

  ...TLSv1 RC4-MD5 "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" - "-" 
"Moto-MB526/4.5.1"

(big eyes on OPTIONS)

and for this the access log just gives me a 200:

  ..."OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 200 -

But nothing else happened. So I put in rpc.php as first cmd

   system("touch /tmp/I-was-there");

...and I got the information: I never was there(!)

So I played around with all redirect and alias settings from our wiki 
page but nothing helped.

If I give it a try with a browser - just to see if something general 
seems to be wrong - I can access rpc.php. The log looks different and 
now I see the well known and expected...

...ssl log:

   ...TLSv1 DHE-RSA-CAMELLIA256-SHA "GET /Microsoft-Server-ActiveSync 
HTTP/1.1" 71 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) 
Gecko/20100101 Firefox/10.0"

common:

   ..."GET /Microsoft-Server-ActiveSync HTTP/1.1" 500 71

...which ended in a expected 500 caused by rpc.php ("Trying to access 
the ActiveSync endpoint from a browser. Not Supported."). And yes now I 
get the "I-was-there" file touched in /tmp.

I assume something mysti with the http option request. f.e. I found 
something like this 
http://technet.microsoft.com/en-us/library/dd439384%28v=exchg.80%29.aspx

So... does anybody know something more?

Right know I can't sniff http since the droid only accepts https. Maybe

I need to load/unload/configure some apache further modules to get this 
problem fixed?

Any help is appreciated - thank you!

&lt;/pre&gt;</description>
    <dc:creator>Stephan Lauffer</dc:creator>
    <dc:date>2012-02-21T16:37:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2622">
    <title>Problem with Synthesis SyncML on Android since Horde Upgrade</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2622</link>
    <description>&lt;pre&gt;
Hi,

since the last horde upgrade I have problems using the Synthesis  
SyncML client. The sync runs fine and without any errors but the phone  
numbers are not synced any more except the fax numbers. I tried  
different android phones and tablets and the problem seems to occure  
also on i-phone. So I guess the problem must exists on horde side.  
What can I do to track down the problem and get it working again?

thank you and best regeards

                      Daniel

&lt;/pre&gt;</description>
    <dc:creator>Daniel Tombeil</dc:creator>
    <dc:date>2012-02-17T20:46:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2620">
    <title>syncing multiple categories per contact with synthesis android client</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2620</link>
    <description>&lt;pre&gt;Hi,

I am trying to sync with the synthesis android client and having a
problem with the categories. I have already consulted with the synthesis
and it turns out that it is a bug in horde.

In case of multiple category memberships, horde sends the vcard as
follows:

CATEGORIES:Sync\, Personal

so, it escapes the comma separator with a backslash. Apparently this is
wrong and it is perceived as a single category as a result by the
client.

I tried to hack a little bit but couldn't succeed. Can someone please
direct me toward the right location in php code to fix this?

Thanks.
&lt;/pre&gt;</description>
    <dc:creator>Mehmet Giritli</dc:creator>
    <dc:date>2012-02-16T18:29:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2618">
    <title>Fw: Horde &amp; Funambol</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2618</link>
    <description>&lt;pre&gt;I have tested the changes set out below by Christian Bomhardt and they do an excellent job of fixing the funambol sync. I don't 
understand why they haven't already been incorporated in the newest version of Horde.
If anyone knows why this is, please let us all know as it might help our understanding of the update process.
In any case, these changes should, I think, we included in the next update.
Thanks,
Alex May

----- Original Message ----- 
From: "Christian Bomhardt" &amp;lt;bomhardt&amp;lt; at &amp;gt;bomhardt.de&amp;gt;
To: "Alex May" &amp;lt;alex&amp;lt; at &amp;gt;maymay.de&amp;gt;
Sent: Thursday, February 02, 2012 8:43 PM
Subject: Re: Horde &amp;amp; Funambol



----- Original Message ----- 
From: Christian Bomhardt
To: sync&amp;lt; at &amp;gt;lists.horde.org
Sent: Tuesday, November 15, 2011 8:59 PM
Subject: Hack to enable Funambol 6.5 to sync with Horde 4


Hi,

in the meantime, I patched my Horde 4 and now I am able to sync at least from Server to Phone (this is the only direction I use). 
IMHO, Horde 4 sync is not yet as good as 3.x was  - at least I found several issues. My patch is probably not the most elegant, but 
at least with as less changes as possible - if the  corrections don't make it into the offical codeline, i don't have to re-apply 
too many corrections after update...

Maybe this helps someone - it took me quite a few weeks to figure this out...

Kind Regards,
Christian

Fixes required in ../PEAR/Horde/Syncml/Device/Sync4j.php
Adjust vevent2sif to not die in case of more than one component:

        default:
            //Added code - in case of multiple, take first one and log related entry - not perfect, but working
            $content = $components[0];
            Horde::logMessage('Sync4j:vevent2sif: multiple components ! ' . $vcard,'ERR');
            break;

            //OLD CODE
            // &amp;lt; at &amp;gt;TODO: NEVER use die() in a library.
            // die("Multiple components found; only one is supported.");

Add lines to convertServer2Client:
    public function convertServer2Client($content, $contentType, $database)
    {
        $database = $GLOBALS['backend']-&amp;gt;normalize($database);

//cbo ADDED
       if(substr($contentType,0,14) == 'text/x-s4j-sif')
          {
          $l = "\nOutput converted for Funambol client ($contentType):\n" . $content . "\n";
          $GLOBALS['backend']-&amp;gt;logFile(Horde_SyncMl_Backend::LOGFILE_DATA, $l);
          return array(base64_encode($content),$contentType,'b64');
          }
//cbo ADDED END

These fixes are required to be able to return Funambol Data from APIs and improve (still not perfect) behavior of conversion in some 
special situations (for me, only 1 / xxxx calendar entries produced this issue)

All remaining fixes in lib/API of corresponding applications to return Funambol supported content in export function.

MNemo (Notes):
Add method getChanges() (copied from Turba, and works perfect) to lib/Api.php

/**
     * Method for obtaining all server changes between two timestamps. Basically
     * a wrapper around listBy(), but returns an array containing all adds,
     * edits and deletions.
     *
     * &amp;lt; at &amp;gt;param integer $start             The starting timestamp
     * &amp;lt; at &amp;gt;param integer $end               The ending timestamp.
     *
     * &amp;lt; at &amp;gt;return array  An hash with 'add', 'modify' and 'delete' arrays.
     */
    public function getChanges($start, $end)
    {
        return array('add' =&amp;gt; $this-&amp;gt;listBy('add', $start, null, $end),
                     'modify' =&amp;gt; $this-&amp;gt;listBy('modify', $start, null, $end),
                     'delete' =&amp;gt; $this-&amp;gt;listBy('delete', $start, null, $end));
    }

Enhance export function:
Add new switch statement:
       switch ($contentType) {
        case 'text/x-s4j-sifn':
            $a=array('Body' =&amp;gt; $memo['body'],'Categories' =&amp;gt; $memo['category'],
             'Subject' =&amp;gt; Mnemo_Driver::getMemoDescription($memo['body']));
            return Horde_SyncMl_Device_sync4j::array2sif($a, '&amp;lt;note&amp;gt;', '&amp;lt;/note&amp;gt;');

Turba/API.php
In fucntion export:
            $version = '3.0';
            list($contentType,) = explode(';', $contentType);
            switch ($contentType) {
            case 'text/x-vcard':
                $version = '2.1';
==&amp;gt;insert after this line (in case your mobile supports different fields, adjust accordingly)
            case 'text/x-s4j-sifc': //###cbo
                 $contentType='text/vcard';

                $attributes = array();
                foreach ($result-&amp;gt;objects as $object)
                   {
                    foreach ($cfgSources[$source]['map'] as $field =&amp;gt; $map)
                       {
                       $attributes[$field] = $object-&amp;gt;getValue($field);
                       }
                   }
                 $a=array('Anniversary' =&amp;gt; $object-&amp;gt;getValue('anniversary'),
                 'AssistantName' =&amp;gt; '',
                 'AssistantTelephoneNumber' =&amp;gt; '',
                 'Birthday' =&amp;gt; $object-&amp;gt;getValue('birthday'),
                 'Body' =&amp;gt; '',
                 'Business2TelephoneNumber' =&amp;gt; '',
                 'BusinessAddressCity' =&amp;gt; $object-&amp;gt;getValue('workCity'),
                 'BusinessAddressCountry' =&amp;gt; $object-&amp;gt;getValue('workCountry'),
                 'BusinessAddressPostalCode' =&amp;gt; $object-&amp;gt;getValue('workPostalCode'),
                 'BusinessAddressState' =&amp;gt; $object-&amp;gt;getValue('workProvince'),
                 'BusinessAddressStreet' =&amp;gt; $object-&amp;gt;getValue('workStreet'),
                 'BusinessFaxNumber' =&amp;gt; str_replace('/',' ',$object-&amp;gt;getValue('fax')),
                 'BusinessTelephoneNumber' =&amp;gt; str_replace('/',' ',$object-&amp;gt;getValue('workPhone')),
                 'CarTelephoneNumber' =&amp;gt; str_replace('/',' ',$object-&amp;gt;getValue('cellPhone')),
                 'Categories' =&amp;gt; $object-&amp;gt;getValue('category'),
                 'Children' =&amp;gt; '',
                 'CompanyMainTelephoneNumber' =&amp;gt; '',
                 'CompanyName' =&amp;gt; $object-&amp;gt;getValue('company'),
                 'CustomerID' =&amp;gt; '',
                 'Department' =&amp;gt; $object-&amp;gt;getValue('department'),
                 'Email1Address' =&amp;gt; $object-&amp;gt;getValue('workEmail'),
                 'Email2Address' =&amp;gt; $object-&amp;gt;getValue('email'),
                 'Email3Address' =&amp;gt; '',
                 'FileAs' =&amp;gt; $object-&amp;gt;getValue('name'),
                 'FirstName' =&amp;gt; $object-&amp;gt;getValue('firstname'),
                 'GovernmentIDNumber' =&amp;gt; '',
                 'Home2TelephoneNumber' =&amp;gt; '',
                 'HomeAddressCity' =&amp;gt; $object-&amp;gt;getValue('homeCity'),
                 'HomeAddressCountry' =&amp;gt; $object-&amp;gt;getValue('homeCountry'),
                 'HomeAddressPostalCode' =&amp;gt; $object-&amp;gt;getValue('homePostalCode'),
                 'HomeAddressState' =&amp;gt; '',
                 'HomeAddressStreet' =&amp;gt; $object-&amp;gt;getValue('homeStreet'),
                 'HomeFaxNumber' =&amp;gt; str_replace('/',' ',$object-&amp;gt;getValue('homeFax')),
                 'HomeTelephoneNumber' =&amp;gt; str_replace('/',' ',$object-&amp;gt;getValue('homePhone')),
                 'IM2Address' =&amp;gt; '',
                 'IM3Address' =&amp;gt; '',
                 'IMAddress' =&amp;gt; '',
                 'JobTitle' =&amp;gt; $object-&amp;gt;getValue('title'),
                 'LastName' =&amp;gt; $object-&amp;gt;getValue('lastname'),
                 'ManagerName' =&amp;gt; '',
                 'MiddleName' =&amp;gt; '',
                 'MobileTelephoneNumber' =&amp;gt; str_replace('/',' ',$object-&amp;gt;getValue('workCellPhone')),
                 'NickName' =&amp;gt; '',
                 'OfficeLocation' =&amp;gt; '',
                 'OtherAddressCity' =&amp;gt; '',
                 'OtherAddressCountry' =&amp;gt; '',
                 'OtherAddressPostalCode' =&amp;gt; '',
                 'OtherAddressState' =&amp;gt; '',
                 'OtherAddressStreet' =&amp;gt; '',
                 'PagerNumber' =&amp;gt; '',
                 'Photo' =&amp;gt; '',
                 'RadioTelephoneNumber' =&amp;gt; '',
                 'Spouse' =&amp;gt; $object-&amp;gt;getValue('spouse'),
                 'Suffix' =&amp;gt; $object-&amp;gt;getValue('nameSuffix'),
                 'Title' =&amp;gt; $object-&amp;gt;getValue('title'),
                 'WebPage' =&amp;gt; $object-&amp;gt;getValue('website'),
                 'YomiCompanyName' =&amp;gt; '',
                 'YomiFirstName' =&amp;gt; '',
                 'YomiLastName' =&amp;gt; '',
                 );
                 return Horde_SyncMl_Device_sync4j::array2sif($a,'&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;contact&amp;gt;','&amp;lt;/contact&amp;gt;');


NAG:
/lib/Api.php

Add to function export addtional case:

        case 'text/x-s4j-sift': //cbo ###
            // Create the new iCalendar container.
            $iCal = new Horde_Icalendar($version);
            $iCal-&amp;gt;setAttribute('PRODID', '-//The Horde Project//Nag ' . $GLOBALS['registry']-&amp;gt;getVersion() . '//EN');
            $iCal-&amp;gt;setAttribute('METHOD', 'PUBLISH');

            // Create new vTodo object.
            $vTodo = $task-&amp;gt;toiCalendar($iCal);
            $vTodo-&amp;gt;setAttribute('VERSION', $version);

            $iCal-&amp;gt;addComponent($vTodo);
            return Horde_SyncMl_Device_sync4j::vtodo2sif($iCal-&amp;gt;exportvCalendar());

KRONOLITH:
/lib/Api.php

Add to function export addtional case:

        switch ($contentType)
        {
        case 'text/x-s4j-sife': //cbo ###
            $iCal = new Horde_Icalendar('2.0');
            // Create a new vEvent.
            $iCal-&amp;gt;addComponent($event-&amp;gt;toiCalendar($iCal));

            $calStr=Horde_SyncMl_Device_sync4j::vevent2sif($iCal-&amp;gt;exportvCalendar());
            return $calStr;


&lt;/pre&gt;</description>
    <dc:creator>Alex May</dc:creator>
    <dc:date>2012-02-05T18:38:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2617">
    <title>Fw:  Notes sync to device fails</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2617</link>
    <description>&lt;pre&gt;

----- Original Message ----- 
From: "Jan Schneider" &amp;lt;jan&amp;lt; at &amp;gt;horde.org&amp;gt;
To: &amp;lt;sync&amp;lt; at &amp;gt;lists.horde.org&amp;gt;
Sent: Tuesday, January 24, 2012 9:29 AM
Subject: Re: [sync] Notes sync to device fails



Zitat von Alex May &amp;lt;alex&amp;lt; at &amp;gt;maymay.de&amp;gt;:


Not sure what you mean by that.


Did you turn off the history system? Does the note show a creation date?

Jan.

I had not knowingly turned off the history system. The note did show a creation date, but as I was doing everything in close 
succession, I was concerned that that might be the problem.
I therefore switched to daily automatic syncing in stead of every 15mins.  I then created a new note (and, as you can see, deleted 
earlier test notes) and tried again by manually starting the sync.
The results are attached.
I seem to have a different problem now.
I think the issue is " Unsupported Content-Type: text/x-s4j-sifn"
I am syncing to Funambol on a Blackberry.
Any suggestions?

Alex 
&lt;/pre&gt;</description>
    <dc:creator>Alex May</dc:creator>
    <dc:date>2012-01-28T14:41:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2606">
    <title>unable to sync calender</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2606</link>
    <description>&lt;pre&gt;Hi All,

I am trying to sync ThunderBird calender with funambol. Below are some 
error logs.

Jan 15 18:06:00 localhost HORDE: [horde] PHP ERROR: Undefined variable: 
suid [pid 25030 on line 377 of 
"/usr/share/pear/Horde/SyncMl/Backend/Horde.php"]
Jan 15 18:06:00 localhost HORDE: [horde] PHP ERROR: Undefined variable: 
suid [pid 25030 on line 392 of 
"/usr/share/pear/Horde/SyncMl/Backend/Horde.php"]
Jan 15 18:06:01 localhost HORDE: [horde] Finished sync of database card. 
Failures: 0; changes from client (Add, Replace, Delete, AddReplaces): 0, 
0, 0, 0; changes from server (Add, Replace, Delete): 0, 0, 0 [pid 25032 
on line 512 of "/usr/share/pear/Horde/SyncMl/ContentHandler.php"]
Jan 15 18:06:01 localhost HORDE: [horde] Finished sync of database 
event. Failures: 1; changes from client (Add, Replace, Delete, 
AddReplaces): 1, 0, 0, 0; changes from server (Add, Replace, Delete): 0, 
0, 0 [pid 25032 on line 512 of 
"/usr/share/pear/Horde/SyncMl/ContentHandler.php"]
Jan 15 18:06:01 localhost HORDE: [horde] Finished sync of database task. 
Failures: 0; changes from client (Add, Replace, Delete, AddReplaces): 0, 
0, 0, 0; changes from server (Add, Replace, Delete): 0, 0, 0 [pid 25032 
on line 512 of "/usr/share/pear/Horde/SyncMl/ContentHandler.php"]


exception 'Kronolith_Exception' with message 'There was an error 
importing the iCalendar data.' in 
/var/www/html/horde/kronolith/lib/Api.php:640\nStack trace:\n#0 
[internal function]: Kronolith_Api-&amp;gt;import('?', 'text/calendar', 
NULL)\n#1 /usr/share/pear/Horde/Registry.php(1020): 
call_user_func_array(Array, Array)\n#2 
/usr/share/pear/Horde/Registry.php(979): 
Horde_Registry-&amp;gt;callByPackage('kronolith', 'import', Array)\n#3 
/usr/share/pear/Horde/SyncMl/Backend/Horde.php(359): 
Horde_Registry-&amp;gt;call('calendar/import', Array)\n#4 
/usr/share/pear/Horde/SyncMl/Sync.php(277): 
Horde_SyncMl_Backend_Horde-&amp;gt;addEntry('event', '?', 'text/calendar', 
'qj4rc7vt8lcatll...')\n#5 
/usr/share/pear/Horde/SyncMl/Command/Sync.php(306): 
Horde_SyncMl_Sync-&amp;gt;handleClientSyncItem(Object(Horde_SyncMl_XmlOutput), 
Object(Horde_SyncMl_SyncElement))\n#6 
/usr/share/pear/Horde/SyncMl/ContentHandler.php(434): 
Horde_SyncMl_Command_Sync-&amp;gt;handleCommand(false)\n#7 
/usr/share/pear/Horde/SyncMl/ContentHandler.php(304): 
Horde_SyncMl_ContentHandler-&amp;gt;handleCommand(Object(Horde_SyncMl_Command_Sync))\n#8 
/usr/share/pear/Horde/SyncMl/ContentHandler.php(217): 
Horde_SyncMl_ContentHandler-&amp;gt;endElement('', 'Sync')\n#9 [internal 
function]: Horde_SyncMl_ContentHandler-&amp;gt;_endElement(Resource id #153, 
'Sync')\n#10 /usr/share/pear/Horde/SyncMl/ContentHandler.php(131): 
xml_parse(Resource id #153, '&amp;lt;?xml version="...')\n#11 
/usr/share/pear/Horde/Rpc/Syncml.php(52): 
Horde_SyncMl_ContentHandler-&amp;gt;process('&amp;lt;?xml version="...', 
'application/vnd...', Object(Horde_Url))\n#12 
/var/www/html/horde/rpc.php(146): Horde_Rpc_Syncml-&amp;gt;getResponse('&amp;lt;?xml 
version="...')\n#13 {main};
*
*
&lt;/pre&gt;</description>
    <dc:creator>Mario</dc:creator>
    <dc:date>2012-01-15T18:20:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2604">
    <title>Funambol not working Horde 4.0.13</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2604</link>
    <description>&lt;pre&gt;Hi All,

I have "$GLOBALS['registry']-&amp;gt;getAuthCredential('password');" defined in 
turba/config/backends.local.php to authenticate with LDAP server. When 
doing a sync from Android 2.2 (Funambol) password is not retrive with 
$GLOBALS['registry']-&amp;gt;getAuthCredential('password'); and so sync of 
contacts fails..

With Horde 3.3.5 all works fine.

&lt;/pre&gt;</description>
    <dc:creator>Mario</dc:creator>
    <dc:date>2012-01-07T07:11:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2604">
    <title>Funambol not working Horde 4.0.13</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2604</link>
    <description>&lt;pre&gt;Hi All,

I have "$GLOBALS['registry']-&amp;gt;getAuthCredential('password');" defined in 
turba/config/backends.local.php to authenticate with LDAP server. When 
doing a sync from Android 2.2 (Funambol) password is not retrive with 
$GLOBALS['registry']-&amp;gt;getAuthCredential('password'); and so sync of 
contacts fails..

With Horde 3.3.5 all works fine.

&lt;/pre&gt;</description>
    <dc:creator>Mario</dc:creator>
    <dc:date>2012-01-07T07:11:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2604">
    <title>Funambol not working Horde 4.0.13</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2604</link>
    <description>&lt;pre&gt;Hi All,

I have "$GLOBALS['registry']-&amp;gt;getAuthCredential('password');" defined in 
turba/config/backends.local.php to authenticate with LDAP server. When 
doing a sync from Android 2.2 (Funambol) password is not retrive with 
$GLOBALS['registry']-&amp;gt;getAuthCredential('password'); and so sync of 
contacts fails..

With Horde 3.3.5 all works fine.

&lt;/pre&gt;</description>
    <dc:creator>Mario</dc:creator>
    <dc:date>2012-01-07T07:11:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2598">
    <title>Notes sync to device fails</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2598</link>
    <description>&lt;pre&gt;I am syncing to a Blackberry running Funambol.
Before upgrading to the latest version, I am fairly certain all of the sync was working.
I now find that sync of notes from Horde to the device is failing. Neither creation of new notes or updates of existing notes are 
being synced in that direction. The reverse direction and all of the other syncing (address book, calendar and tasks) is working 
fine.
Is this a known problem? I did search, but didn't find anything.
Can anyone help as to where I should look for error messages in order to debug?
Thanks,
Alex May 

&lt;/pre&gt;</description>
    <dc:creator>Alex May</dc:creator>
    <dc:date>2011-12-31T08:03:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2595">
    <title>Fwd: AW: Turba SyncML problem: There was an error importing the iCalendar data.</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2595</link>
    <description>&lt;pre&gt;

----- Weitergeleitete Nachricht von Torben Dannhauer  
&amp;lt;torben&amp;lt; at &amp;gt;dannhauer.info&amp;gt; -----
   Datum: Wed, 23 Nov 2011 10:16:54 +0100
     Von: Torben Dannhauer &amp;lt;torben&amp;lt; at &amp;gt;dannhauer.info&amp;gt;
Betreff: AW: [sync] Turba SyncML problem: There was an error importing  
the iCalendar data.
      An: 'Jan Schneider' &amp;lt;jan&amp;lt; at &amp;gt;horde.org&amp;gt;

Hi Jan,

I am definitely syncing the contacts, not the calendar. Does Turba invoke
Kronolith for birthday entries?


I configured Horde to Debug logging, the output was:

Nov 23 10:02:31 jonathan HORDE: [horde] Horde_Rpc::__construct complete [pid
13071 on line 96 of "/usr/share/php/Horde/Rpc.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] Backend of class
Horde_SyncMl_Backend_Horde created [pid 13071 on line 38 of
"/usr/share/php/Horde/SyncMl/Backend/Horde.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] Existing session continued:
4e589ddb64993b6e5eea2a4a7f12b5c8 [pid 13071 on line 364 of
"/usr/share/php/Horde/SyncMl/ContentHandler.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] Authenticated: yes; version: 1.2;
message ID: 2; source URI: fol-U1BVRVJTVE5JWDpUb3JiZW4=; target URI:
https://www.domain.tld/horde/rpc.php; user: user&amp;lt; at &amp;gt;domain.tld; charset: UTF-8;
wbxml: no [pid 13071 on line 283 of
"/usr/share/php/Horde/SyncMl/ContentHandler.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] Created device class
Horde_SyncMl_Device_Sync4j [pid 13071 on line 300 of
"/usr/share/php/Horde/SyncMl/State.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] Handling &amp;lt;Replace&amp;gt; sent from client
[pid 13071 on line 306 of "/usr/share/php/Horde/SyncMl/Command/Sync.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] Created device class
Horde_SyncMl_Device_Sync4j [pid 13071 on line 300 of
"/usr/share/php/Horde/SyncMl/State.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] SQL  (0.0012s)  #012#011SELECT
syncml_suid FROM horde_syncml_map WHERE syncml_syncpartner =#012#011
'fol-U1BVRVJTVE5JWDpUb3JiZW4=' AND syncml_db = 'contacts' AND#012#011
syncml_uid = 'user&amp;lt; at &amp;gt;domain.tld' AND syncml_cuid =#012#011
'00000000805A788F490C1A448F744019D24186900700784E8F418625C14F90F337AE7#012#0
11
0C71570003B0B85630F00000DA3342B992C4A4D8191E5A90502C49E002DC89A1CA1000#012#0
11  0' [pid 13071 on line 803 of "/usr/share/php/Horde/Db/Adapter/Base.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] No map entry found for client id
00000000805A788F490C1A448F744019D24186900700784E8F418625C14F90F337AE70C71570
003B0B85630F00000DA3342B992C4A4D8191E5A90502C49E002DC89A1CA10000 replacing
on server [pid 13071 on line 306 of
"/usr/share/php/Horde/SyncMl/Command/Sync.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] Load config file (conf.php; app:
turba) [pid 13071 on line 865 of "/usr/share/php/Horde.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] Load config file (prefs.php; app:
turba) [pid 13071 on line 865 of "/usr/share/php/Horde.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] SQL  (0.0008s)  #012#011SELECT
pref_scope, pref_name, pref_value FROM horde_prefs WHERE#012#011  pref_uid =
'user&amp;lt; at &amp;gt;domain.tld' AND pref_scope = 'turba' [pid 13071 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] SQL  (0.0023s)  #012#011 SELECT
a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc,#012#011
a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON
a.attrelid#012#011  = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid
=#012#011  'horde_prefs'::regclass AND a.attnum &amp;gt; 0 AND NOT a.attisdropped
ORDER#012#011  BY a.attnum [pid 13071 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] Load config file (attributes.php;
app: turba) [pid 13071 on line 865 of "/usr/share/php/Horde.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] Load config file (backends.php; app:
turba) [pid 13071 on line 865 of "/usr/share/php/Horde.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] SQL  (0.0010s)  #012#011SELECT *
FROM turba_sharesng_users WHERE user_uid =#012#011  'user&amp;lt; at &amp;gt;domain.tld' AND
(perm_4 = 't') [pid 13071 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] SQL  (0.0032s)  #012#011SELECT
g.group_uid AS group_uid, g.group_name AS group_name FROM#012#011
horde_groups g, horde_groups_members m WHERE m.user_uid =#012#011
'user&amp;lt; at &amp;gt;domain.tld' AND g.group_uid = m.group_uid ORDER BY#012#011
g.group_name [pid 13071 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] SQL  (0.0023s)  #012#011SELECT
DISTINCT * FROM turba_sharesng s WHERE share_owner =#012#011
'user&amp;lt; at &amp;gt;domain.tld' OR perm_creator_4 = 't' OR perm_default_4 =#012#011  't'
ORDER BY share_id ASC [pid 13071 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
Nov 23 10:02:31 jonathan HORDE: [turba] SQL  (0.0004s)  #012#011SELECT *
FROM turba_sharesng_users WHERE share_id = 14 [pid 13071 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]

Message from syslogd&amp;lt; at &amp;gt;jonathan at Nov 23 10:02:31 ...
  HORDE: [horde] There was an error importing the iCalendar data. [pid 13071
on line 685 of "/usr/share/php/www/horde/turba/lib/Api.php"]
Nov 23 10:02:31 jonathan HORDE: [horde] There was an error importing the
iCalendar data. [pid 13071 on line 685 of
"/usr/share/php/www/horde/turba/lib/Api.php"]
Nov 23 10:02:31 jonathan HORDE:  1. Horde_Rpc_Syncml-&amp;gt;getResponse()
/usr/share/php/www/horde/rpc.php:146#012 2.
Horde_SyncMl_ContentHandler-&amp;gt;process()
/usr/share/php/Horde/Rpc/Syncml.php:52#012 3. xml_parse()
/usr/share/php/Horde/SyncMl/ContentHandler.php:131#012 4.
Horde_SyncMl_ContentHandler-&amp;gt;_endElement()#012 5.
Horde_SyncMl_ContentHandler-&amp;gt;endElement()
/usr/share/php/Horde/SyncMl/ContentHandler.php:217#012 6.
Horde_SyncMl_ContentHandler-&amp;gt;handleCommand()
/usr/share/php/Horde/SyncMl/ContentHandler.php:304#012 7.
Horde_SyncMl_Command_Sync-&amp;gt;handleCommand()
/usr/share/php/Horde/SyncMl/ContentHandler.php:434#012 8.
Horde_SyncMl_Sync-&amp;gt;handleClientSyncItem()
/usr/share/php/Horde/SyncMl/Command/Sync.php:306#012 9.
Horde_SyncMl_Backend_Horde-&amp;gt;addEntry()
/usr/share/php/Horde/SyncMl/Sync.php:321#01210. Horde_Registry-&amp;gt;call()
/usr/share/php/Horde/SyncMl/Backend/Horde.php:357#01211.
Horde_Registry-&amp;gt;callByPackage() /usr/share/php/Horde/Registry.php:979#01212.
call_user_func_array() /usr/share/php/Horde/Registry.php:1020#01213.
Turba_Api-&amp;gt;import()
Nov 23 10:02:31 jonathan HORDE: [horde] Max memory usage: 24117248 bytes
[pid 13071 on line 476 of "/usr/share/php/Horde/Registry.php"]



-----Ursprüngliche Nachricht-----
Von: sync-bounces&amp;lt; at &amp;gt;lists.horde.org [mailto:sync-bounces&amp;lt; at &amp;gt;lists.horde.org] Im
Auftrag von Jan Schneider
Gesendet: Mittwoch, 9. November 2011 14:52
An: sync&amp;lt; at &amp;gt;lists.horde.org
Betreff: Re: [sync] Turba SyncML problem: There was an error importing the
iCalendar data.


Zitat von Torben Dannhauer &amp;lt;torben&amp;lt; at &amp;gt;dannhauer.info&amp;gt;:


It doesn't. Kronolith does. So you are not synching contacts, but the
calendar.


Sync logs from Horde would be more useful.

Jan.

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

--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
sync-unsubscribe&amp;lt; at &amp;gt;lists.horde.org

----- Ende der weitergeleiteten Nachricht -----

Jan.

&lt;/pre&gt;</description>
    <dc:creator>Jan Schneider</dc:creator>
    <dc:date>2011-11-23T17:47:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2584">
    <title>Root cause for interop isssue Funambol 6.5 vs Horde 4 found, but how to fix?</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2584</link>
    <description>&lt;pre&gt;Hi experts,

now, I managed to find the root cause why syncing of Horde 4 with my 
Funambol 6.5.18 (Windows Mobile) doesn't work (with old Horde Webmail it 
worked fine)

The APIs do (no longer?) support the desired content types:
(see below error output after I added according logging (seems that the 
exception currently thrown in export messages of API is not logged 
accordingly or I have overseen it):

2011-11-08T21:38:49+00:00 ERR: HORDE [kronolith] Kronolith unspported 
content type text/x-s4j-sife [pid 19212 on line 794 of 
"/kronolith/lib/API.php
2011-11-08T21:38:49+00:00 ERR: HORDE [nag] Unsupported Content 
text/x-s4j-sift [pid 19212 on line 1061 of "/nag/lib/API.php
2011-11-08T21:38:49+00:00 ERR: HORDE [mnemo] Mnemo Export unsupported 
Content Type text/x-s4j-sifn [pid 19212 on line 276 of "/mnemo/lib/API.php"

Is it a bug that these content types are (no longer) supported? Any 
hints how to best include it again?

Maybe it would be good to ensure that this error appears in the logs by 
default - at least this would have saved me several hours of trail and 
error...

Thanks a lot,
Christian

&lt;/pre&gt;</description>
    <dc:creator>Christian Bomhardt</dc:creator>
    <dc:date>2011-11-08T21:52:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2583">
    <title>Turba SyncML problem: There was an error importing theiCalendar data.</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2583</link>
    <description>&lt;pre&gt;Hi,

 

I use Outlook 2010 with Exchange. Now I tried to migrate my contacts from
the exchange system to Horde with the Funambol client 10.0.1.

 

If I try to sync my data I get an error like this:  

HORDE: [horde] There was an error importing the iCalendar data. [pid 12171
on line 640 of "/usr/share/php/www/horde/kronolith/lib/Api.php"]

 

Why tries turba to access iCalendar data, and what goes wrong to with the
sync procedure?

 

Thank you very much!

 

 

The debug output of the Funambol client look like this:

--------------------------------

Ul1PE/3CVTBqq1UkJNcnGtTV2yD+lzMyCQVx8poLyCkVnQnxhFJt1Wp1POnSwGjLVZXE73mbsTP6
TocC0yypdDPW0/wZIzdq0yFLlvJK8QK5sg1hf4bP+A+8UOliy+o6ctsfvzd3BvzB6i6bWraYPdYE
Pv0B6ZAb07J0iwgC78q3f6G+833Eaj63lH3PNnH3MaJWV6hOcn0+Yqc2O9HLm7I3KxWBt2e9qfdH
wyunwtUe5CjRMqvgOaRhcFEi2/azgJE2CZ9n4Z9ijXIqrGWEWP/zEWLsL29wueetPzdu4TKOoXbA
3gqYswY35i0Xf1Ga4XeJIweo4spJb1VE1XJ2iuddOYi8gH4K3Bs8+ssMQC6B9pQggkWgaSTjkb6+
XXCte1YbHj94vQgSt3zkbH5dkpcOdIFc86ukB9IaRRlJ3qoIvU05lvTylbt9QBkgc/YHkZ1IDwQX
LXeUxY+uGIx0U3d73E6EtTnbpldIRXKT3yA+4kOxow2LLcCO7Hfq6jQxRLhjzz7LmxjW5E5p9uZm
TOy2VvJSjc+mJF8VpGdfPTns/uYs6ZNbbnP1ljIpUD+LaUoZT9qTTrGWBCxtzWK4aISud8TNd1Fl
GQPkxKK7L260XTwxNGlP1vKu+5UR3Gw3CEGw1XgnU0gzEw11gS0EisfAnNjkpA12RPbE/0An9vrS
lEkBqa3I9fZIW+npoY3paQk8Umudm9eQfyatBv3jcuap2DJzacBoZv2Hh0YiLDg5XahK0bO9rC2v
RTSWGvY9aL2Lvq8zUNDQZezuTpYrSlnAZhCB+iw6YVSZ0r4RgDt27GgFCylwtozVqJZuKK+LDlDL
BDBPKQ4bGGmPaRWHXLyb03+3UYoL9TOt9wYmyUTQTtec6rPmOI9lPxj8z47cF2A7gwr7eoLhFkR0
PYiP4LMy9cANLlWRvl9tfcFXCRodNM4mzdj4mxDnvKW/DkRZI6ELEd/Wy7k4k/VhKM8ghwGPnYuK
pIBkSO0IhNz1k1nVU4x63cUhnuW4hc6WqDHVeLB9MOMth6z4cvOx6o6NNVDSUtqDO59Z+jiloeV8
BuZDU0TYbtdnJJ7VInUaq47INZTKEjs3slks/bVTMengh6lIWyl+Y5Rc+t2B0fF+Gb9KeP7rwtGz
1AFbOwTb/I1cICwaiuH9d330ICAnpXXtzW2/kC3PHWiELiN8eqf20Zp8ZRw/FSfS3GWS21zSMRt7
fLsD+xmUIHxIuanP1xo6ZZqdkYShwcQ2PuCWB/eB0wA/E/vW6i7ET5h1/4Qga+1rqN2oXULhzAIm
2kDaM1BRQPVrW6707vhpcRI/4sv8YDmYokKYHzbAv6emeWyF6aD9QyVFb35jG3zY3KoZ5JJSpDI5
YVoYj7uNxqNfb8yCsQJT1tA+Mjg/z1Z6ees2M99fqvFYBGGG

15:55:58 GMT +1:00 [ERROR] - Server Failure: server returned error code -1

15:55:58 GMT +1:00 [DEBUG] -  end (mode "none")

15:55:58 GMT +1:00 [ERROR] - Error in syncing: Server Failure: server
returned error code -1

15:55:58 GMT +1:00 [DEBUG] - Saving configuration to winRegistry

15:55:58 GMT +1:00 [DEBUG] - entering OutlookConfig::save

15:55:58 GMT +1:00 [DEBUG] - Writing configuration settings to the
management tree

15:55:58 GMT +1:00 [DEBUG] - saving dataStores...

15:55:58 GMT +1:00 [DEBUG] - dataStores saved

15:55:58 GMT +1:00 [ERROR] - Sync of contact completed with error 0: 

15:55:58 GMT +1:00 [DEBUG] - Closing Outlook...

15:55:58 GMT +1:00 [DEBUG] - Deleting ClientApplication instance

15:55:58 GMT +1:00 [DEBUG] - Releasing IMAPIUtils object...

15:55:58 GMT +1:00 [INFO] - Outlook session closed successfully.

15:55:58 GMT +1:00 [DEBUG] - Releasing sync-mutex...

15:55:58 GMT +1:00 [DEBUG] - Sync-mutex released - closing handle.

15:55:58 GMT +1:00 [DEBUG] - entering OutlookConfig::save

15:55:58 GMT +1:00 [DEBUG] - Writing configuration settings to the
management tree

15:55:58 GMT +1:00 [INFO] - 

===========================================================

================   SYNCHRONIZATION REPORT   ===============

===========================================================

 

SYNC COMPLETED WITH ERRORS

--------------------------

 

Last error code = WIN--1

Last error msg  = 

 

----------|--------CLIENT---------|--------SERVER---------|

  Source  |  NEW  |  MOD  |  DEL  |  NEW  |  MOD  |  DEL  |

----------|-----------------------------------------------|

   contact|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|

----------|-----------------------------------------------|

 

contact:

----------

   Source state    = OK

   Last error code = 0

   Last error msg  = 

 

 

15:55:58 GMT +1:00 [DEBUG] - Current time is: 1320677758

15:55:58 GMT +1:00 [DEBUG] - Next check time is: 86400

15:55:58 GMT +1:00 [INFO] - Check on server location for update

15:55:58 GMT +1:00 [DEBUG] - Update url:
https://www.dannhauer.de:443/sapi/profile/client?action=get-update-info&amp;amp;comp
onent=windows&amp;amp;version=10.0.1&amp;amp;format=properties

15:55:58 GMT +1:00 [DEBUG] - Send message:

 

15:55:58 GMT +1:00 [DEBUG] - Connecting to www.dannhauer.de:443

15:55:58 GMT +1:00 [DEBUG] - Requesting resource
/sapi/profile/client?action=get-update-info&amp;amp;component=windows&amp;amp;version=10.0.1
&amp;amp;format=properties

15:55:58 GMT +1:00 [DEBUG] - Request header:

 

User-Agent: Funambol SyncML Client

Content-Length: 0

 

15:55:58 GMT +1:00 [DEBUG] - Message sent

15:55:58 GMT +1:00 [DEBUG] - HTTP request error: resource not found (status
404)

15:55:58 GMT +1:00 [ERROR] - No response from update server

15:55:58 GMT +1:00 [ERROR] - Client update error - uses the stored
parameters

15:55:58 GMT +1:00 [DEBUG] - Saving Updater configuration

15:55:58 GMT +1:00 [ERROR] - update check failed

15:58:32 GMT +1:00 [DEBUG] - newVersion=0

15:58:32 GMT +1:00 [DEBUG] - version=10.0.1

16:00:18 GMT +1:00 [DEBUG] - newVersion=0

16:00:18 GMT +1:00 [DEBUG] - version=10.0.1

&lt;/pre&gt;</description>
    <dc:creator>Torben Dannhauer</dc:creator>
    <dc:date>2011-11-07T15:04:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2582">
    <title>Initial Funambol Sync not Possible with latest Horde</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2582</link>
    <description>&lt;pre&gt;Hi,

I upgraded my Horde Webmail to latest Horde 4.0 (see as well my previous 
post). After upgrade, everything fine except Funambol Sync with Windows 
Mobile.

As of Wiki, Funambol 8.7.2 works out of the box with Horde. I installed 
this one, but unfortunatly, initial account setup fails. I tried to hack 
the SyncML PHP to get over it, without succees. I tried to adjust the 
Funambol source or hack registry - as well too difficult.

Error as of my horde.log as follows:
 &amp;gt;The method "configuration/import" is not defined in the Horde Registry.

As of source code from Funambol, I found out that funambol switches to 
"old server mode" in case server response to configuration/import is 404 
Error, but I didn't manage to get this done.

I tried to adjust /...php5/PEAR/Horde/ContentHandler.php function call 
to handle method configuration/import, but as well without success.

Any ideas what else I could do? Is there a known good horde syncml - 
maybe a slight downgrade would fix my isssue? Any ideas how I could 
further debug/adjust the coding to get it running?

Having my mobile without any contacts, notes, calendar entries is really 
annoying...

Thanks a lot,
Christian


&lt;/pre&gt;</description>
    <dc:creator>Christian Bomhardt</dc:creator>
    <dc:date>2011-11-01T20:11:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2577">
    <title>horde4 syncml encoding problem</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2577</link>
    <description>&lt;pre&gt;Hi to all,
I just upgraded from Horde3 to horde4. Its working fine and the upgrade with fantastic; except the syncml.

I try to sync with an android phone with funambol client Version 10.0.3. It worked fine with horde3.

The funambol client gets an problem when the server (horde rpc.php) sends back its changes.

I compared the xml structures send to the client and noticed following:

Horde3:
CmdID&amp;gt;&amp;lt;Meta&amp;gt;&amp;lt;Type xmlns="syncml:metinf"&amp;gt;text/x-vcalendar&amp;lt;/Type&amp;gt;&amp;lt;/Meta&amp;gt;&amp;lt;Item&amp;gt;&amp;lt;Source&amp;gt;&amp;lt;LocURI&amp;gt;20111021124639.69693nidx81xsxhr&amp;lt; at &amp;gt;192.168.102.30&amp;lt;/LocURI&amp;gt;&amp;lt;/Source&amp;gt;&amp;lt;Data&amp;gt;&amp;lt;![CDATA:q
[BEGIN:VCALENDAR

VERSION:1.0

horde4: (look at the &amp;lt;Data&amp;gt;&amp;amp;lt;![CDATA[BEGIN:VCALENDAR)

CmdID&amp;gt;&amp;lt;Meta&amp;gt;&amp;lt;Type xmlns="syncml:metinf"&amp;gt;text/x-vcalendar&amp;lt;/Type&amp;gt;&amp;lt;/Meta&amp;gt;&amp;lt;Item&amp;gt;&amp;lt;Source&amp;gt;&amp;lt;LocURI&amp;gt;20111021124639.69693nidx81xsxhr&amp;lt; at &amp;gt;192.168.102.30&amp;lt;/LocURI&amp;gt;&amp;lt;/Source&amp;gt;&amp;lt;Data&amp;gt;&amp;amp;lt;![CDATA[BEGIN:VCALENDAR

VERSION:1.0

When then funambol tries to separate the entries it gets this from the data:

horde3: data starts with: BEGIN:VCALENDAR

Fri Oct 21 19:09:02 MESZ 2011 [INFO] [CalendarSyncSource] New item 20111021124639.69693nidx81xsxhr&amp;lt; at &amp;gt;192.168.102.30 from server.

Fri Oct 21 19:09:02 MESZ 2011 [TRACE] [CalendarSyncSource] BEGIN:VCALENDAR

VERSION:1.0

horde4: Data starts with &amp;lt;![CDATA[BEGIN:VCALENDAR

Fri Oct 21 19:01:22 MESZ 2011 [INFO] [CalendarSyncSource] New item 20111021124639.69693nidx81xsxhr&amp;lt; at &amp;gt;192.168.102.30 from server.

Fri Oct 21 19:01:22 MESZ 2011 [TRACE] [CalendarSyncSource] &amp;lt;![CDATA[BEGIN:VCALENDAR

VERSION:1.0

and gets an error:
Fri Oct 21 19:01:23 MESZ 2011 [TRACE] [Calendar] Creating Calendar from vCalendar

Fri Oct 21 19:01:23 MESZ 2011 [ERROR] [SyncManager] Exception(com.funambol.common.pim.xvcalendar.TokenMgrError: Lexical error at line 1, column 1.  Encountered: "&amp;lt;" (60), after : "")

Fri Oct 21 19:01:23 MESZ 2011 [ERROR] com.funambol.common.pim.xvcalendar.TokenMgrError: Lexical error at line 1, column 1.  Encountered: "&amp;lt;" (60), after : ""
    at com.funambol.common.pim.xvcalendar.XVCalendarSyntaxParserTokenManager.getNextToken(XVCalendarSyntaxParserTokenManager.java:1927)
    at com.funambol.common.pim.xvcalendar.XVCalendarSyntaxParser.jj_consume_token(XVCalendarSyntaxParser.java:365)
    at com.funambol.common.pim.xvcalendar.XVCalendarSyntaxParser.XVCalendar(XVCalendarSyntaxParser.java:27)
    at com.funambol.common.pim.xvcalendar.XVCalendarSyntaxParser.parse(XVCalendarSyntaxParser.java:16)
    at com.funambol.android.source.pim.calendar.Calendar.setVCalendar(Calendar.java:91)
    at com.funambol.android.source.pim.calendar.CalendarSyncSource.addItem(CalendarSyncSource.java:94)
    at com.funambol.android.source.pim.calendar.CalendarSyncSource.applyChanges(CalendarSyncSource.java:143)
    at com.funambol.syncml.spds.SyncSourceLOHandler.applyChanges(SyncSourceLOHandler.java:223)
    at com.funambol.syncml.spds.SyncManager.applySourceChanges(SyncManager.java:2212)
    at com.funambol.syncml.spds.SyncManager.applySourceItems(SyncManager.java:1850)
    at com.funambol.syncml.spds.SyncManager.processModifications(SyncManager.java:1816)
    at com.funambol.syncml.spds.SyncManager.sync(SyncManager.java:613)
    at com.funambol.client.engine.SyncEngine.fireSync(SyncEngine.java:510)
    at com.funambol.client.engine.SyncEngine$SyncThread.synchronize(SyncEngine.java:436)
    at com.funambol.client.engine.SyncEngine$SyncThread.sync(SyncEngine.java:356)
    at com.funambol.client.engine.SyncEngine$SyncThread.run(SyncEngine.java:334

Why it tries to put a %lt; in the data? It seems to be an encoding problem?

What can I do about it?

thanks in advance
Holger
&lt;/pre&gt;</description>
    <dc:creator>Holger Wegner</dc:creator>
    <dc:date>2011-10-21T17:52:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.horde.sync/2569">
    <title>Horde-Thunderbird/Lightning sync</title>
    <link>http://comments.gmane.org/gmane.comp.horde.sync/2569</link>
    <description>&lt;pre&gt;Hello,

This is my first posting to this list; please feel free to re-direct  
if the topic is better handled in one of the other Horde lists.

For quite some time now, I've been trying to get Horde (installed as  
"part" of cPanel on my webserver) to talk to Thunderbird/Lightning (on  
my computer). I've tried different approaches and read as much as I  
could find on the web -- no luck. What apparently should be a simple  
thing to set up is just adding to my frustration... :-)

The objective is a simple one: to get the two calendars (Lightning on  
my computer and kronolith on the horde side) to talk to each other and  
sync both events and tasks (and, if possible, also the address book,  
but I could even live without this).

Has anyone out there successfully set this up? If so, could you  
provide some pointers?

Many thanks in anticipation for your help.

Best,

Paulo

&lt;/pre&gt;</description>
    <dc:creator>horde&lt; at &gt;azuleon.com</dc:creator>
    <dc:date>2011-10-08T17:42:59</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.horde.sync">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.horde.sync</link>
  </textinput>
</rdf:RDF>

