Page 12 of 105 FirstFirst ... 210111213142262 ... LastLast
Results 111 to 120 of 1048

Thread: Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

  1. #111
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    698
    Rep Power
    6

    Default

    Quote Originally Posted by barkas View Post
    I had to roll back to 27, 28 breaks somewhere with MfE and I don't know where and how - debug.txt remains empty of errors and the phone says "System Error".
    I am using a Nokia, and have revision 28 running with no new problems.

    Did you do a "Full resync" on the phone ?

    I have gotten the same symptoms as you over multiple revisions of the backend code, and have found that whenever I load a new copy of zimbra.php I need to restart the HTTP server, and then do a full resync of the client from the Mail for Exchange application on the phone. The System Error disappears after that.

    Quote Originally Posted by andywhy View Post
    Revision 28 works quite good...

    Push functionality is working fine, but debug.txt is flooded realy fast about 100MB per 10 min, ...
    On the amount of logging in debug.txt ...

    Firstly, great job gnosbush on clearing up most of the "undefined" error messages. There is one line "debugLog(print_r($array,true));" at line 630 that was left uncommented which causes a huge amount of the logging. Just add // in front of the line to reduce it considerably.


    I am finding that Always On is not usable from Nokia.

    I used to get error messages with older revisions that would simply not allow Always On to work at all.

    Now it works, and updates pretty quickly. However, I also see that at least the Nokia client constantly queries the backend for full Folder State updates. I thought there was some ping message that was supposed to trigger the requirement for a Folder State update. It certainly does not seem to be working this way from the Nokia. The result is that there is a huge amount of needless data passing back and forth - and battery life/data charges would be seriously impacted.

    I do have a WM 6.5 phone too - so will fire it up and see if I see the same or different behaviour from that.

  2. #112
    barkas is offline New Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    5

    Default

    I didn't do that, and I'll try it again with 29 - until then my patched 27 works well.

    I kinda lack the motivation to debug 28 only 2 days after I debugged and fixed 27 for me.

  3. #113
    gnosbush is offline Active Member
    Join Date
    Jun 2009
    Posts
    38
    Rep Power
    5

    Default

    Besides me, is anyone using a Palm Pre/Piki with the Zimbra backend?

  4. #114
    powrrrplay is offline Special Member
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    i am using a pre.

    btw, is anyone using 1.3RC3 with zimbrabackend? I can't get it working so am using RC2
    Guest Ubuntu 12.04LTS x64 and Zimbra 8.0.5
    Host CentOS 6.4 x64 :: KVM :: LVM :: Hardware RAID

  5. #115
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    698
    Rep Power
    6

    Default

    Quote Originally Posted by powrrrplay View Post
    btw, is anyone using 1.3RC3 with zimbrabackend? I can't get it working so am using RC2
    I am using it with no problems.

    What issues are yu having ?
    Did you do a full restart on the web server after you loaded it ?

  6. #116
    andywhy's Avatar
    andywhy is offline Intermediate Member
    Join Date
    Mar 2010
    Location
    /Earth/Europe/Germany/Lower\ Saxony/Hannover
    Posts
    22
    Rep Power
    5

    Default

    Ok, now i've solved the debug.txt growing issue for me, by commenting out most of the debugLog in zimbra.php. The Problem with the recurring appointments is rather strange, when a recurring appointment is created inside zimbra webclient, it is synced to cellphone as non recurring. Debug.txt shows

    Code:
    04/15/10 11:58:01 [3002] /var/www/z-push/backend/zimbra.php:977 Undefined index:   (8)
    04/15/10 11:58:01 [3002] /var/www/z-push/backend/zimbra.php:977 Trying to get property of non-object (8)
    04/15/10 11:58:01 [3002] /var/www/z-push/backend/zimbra.php:1065 Undefined index:  at_attribute_a (8)
    When i change the time of the apponitment, by moving the entry in webclients calendar, the appointment is synced to cellphone with the new time and the RECURRENCE

    debug.txt shows:
    Code:
    04/15/10 11:59:50 [3002] Sync folder:Calendar
    04/15/10 11:59:50 [3002] END GetMessageList { count = 9 }
    04/15/10 11:59:50 [3002] END GetMessageList { count = 79 }
    04/15/10 11:59:50 [3002] /var/www/z-push/backend/zimbra.php:977 Undefined index:   (8)
    04/15/10 11:59:50 [3002] /var/www/z-push/backend/zimbra.php:977 Trying to get property of non-object (8)
    04/15/10 11:59:50 [3002] /var/www/z-push/backend/zimbra.php:1061 Undefined index:  or_attribute_d (8)
    04/15/10 11:59:50 [3002] /var/www/z-push/backend/zimbra.php:1065 Undefined index:  at_attribute_a (8)
    04/15/10 11:59:50 [3002] end
    Everytime the recurrence is synced from zimbra to cellphone, the error

    Code:
    04/15/10 11:59:50 [3002] /var/www/z-push/backend/zimbra.php:1061 Undefined index:  or_attribute_d (8)
    is displayed in debug.txt, when it is not synced this line is missing... maybe this helps debuging

    Creating an appointment with recurrence on cellphone is always synced as recurring appointment to zimbra in the first step...

    Another strange behavior: debug.txt is flooded with

    Code:
    04/15/10 12:00:19 [3002] /var/www/z-push/backend/zimbra.php:589 Undefined index:  f (8)
    Greetings,
    Andy
    Last edited by andywhy; 04-15-2010 at 03:20 AM.

  7. #117
    powrrrplay is offline Special Member
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    Quote Originally Posted by liverpoolfcfan View Post
    I am using it with no problems.

    What issues are yu having ?
    Did you do a full restart on the web server after you loaded it ?
    Nothing happens. So I went to my browser and navigated to the sync domain.

    w/RC2 i get a login id and password request and
    w/RC3 i get a blank screen
    Guest Ubuntu 12.04LTS x64 and Zimbra 8.0.5
    Host CentOS 6.4 x64 :: KVM :: LVM :: Hardware RAID

  8. #118
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    698
    Rep Power
    6

    Default

    Quote Originally Posted by powrrrplay View Post
    Nothing happens. So I went to my browser and navigated to the sync domain.

    w/RC2 i get a login id and password request and
    w/RC3 i get a blank screen
    Getting nothing at all suggests that there may be permissions issues preventing the web server reading all of the necessary files. Have you checked all the file permissions on the files/folders to be sure that they are the same for RC3 as they were for RC2 ?

    And, double-check that have you made the updates to config.php again to specify BackendZimbra, and all the ZIMBRA options, and added the zimbra.php into the backend folder, etc.

  9. #119
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    698
    Rep Power
    6

    Default Mobile Phone Company Directory Search

    I have just finished an implementation of the GetSearchResults function for the zimbra.php backend.

    Please test, update, modify as required, and add to the the official build if you are happy with it.

    Look for the GetSearchResults function
    Code:
        function getSearchResults($searchquery) {
            return false;
        }
    and replace it with the following code
    Code:
        function GetSearchResults($searchquery, $searchrange) {
    
            debugLog( 'START getSearchResults: [' . $searchquery . ']' );
            debugLog( 'START getSearchResults: [' . $searchrange . ']' );
    
            $type = "all";  // Can be set to "account" to not return Locations/Resources
    
            $soap = '<SearchGalRequest xmlns="urn:zimbraAccount"  type="'.$type.'">
                      <name>' . $searchquery . '</name>
                     </SearchGalRequest>';
    
             $rows = array();
             
            $response = $this->SoapRequest($soap);
            if($response) {
              $array = $this->MakeXMLTree($response);
    //                    debugLog(print_r($array,true));
    
              $items = $array['soap:Envelope'][0]['soap:Body'][0]['SearchGalResponse'][0]['cn'];
              $total = sizeof($items);
              
              debugLog( "Found [" . $total . "] matches" );
              
              for ($i=0;$i<$total;$i++) {
    
                $username = $items[$i]['fileAsStr'];
                $attributes = $items[$i]['a'];
                $attributeNames = $items[$i]['a_attribute_n'];
    
                $attributeCount = sizeof( $attributes);
    //              debugLog( "Got [" . $attributeCount . "] attributes" );
                
                $firstname = "";
                $lastname = "";
                $fullname = "";
                $businessphone = "";
                $emailaddress = "";
                  
                for ($j=0;$j<$attributeCount;$j++) {
    
                  switch($attributeNames[$j]) {
    
                    case 'firstName':
                      $firstname = $attributes[$j];
                      break;
                    case 'lastName':
                      $lastname = $attributes[$j];
                      break;
                    case 'fullName':
                      $fullname = $attributes[$j];
                      break;
                    case 'email':
                      $emailaddress = $attributes[$j];
                      break;
                    case 'workPhone':
                      $businessphone = $attributes[$j];
                      break;
                    default:
                  }
    
                }
                $rows[] = array(   "fullname"=>$fullname, 
                                  "businessphone"=>$businessphone,
                                  "username"=>$username,
                                  "emailaddress"=>$emailaddress,
                                  "firstname"=>$firstname,
                                  "lastname"=>$lastname );
                }
    //           debugLog(print_r($rows,true));
    
              }
    
    
    
              debugLog('END getSearchResults');
              
              return $rows;
    
        }
    I have tested with a WM 6.5 phone and my Nokia E-71.

    Note - I have not implemented paging for huge arrays of responses. I do not need them, as our GAL is short.
    Last edited by liverpoolfcfan; 04-20-2010 at 06:01 AM. Reason: commented out debugLog of $rows

  10. #120
    DJ-Marcuzz is offline Junior Member
    Join Date
    Aug 2009
    Posts
    6
    Rep Power
    5

    Default

    Hi,

    I'm currently using the 10-04-2010 build of the backend and must say im really happy with it!
    I just have one little problem: It does not sync profile pictures from my phone to the server. The other way around did work once. I added pictures to all my contacts on the phone, they stayed for a day or 2 and now they are gone. Goes for the comments of a contact (HTC uses them to make them a favorite contact). they remove them selfs to.
    (I'm using the z-push svn checkout of last weekend)

    Is this a problem on my end, or is this not implemented yet (and if so, are there plans for it?)

    Kind regards, and many thanks to the developers!
    -Marcus

Page 12 of 105 FirstFirst ... 210111213142262 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. fatal: parameter "smtpd_recipient_restrictions"
    By Robin in forum Administrators
    Replies: 8
    Last Post: 12-22-2010, 05:48 AM
  2. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  3. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  4. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  5. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM

Posting Permissions

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