Roundcube Community Forum

 

Google_Contacts Plugin displays no settings

Started by Simonx182, January 05, 2010, 05:25:07 PM

Previous topic - Next topic

Simonx182

Hey there,

I activated the google_contacts plugin in Roundcube but I can't see any changes in the configuration pages. Initialy I got errors like (PHP Error: Failed to load config from ...) but that one is fixed. But now I get no error message anymore. Other plugins work correctly like before.

I followed all the steps in the google_contacts.php file.
I've copied the Zend folder to the exact folder, created the table in the database, registered the plugin in the main-file and renamed the dist file...

Any suggestions how I can find the error?

Thx
Simon

rosali

Settings -> Server Settings ... Don't you see a Google Contacts section?
Regards,
Rosali

Simonx182

#2
omg.. didn't look there :( I always waited for a new tab...
Now I activated Google Contacts but in Adress book under Google Contacts is only 1 entry (my googlemail email adress) but in the google contacts should be 120 entries.

Are these contacts always updated when I open the contacts in in the adressbook, or is there an other trigger to do that?

Thanks for the fast reply.

UPDATE: Suddenly it worked. So the question now: when and how is the sync triggered?


Simon

rosali

#3
The sync is triggered when Addressbook is opened.
Regards,
Rosali

Simonx182

hmm. strange. Is there a way to tell roundcube to search the autosuggestions also in the google contacts?

Simon

rosali

Once the contacts are synced they should be included into the autocomplete list.
Regards,
Rosali

Simonx182

#6
I think I'm going crazy :D .. tried it yesterday and it didn't worked. Today it works.

But I think there are some troubles with the updates of the contacts in roundcube, because, I made a new contact in Googlemail, opened Roundcube - Contacts and refreshed the google contacts sections a couple of times, but it didn't change. Same thing when I delete a contact in Googlemail.

Do you think that Google refreshes their api entries later?

Update: I think there are some problems with the sessions. Closed the browser and reopened roundcube and tadda.... everything is uptodate. I always made a browser refresh before (Ctrl + F5).
What do you think about that theory?

Thanks for your time Roland

rosali

Sync is resource consuming. So there is only one synchronization per session.
Regards,
Rosali

Kontuz

Hello, I know the problem has been solved, but I have a question for Simonx182, you said that you solved your problem with PHP Error: Failed to load config from ... I have the same problem and I would like to know how you have done it.
Thanks

Simonx182

Phuuh. Long time ago... Make shure that all paths are correct.
I think it was a problem with the zend framework. Make shure that you copied it to "/program/lib/Zend/" and check if you have a config file (rename config.inc.php.dist to config.inc.php in the config folder).
Can you post the complete error message so I may remember a bit more.

Cheers
Simon

Kontuz

Well, everything seems to be ok, the error is:
PHP Error: Failed to load plugin file /var/www/webmail/plugins//google_contacts/google_contacts.php

Does it help you ?

Thanks ;)

Kontuz

I found the solution ! That's only because the permissions wasn't correctly set.
I allowed the access to the file and it worked.
Thanks for your help and good day.
Kontuz

Simonx182

Fine. Sometimes it's helpful to read what the error message says ;)