[horde] SyncML suddenly failing

Jan Schneider jan at horde.org
Sat Sep 24 09:20:11 UTC 2011


Zitat von Ole Wolf <ole at naturloven.dk>:

> I just discovered today that for some reason, SyncML is no longer working
> for two of my devices with Horde. A third device is still able to
> synchronize with Horde.

Nothing suddenly stops working out of the blue. What did you do before  
it started failing?

>   According to the log file of one device, it receives an unexpected HTML
> response from horde which begins with the following text:
>    
> /[2011-09-23 20:45:57.102]/ unexpected content type 'text/html;
> charset=UTF-8' in reply, 235371 bytes:
>   <html>
>   <head><title>Horde :: Fatal Error</title></head>
>   <body style="background:#fff; color:#000"><h1>A fatal error has
> occurred</h1><h3>Unable to find dtd for syncml:devinf</h3><div
> id="backtrace"><pre> 1. Horde_Rpc_Syncml->getResponse()
> /var/www/webmail/rpc.php:146
>   2. Horde_SyncMl_ContentHandler->process()
> /usr/share/php/Horde/Rpc/Syncml.php:52
>   3. Horde_Xml_Wbxml_Decoder->decode()
> /usr/share/php/Horde/SyncMl/ContentHandler.php:154
>   4. Horde_Xml_Wbxml_Decoder->_decode()
> /usr/share/php/Horde/Xml/Wbxml/Decoder.php:176
>   5. Horde_Xml_Wbxml_Decoder->endTag()
> /usr/share/php/Horde/Xml/Wbxml/Decoder.php:393
>   6. Horde_SyncMl_ContentHandler->endElement()
> /usr/share/php/Horde/Xml/Wbxml/Decoder.php:452
>   7. Horde_SyncMl_ContentHandler->handleCommand()
> /usr/share/php/Horde/SyncMl/ContentHandler.php:304
>   8. Horde_SyncMl_Command_Get->handleCommand()
> /usr/share/php/Horde/SyncMl/ContentHandler.php:434
>   9. Horde_SyncMl_XmlOutput->outputDevInf()
> /usr/share/php/Horde/SyncMl/Command/Get.php:44
>   10. Horde_Xml_Wbxml_Encoder->startElement()
> /usr/share/php/Horde/SyncMl/XmlOutput.php:325
>   11. Horde_Xml_Wbxml_Encoder->writeHeader()
> /usr/share/php/Horde/Xml/Wbxml/Encoder.php:226
>   </pre></div><h3>Details</h3><h4>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.</h4><div
> id="details"><pre>Horde_Xml_Wbxml_Exception Object
>   (
>   [details] =&gt;
>   [message:protected] =&gt; Unable to find dtd for syncml:devinf
>   [string:Exception:private] =&gt;
>   [code:protected] =&gt; 0
>   [file:protected] =&gt; /usr/share/php/Horde/Xml/Wbxml/Encoder.php
>   [line:protected] =&gt; 99
>   [trace:Exception:private] =&gt; Array
>   (
>   [0] =&gt; Array
>   (
>   [file] =&gt; /usr/share/php/Horde/Xml/Wbxml/Encoder.php

This should have only happened with an intermediate version of  
Horde_Xml_Wbxml from Git.

>   Looking in /tmp/sync, the synchronization does produce a devinf.txt file
> with "'VerDTD' => '1.2', however. Did something break in the most recent
> release?
>
>   --
> OLE WOLF[1]
> Rødhættevej 4 * 9400 Nørresundby
>   Telefon: 9632-0108 * Mobil: 2467-5526 * Skype: ole.wolf * SIP:
> ole.wolf at ekiga.net
>
>
> Links:
> ------
> [1] http://naturloven.dk


Jan.

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



More information about the horde mailing list