art1c0 / mooha

Automatically exported from code.google.com/p/mooha
0 stars 0 forks source link

can't sync, server error #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using thunderbird3
2. funambol tb extension from https://mozilla-
plugin.forge.funambol.org/servlets/ProjectDocumentList?
folderID=160&expandFolder=160&folderID=159
3. serverside: ubuntu lucid

[14-Apr-2010 06:44:26] PHP Fatal error:  SyncmlException: Request is 
unreadable in /var/www/mooha_server0.21b/inc/MoohaServer.php on line 293
...SyncmlException: Request XML couldn't be parsed due to some libxml 
errors:
...LIBXML Fatal error 4: Start tag expected, '<' not found on line 1(1)
...input:
No DTD found for /63
 in /var/www/mooha_server0.21b/inc/MoohaServer.php on line 288
 in /var/www/mooha_server0.21b/config.php on line 58
[14-Apr-2010 06:44:26] PHP Stack trace:
[14-Apr-2010 06:44:26] PHP   1. moohaExceptionHandler() 
/var/www/mooha_server0.21b/config.php:0
[14-Apr-2010 06:44:26] PHP   2. trigger_error() 
/var/www/mooha_server0.21b/config.php:58
[14-Apr-2010 06:44:26] PHP Fatal error:  SyncmlException: Request is 
unreadable in /var/www/mooha_server0.21b/inc/MoohaServer.php on line 293

Original issue reported on code.google.com by igorett...@gmail.com on 14 Apr 2010 at 4:47

GoogleCodeExporter commented 9 years ago
Seems this client doesn't support WBXML and even doesn't warn about with 
correct HTTP-header.
Try to add a new key into $config array:
'forceFormat' => 'XML'
and sync again.

Original comment by artico.b...@gmail.com on 15 Apr 2010 at 8:49

GoogleCodeExporter commented 9 years ago
thank you, that fixed it.

Original comment by igorett...@gmail.com on 15 Apr 2010 at 12:03