[sync] Still can not sync
Robert Carnecky
horde at dbservice.com
Sun Jan 2 11:31:59 PST 2005
I got no errors, php error_log is clean. The same for SyncML.php
revision 1.22.
Robert
Karsten Fourmont wrote:
> Hi,
>
> hmm. Unfortunately the interesting syncml_server_1.xml is missing.
> Did you get any error messages in your php error log?
> (if set in php.ini as "error_log = ...")
>
> I commited a small fix for the XML generation (SyncML.php 1.22).
>
> Maybe this one solves the problem. (you need to update to latest cvs and
> run install-packages)
>
> Karsten
>
>
>
> Robert Carnecky wrote:
>
>> OK. What I did - I purged the /tmp/sync dir and made a fresh sync of
>> calendar. Here is the directory listing after 1 sync process
>>
>> -rw------- 1 apache apache 1 Jan 2 14:17 syncml.packetnum
>> -rw------- 1 apache apache 957 Jan 2 14:17 syncml_client_0.wbxml
>> -rw------- 1 apache apache 1046 Jan 2 14:17 syncml_client_0.xml
>> -rw------- 1 apache apache 418 Jan 2 14:17 syncml_client_1.wbxml
>> -rw------- 1 apache apache 529 Jan 2 14:17 syncml_server_0.wbxml
>> -rw------- 1 apache apache 1310 Jan 2 14:17 syncml_server_0.xml
>> -rw------- 1 apache apache 1 Jan 2 14:17 syncml_wbxml.packetnum
>>
>> Attached is the file syncml_server_0.xml.
>>
>> Robert
>>
>>
>> Karsten Fourmont wrote:
>>
>>> Hi,
>>>
>>> > Jan 02 11:13:33 HORDE [debug] [horde] SyncML: Anchor mismatch,
>>> > enforcing SlowSync [on line 104 of
>>>
>>> if you get this far, WBXML encoding seems to work.
>>> I think that we produce xml code that the Synthesis client doesn't like.
>>> Can you post the last syncml_server_x.xml file from /tmp/sync?
>>> (The directory must exist and be writable by the webserver for this
>>> logging to work).
>>>
>>> Karsten
>>>
>>> Robert Carnecky wrote:
>>>
>>>> OK, I replaced the buggy Encoder.php with the latest file from CVS
>>>> (see my another thread), but syncing still does not work. I set
>>>> logging to PEAR_LOG_DEBUG level and that is, what I see in my horde
>>>> log :
>>>>
>>> [...]
>>>
>>>> Jan 02 11:13:33 HORDE [debug] [horde] SyncML: Anchor mismatch,
>>>> enforcing SlowSync [on line 104 of
>>>> "/big/httpd/htdocs/horde/lib/Horde/SyncML/Command/Alert.php"]
>>>>
>>>>
>>>> I am usig Palm Clie TH-55 with Synthesis SyncML (www.synthesis.ch)
>>>> as client, the connection is running over built-in WLAN.
>>>> Unfortunately there is no client side logging, SyncML answers only
>>>> 'Invalid Data'. Because I am living Switzerland and Synthesis is the
>>>> Swiss company, I try to get more info, that could help me to debug
>>>> client side too.
>>>>
>>>> Robert
>>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> <SyncML
>> xmlns="syncml:syncml1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>79</SessionID><MsgID>1</MsgID><Target><LocURI>H0R300UV836P</LocURI></Target><Source><LocURI>http://dbservice.com/horde/rpc.php</LocURI></Source><RespURI>http://dbservice.com/horde/rpc.php</RespURI></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><SourceRef>H0R300UV836P</SourceRef><TargetRef>http://dbservice.com/horde/rpc.php</TargetRef><Data>212</Data></Status><Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>1</CmdRef><Cmd>Put</Cmd><SourceRef>./devinf11</SourceRef><Data>200</Data></Status><Status><CmdID>3</CmdID><MsgRef>1</MsgRef><CmdRef>2</CmdRef><Cmd>Get</Cmd><TargetRef>./devinf11</TargetRef><Data>200</Data></Status><Status><CmdID>4</CmdID><MsgRef>1</MsgRef><CmdRef>3</CmdRef><Cmd>Alert</Cmd><SourceRef>./events</SourceRef><TargetRef>calendar?/dr(-30,90)</TargetRef><Data>508</Data><Item><Data><Anchor><Next>20050102T121634
>>
>
> Z</
>
>> Next></Anchor></Data></Item></Status><Alert><CmdID>5</CmdID><Data>201</Data><Item><Target><LocURI>./events</LocURI></Target><Source><LocURI>calendar?/dr(-30,90)</LocURI></Source><Meta><Anchor
>> xmlns="syncml:metinf1.1"><Last>0</Last><Next>1104671856</Next></Anchor></Meta></Item></Alert><Final></Final></SyncBody></SyncML>
>>
>
>
>
More information about the sync
mailing list