Skip to content
xbgmsharp edited this page Mar 9, 2013 · 2 revisions

PHP-Push-2

PHP-Push-2 is Z-Push - Open Source ActiveSync - from svn upstream with caldav and cardav backend.

It is develop using Ubuntu 12.04LTS and Debian Squeeze.

It is test against iOS5.1.1 and Android emulator 2.3.3/4.0.

How to debug

Edit config.php change:

define('LOGLEVEL', LOGLEVEL_INFO);

to

define('LOGLEVEL', LOGLEVEL_DEBUG);

Then add your username to the specialLogUsers array:

$specialLogUsers = array()

to

$specialLogUsers = array('sogo1')

Then you will have a file with your username in the s-push log directory.

Then empty the log file:

    $ > /var/log/z-push/sogo1.log

Now force a resync by run the following command:

    $ php z-push-admin.php -a list
    $ php z-push-admin.php -a clearloop -d DEVICE -u USERNAME
    $ php z-push-admin.php -a resync -d DEVICE -u USERNAME

Then you can send me your log file e.g: '/var/log/z-push/sogo1.log'

To filter on specifc problem (in the example CalDAV), you can run the following command.

    $ egrep "WBXML|CalDAV" /var/log/z-push/sogo1.log > log_to_send.txt

FAQ

If you have any issue, please read the FAQ

TODO

If you want to help, please check the TODOs planned

Clone this wiki locally