zpush with n900 pr1.2 not working anymore

Thorsten Schnebeck thorsten.schnebeck at gmx.net
Fri Jun 25 01:04:58 CEST 2010


Am Donnerstag 24 Juni 2010, 00:57:36 schrieb Alexander Schröter:
> Am 23.06.2010 23:38, schrieb Divan Santana:
> > On Wednesday 23 June 2010 23:11:28 Divan Santana wrote:
> >    
> >> I've tried setting up the zpush and Nokia MfE for the N900 multiple times
> >> and  can't seem to get anything to sync.
> >>
> >> If the calendar is the only thing that currently works could someone email
> >> a  brief howto on simply how to get this working and exactly what versions
> >> of what to use?
> >>      
> > Finally got calendar syncing working! Yey!
> >
> > Re-did whole procedure. In the end I had to edit /kolab/var/kolab/www/z-
> > push/config-kolab.php and change define("KOLAB_MODE",1); so that it uses
> > foldermode.
> >
> > Also I used zpush z-push-1.2.3.tar.gz + backend_0_4.zip and the example file
> > provided http://wiki.kolab.org/index.php/Z_push for /kolab/var/kolab/www/z-
> > push/config-kolab.php .
> >
> >
> > As far as I know there is no way to sync the n900 with Kolab for
> > contacts/tasks using zpush/MfE or syncml . I'll just wait patiently... :)
> >    
> Contacts should work too ... they have been and they work on my system.

Does this patch help to sync contacts again?

Looks good for me and speeds up sync by a notable factor:


--- z-push-1.2.3.vanilla/request.php    2010-06-25 00:55:39.000000000 +0200
+++ z-push-1.2.3-patched/request.php    2010-06-25 00:55:15.000000000 +0200
@@ -381,6 +381,9 @@
             $collection["maxitems"] = $decoder->getElementContent();
             if(!$decoder->getElementEndTag())
                 return false;
+       }
+       else {
+            $collection["maxitems"] = 100;
         }
 
         if($decoder->getElementStartTag(SYNC_OPTIONS)) {

Credits go to z-push forum ;-)
http://z-push.sourceforge.net/phpbb/viewtopic.php?f=7&t=1002&p=4310&hilit=N900#p4310

Bye

  Thorsten




More information about the users mailing list