[sync] SyncML broken with latest Horde Webmail 5.2.22 ?

Christian Bomhardt horde at bomhardt.de
Thu Sep 21 20:41:25 UTC 2017


Hi Friends,

I just upgraded to Horde Webmail 5.2.22 with php7 (from 5.2.16?). My 
used Android SyncML Client (ChBoSync) doesn't work any more - with 
Webmail 5.2.21 as installed on demo.horde.org, it still works. So issue 
could either be related to Horde Version or underlying Linux/php.

What I figured out so far via Debugging:

Some errors are logged trying to call non-static methods. To fix it, I 
did the following:

In Horde_SyncML_Backend.php: make factory method static

In Horde_SyncML_Command.php: make factory method static

In Horde_SyncML_XmlOutput.php: make singleton method static


Now I have this issue and don't know how to fix it - seems like the 
issue is in the ContentHandler.php, line 119 => 
$this->_xmlWriter->init(new Horde_Xml_Wbxml_ContentHandler());

Any ideas how to fix/patches ?

Thanks a ton,
  Christian


2017-09-21T20:27:52+00:00 DEBUG: HORDE [horde] Horde_Rpc::__construct 
complete [pid 29037 on line 253 of "/usr/share/php/Horde/Rpc.php"]
2017-09-21T20:27:52+00:00 DEBUG: HORDE Backend of class 
Horde_SyncMl_Backend_Horde created [pid 29037 on line 38 of 
"/usr/share/php/Horde/SyncMl/Backend/Horde.php"]
2017-09-21T20:27:52+00:00 DEBUG: HORDE Started at 2017-09-21 20:27:52. 
Packet logged in /tmp/sync/client_17.xml [pid 29037 on line 100 of 
"/usr/share/php/Horde/SyncMl/ContentHandler.php"]
2017-09-21T20:27:52+00:00 NOTICE: HORDE PHP ERROR: Only variables should 
be passed by reference [pid 29037 on line 119 of 
"/usr/share/php/Horde/SyncMl/ContentHandler.php"]
2017-09-21T20:27:52+00:00 DEBUG: HORDE 1. 
Horde_Rpc_Syncml->getResponse() /var/www/horde/rpc.php:160
2. Horde_SyncMl_ContentHandler->process() 
/usr/share/php/Horde/Rpc/Syncml.php:52
3. Horde_ErrorHandler::errorHandler() 
/usr/share/php/Horde/SyncMl/ContentHandler.php:119

2017-09-21T20:27:52+00:00 WARN: HORDE PHP ERROR: session_destroy(): 
Trying to destroy uninitialized session [pid 29037 on line 305 of 
"/usr/share/php/Horde/Session.php"]
2017-09-21T20:27:52+00:00 DEBUG: HORDE  1. 
Horde_Rpc_Syncml->getResponse() /var/www/horde/rpc.php:160
  2. Horde_SyncMl_ContentHandler->process() 
/usr/share/php/Horde/Rpc/Syncml.php:52
  3. xml_parse() /usr/share/php/Horde/SyncMl/ContentHandler.php:131
  4. Horde_SyncMl_ContentHandler->_endElement()


More information about the sync mailing list