Zpush issue with Carddav?

Hi,
I was wondering if someone could clear me the issue im having, if its a zpush 2.4.4 or nextcloud?
Currently using nextcloud 14.03 working great with zpush. The issue im having is that the contacts do not sync with zpush. Whats odd is that the calendar, tasks work perfectly. I checked the error logs but nothing odd
EDIT:
So after troubleshooting more i figured out something is odd with the combined backend i tried with a carddav app on android perfectly worked then saw another error

       /var/www/zpush/src/backend/carddav/carddav.php:570 Undefined offset: 0 (8)

when i copy the URL of the contact page on next cloud

https://mail.mydomain.com/remote.php/dav/addressbooks/users/myusername/contacts/

so in theory the carddav url should be like this

  // ************************
        //  BackendCardDAV settings
    // ************************

 // Server protocol: http or https
 define('CARDDAV_PROTOCOL', 'https');

  // Server name
   define('CARDDAV_SERVER', 'mail.mydomain,.com');

 // Server port
  define('CARDDAV_PORT', '443');

// Server path to the addressbook, or the principal with the addressbooks
//  If your user has more than 1 addressbook point it to the principal.
   //  Example: user test@domain.com will have 2 addressbooks
   //      http://localhost/caldav.php/test@domain.com/addresses/personal
//      http://localhost/caldav.php/test@domain.com/addresses/work
   //      You set the CARDDAV_PATH to '/caldav.php/%u/addresses/' and personal and work will be autodiscovered
  // %u: replaced with the username
 // %d: replaced with the domain
 //   Add the trailing /
   define('CARDDAV_PATH', '/remote.php/dav/addressbooks/users/%u/contacts/');


  // Server path to the default addressbook
   //  Mobile device will create new contacts here. It must be under CARDDAV_PATH
 // %u: replaced with the username
   // %d: replaced with the domain
   //   Add the trailing /
 define('CARDDAV_DEFAULT_PATH', '/remote.php/dav/addressbooks/users/%u/contacts/');

       // Server path to the GAL addressbook. This addressbook is readonly and searchable by the user, but it will NOT be synced.
  // If you don't want GAL, comment it
      // %u: replaced with the username
     // %d: replaced with the domain
      //  Add the trailing /
      define('CARDDAV_GAL_PATH', '/remote.php/dav/addressbooks/users/%u/contacts/');

        // Minimal length for the search pattern to do the real search.
       define('CARDDAV_GAL_MIN_LENGTH', 5);

     // Addressbook display name, the name showed in the mobile device
  // %u: replaced with the username
      // %d: replaced with the domain
      define('CARDDAV_CONTACTS_FOLDER_NAME', '%u Addressbook');


    // If the CardDAV server supports the sync-collection operation
     // DAViCal and SabreDav support it, but Owncloud, SOGo don't
      // SabreDav version must be at least 1.9.0, otherwise set this to false
   // Setting this to false will work with most servers, but it will be slower: 1 petition for the href of vcards, and 1                   petition for each vcard
      define('CARDDAV_SUPPORTS_SYNC', true);


    /          / If the CardDAV server supports the FN attribute for searches
    // DAViCal supports it, but SabreDav, Owncloud and SOGo don't
   // Setting this to true will search by FN. If false will search by sn, givenName and email
   // It's safe to leave it as false
   define('CARDDAV_SUPPORTS_FN_SEARCH', false);


      // If your carddav server needs to use file extension to recover a vcard.
    //    Davical needs it
  //    SOGo official demo online needs it, but some SOGo installation don't need it, so test it
     define('CARDDAV_URL_VCARD_EXTENSION', '.vcf');

Or did i do something wrong?

Thank you

after debugging a while i found this not sure if d/contacts is the issue

                  14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] ZPush::GetAdditionalSyncFolderStore('d/contacts'): 'false'
            14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] Combined->Setup('', 'false', '', 'false')
            14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] Combined->Setup() success
           14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] ZPush::GetAdditionalSyncFolderStore('d/contacts'):  'false'
       14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] Combined->Setup('', 'false', '', 'false')
           14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] Combined->Setup() success
           14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] Combined->GetExporter('d/contacts')
        14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] ExportChangesDiff->InitializeExporter(): Initializing message diff engine. '0' messages in state
       14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] BackendCardDAV->GetMessageList('contacts', '')
      14/10/2018 12:50:53 [ 4016] [ INFO] [sistemas] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'contacts'
     14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] LoopDetection->ProcessLoopDetectionAddStatus: 'd/contacts' with status 1
      14/10/2018 12:50:53 [ 4016] [DEBUG] [sistemas] HandleSync: No changes found for Contacts folder id 'd/contacts'. Omitting output

SOLVED: I had to install apt-get install php5-xsl then reboot and remove the account to readd it

@killmasta93 said in Zpush issue with Carddav?:

I had to install apt-get install php5-xsl

Maybe you want to consider switching from a source install over to the installation packages, these should pull in all dependencies as nessesary.

Thanks for the reply, did not know that zpush has its own source? compatible with ubuntu 14.04?

Yes, there are also packages for Ubuntu 14.04: https://wiki.z-hub.io/display/ZP/Installation

Although given that there won’t be support for 14.04 for less than a year I would not setup anything new with that os.

Thank you will keep that in mind