Hi
nothing particular on the phone, but you can debug z-push by creating a
debug.txt file under state directory (chmod 777 debug.txt)
I also put debug of the class_webdav_client.php in this file, so you can see
under CalDAV::OUTPUT3_process_respond: the response of sogo for contact and
even like this:
12/26/10 15:46:04 [4528] CardDAV::StatMessage(contacts,
750-4D174E00-1-22903AC0.vcf)
12/26/10 15:46:04 [4528] CalDAV::OUTPUT3_process_respond: array (
'status' =>
array (
'reason-phrase' => 'Multi-Status ',
'status-code' => '207',
'http-version' => 'HTTP/1.1',
),
'header' =>
array (
'date' => 'Sun, 26 Dec 2010 14',
'server' => 'SOPE 4.9.37/WebDAV',
'pragma' => 'no-cache',
'cache-control' => 'no-cache',
'ms-author-via' => 'DAV',
'content-length' => '1450',
'content-type' => 'text/xml; charset="utf-8"',
'x-dav-error' => '200 No error',
'connection' => 'close',
),
'body' => '<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:ap="http://apache.org/dav/props/"
xmlns:D="DAV:"><D:response><D:href>
http://192.168.0.12/SOGo/dav/oeufdure/Contacts/personal/</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:getlastmodified>Sun, 26 Dec 2010 15:46:04
+0100</D:getlastmodified><D:getetag>"None"</D:getetag><D:resourcetype><D:collection
/><vcard-collection xmlns="http://groupdav.org/" /><addressbook
xmlns="urn:ietf:params:xml:ns:carddav"
/></D:resourcetype><D:getcontenttype>httpd/unix-directory</D:getcontenttype><D:displayname>Carnet
d\'adresses personnel</D:displayname><D:href>
http://192.168.0.12/SOGo/dav/oeufdure/Contacts/personal/
</D:href><ap:executable>0</ap:executable></D:prop></D:propstat></D:response><D:response><D:href>
http://192.168.0.12/SOGo/dav/oeufdure/Contacts/personal/750-4D174E00-1-22903AC0.vcf</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:creationdate>Sun, 26 Dec 2010 15:16:34
+0100</D:creationdate><D:getcontentlength>135</D:getcontentlength><D:getlastmodified>Sun,
26 Dec 2010 15:16:34
+0100</D:getlastmodified><D:getetag>"gcs00000000"</D:getetag><D:resourcetype/><D:getcontenttype>text/x-vcard</D:getcontenttype><D:displayname>jean
valjean</D:displayname><D:href>
http://192.168.0.12/SOGo/dav/oeufdure/Contacts/personal/750-4D174E00-1-22903AC0.vcf
</D:href><ap:executable>0</ap:executable></D:prop></D:propstat></D:response></D:multistatus>',
)
So for now, i try to find a way to debug android phone to understand why it
doesnt understand the event that it recieve from z-push.
Fabrice
2010/12/27 David Cure <[email protected]>
> Hello,
>
> some another tests :
>
> Le Sun, Dec 26, 2010 at 09:47:25PM +0100, Fabrice Durand ecrivait :
> >
> > So after that i was trying to sync contact, and enjoy it work in the 2
> ways
>
> I install your z-push version, create account on my n1 (Android
> 2.2.1) : I configure to not synchronise mail, just Contacts. I clic on
> Contacts to start the sync and nothing appears.
> Do you made something on the phone to sync contacts ?
>
> > Android to SOGo : OK
>
> I create one account on the phone, and can sync to SOGo.
>
> How can I help to debug ?
>
> David.
> --
> [email protected]
> https://inverse.ca/sogo/lists
>
--
[email protected]
https://inverse.ca/sogo/lists