Giter VIP home page Giter VIP logo

Comments (10)

 avatar commented on August 22, 2024

Hello, same issue.

I use Baïkal, working perfectly with iPhone but not with the RoundCube plugin. Error is probably because of PgSQL with affected_rows().

[08-Apr-2014 09:57:03 +0200]: v0.5.1 |  carddav_server_id: 3 | Starting CardDAV-Addressbook synchronization
[08-Apr-2014 09:57:03 +0200]: v0.5.1 |  carddav_server_id: 3 | Connected to the CardDAV-Server http://localhost/card.php/addressbooks/tinyfunk/default/
[08-Apr-2014 09:57:03 +0200]: v0.5.1 |  carddav_server_id: 3 | Added CardDAV-Contact to the local database with the vCard id 13EA3750-75DD1924-848F074C
[08-Apr-2014 09:57:03 +0200]: v0.5.1 |  carddav_server_id: 3 | Couldn't delete CardDAV-Contact from the local database with the vCard id
[08-Apr-2014 09:57:03 +0200]: v0.5.1 |  carddav_server_id: 3 | Syncronization complete!

from roundcube-carddav.

markuman avatar markuman commented on August 22, 2024

No problems here using Baikal 0.2.7 (sqlite setup) and Roundcube 1.0.0 (sqlite setup)

from roundcube-carddav.

yonyonson avatar yonyonson commented on August 22, 2024

@markuman What is your URI to get access to cardDav?
I am trying to set up sync in simular the same config (Roundcube 1.0.0 and Baïkal 0.2.7, both over mySQL) and there seems to be nothing sent at all (aceess logs on Baïkal side are not showing any requests). I will try to look further and figure out why there are no requests sent.

from roundcube-carddav.

markuman avatar markuman commented on August 22, 2024
https://BAIKAL.URL/card.php/addressbooks/USERNAME/default

from roundcube-carddav.

yonyonson avatar yonyonson commented on August 22, 2024

@markuman no reply and all quiet in httpd access logs :(
will try figuring out what is the reason and will tell if and when that's clear.

from roundcube-carddav.

yonyonson avatar yonyonson commented on August 22, 2024

@markuman ok, that was all my bad. Wrong password and error in cardDav URI was the reason there was no contact.
Thanks for your help, fetching contacts as we speak.

from roundcube-carddav.

asashi avatar asashi commented on August 22, 2024

I've more or less the same problem
Roundcube 1.0.0
Roundcube-carddav: v0.5.1
the plugin gets contacts from ownlcoud 6.0.3 and works perfectly in roundcube 9.5.0, but in rc 1.0.0 it works partially, I can see all the contacts in the autocompletion list, but in the addressbook I can see only the "first page", say the first 50 contacts, when I click the arrow to got to 51-100 contacts the list is empty, and so on for the others.

the very same plugin in rc 9.5.0 work smootly

from roundcube-carddav.

Finn10111 avatar Finn10111 commented on August 22, 2024

With Roundcube 0.9.5 the plugin worked fine, after upgrading to Roundcube 1.0.0 the Carddav plugin isn't working anymore. I truncated the carddav tables in my database and tried to readd and resync the contacts, now I get the following error message in my PostgreSQL logs:

FEHLER:  Spalte »carddav_contacts.name« muss in der GROUP-BY-Klausel erscheinen oder in einer Aggregatfunktion verwendet werden bei Zeichen 122
ANWEISUNG:  SELECT COUNT(*) FROM carddav_contacts
                WHERE
                    user_id = '1'
                AND
                    carddav_server_id = '7'

                ORDER BY
                    name ASC

Sorry, the error message is in German, but look at the query, does it make sense at all? It seems like Roundcube changed their database layout and Roundcube can't handle the changes..

from roundcube-carddav.

votacom avatar votacom commented on August 22, 2024

I have the same logs as @Finn10111 .

I have deleted all occurances of "ORDER BY name ASC" in carddav_addressbook.php, now listing of the contacts works. But the ordering no is obviously gone.

I think Roundcube's implementation of $rcmail->db->query has changed from 0.9 -> 1.0, causing the error.

from roundcube-carddav.

a-sassermann avatar a-sassermann commented on August 22, 2024

I think these are two diffenent issues, The first (could'nt delete card) is a bug in the syncronisation of the local db, the last is an error in the record counting method of rcube_db. Therse should be fixed in my pull request #77. I would be interested to hear if it works for you.

from roundcube-carddav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.