Results 1 to 8 of 8

Thread: Zpush+Zimbra All messages from Jan 18th 2038

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    9
    Rep Power
    5

    Default Zpush+Zimbra All messages from Jan 18th 2038

    All,

    I've got zpush setup and running on a CentOS box working wonderfully. The only issue thus far is that all messages are showing up from the date in the thread title. Appointments come across normally.

    Can anyone point me in the right direction? From, my searches, I've managed to confirm that this date is significant to the UNIX time standard in some way. from my searches "that date is, apparently, exactly 2^32 -1 seconds after the Unix epoch."

    Any ideas?

  2. #2
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    7

    Default

    I believe I have identified the problem with this. It relates to differences in how json_decode handles millisecond timestamps on different platforms/php versions.

    I re-posted Release 55 to the Sourceforge site late last night with a potential fix for this issue included.

    Please (re)download Release 55 and test to see if it addresses the issue for you.

  3. #3
    Join Date
    Oct 2010
    Posts
    9
    Rep Power
    5

    Default

    liverpoolcfan,

    Thanks very much for taking the time to look at this. I've installed the new version 55 and seem to be running into the same issue. For what its worth, I had the same issue as described here: http://www.zimbra.com/forums/mobilit...d-problem.html and resolved it as described. I mention this because it had to do with Json decoding.

    You mention in that thread that those fuctions should be standard in php, but I have two possible version available at this point. I'm currently using php-common, but php5.3 is also available. I chose common due to it allowing the flags to be added into the zpush alias file at /etc/httpd/conf.d/ If there is another way to do this without mod-php, I can just use php5.3 and maybe resolve this myself.

    edit: Is there anywhere I can make a donation for your work?

  4. #4
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    7

    Default

    So, did you get it working now ?

    php53 still uses apache mod_php, it is just a newer version of PHP. There are a couple of php-extensions that are not available from CentOS php-mcrypt and php-mhash come to mind but they are not needed by z-push. I haven't tried putting the directives in the conf.d folder - but don't see why it wouldn't work.

    I just uninstalled all php-* packages with yum, and installed the equivalent set of packages from the php53-* set and am running php 5.3 under CentOS 5.7 on my z-push server.

    If you want to donate to me, you can click on my username on the sourceforge site and there is a link on my profile page there. It would be very much appreciated.

  5. #5
    Join Date
    Oct 2010
    Posts
    9
    Rep Power
    5

    Default

    Quote Originally Posted by liverpoolfcfan View Post
    So, did you get it working now ?

    php53 still uses apache mod_php, it is just a newer version of PHP. There are a couple of php-extensions that are not available from CentOS php-mcrypt and php-mhash come to mind but they are not needed by z-push. I haven't tried putting the directives in the conf.d folder - but don't see why it wouldn't work.

    I just uninstalled all php-* packages with yum, and installed the equivalent set of packages from the php53-* set and am running php 5.3 under CentOS 5.7 on my z-push server.

    If you want to donate to me, you can click on my username on the sourceforge site and there is a link on my profile page there. It would be very much appreciated.
    Just got it working by switching to php53. I worked around the modphp issue by just putting the directives in a php.ini file in the z-push root. Thanks very much for your help, I'll be sending a donation your way!

  6. #6
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    7

    Default

    Excellent. Delighted you got it working.

    Can you explain what exactly the modphp issue you have is, as it might help others.

    By the way, you should be able to use a .htaccess file in the z-push root instead of a php.ini if you don't want to have multiple php.ini files hanging around.

Similar Threads

  1. repeat emails with zpush
    By manulpz in forum Zimbra Mobile
    Replies: 1
    Last Post: 02-26-2013, 10:19 AM
  2. Replies: 2
    Last Post: 09-23-2010, 12:55 PM
  3. Replies: 0
    Last Post: 09-19-2010, 10:56 PM
  4. Replies: 8
    Last Post: 01-17-2010, 02:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •