Author Topic: Google_Contacts Plugin displays no settings  (Read 9397 times)

Offline Simonx182

  • Newbie
  • *
  • Posts: 6
Google_Contacts Plugin displays no settings
« on: January 05, 2010, 05:25:07 PM »
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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Google_Contacts Plugin displays no settings
« Reply #1 on: January 06, 2010, 01:48:15 AM »
Settings -> Server Settings ... Don't you see a Google Contacts section?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Simonx182

  • Newbie
  • *
  • Posts: 6
Google_Contacts Plugin displays no settings
« Reply #2 on: January 06, 2010, 05:08:56 AM »
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
« Last Edit: January 06, 2010, 07:06:33 AM by Simonx182 »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Google_Contacts Plugin displays no settings
« Reply #3 on: January 06, 2010, 12:19:27 PM »
The sync is triggered when Addressbook is opened.
« Last Edit: January 07, 2010, 05:35:39 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Simonx182

  • Newbie
  • *
  • Posts: 6
Google_Contacts Plugin displays no settings
« Reply #4 on: January 07, 2010, 05:31:23 AM »
hmm. strange. Is there a way to tell roundcube to search the autosuggestions also in the google contacts?

Simon

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Google_Contacts Plugin displays no settings
« Reply #5 on: January 07, 2010, 05:35:24 AM »
Once the contacts are synced they should be included into the autocomplete list.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Simonx182

  • Newbie
  • *
  • Posts: 6
Google_Contacts Plugin displays no settings
« Reply #6 on: January 07, 2010, 07:29:35 AM »
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
« Last Edit: January 07, 2010, 07:36:32 AM by Simonx182 »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Google_Contacts Plugin displays no settings
« Reply #7 on: January 07, 2010, 07:36:28 AM »
Sync is resource consuming. So there is only one synchronization per session.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Kontuz

  • Newbie
  • *
  • Posts: 3
Google_Contacts Plugin displays no settings
« Reply #8 on: March 25, 2010, 07:38:29 AM »
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

Offline Simonx182

  • Newbie
  • *
  • Posts: 6
Google_Contacts Plugin displays no settings
« Reply #9 on: March 25, 2010, 03:20:49 PM »
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

Offline Kontuz

  • Newbie
  • *
  • Posts: 3
Google_Contacts Plugin displays no settings
« Reply #10 on: March 25, 2010, 04:32:08 PM »
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 ;)

Offline Kontuz

  • Newbie
  • *
  • Posts: 3
Google_Contacts Plugin displays no settings
« Reply #11 on: March 25, 2010, 04:40:45 PM »
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

Offline Simonx182

  • Newbie
  • *
  • Posts: 6
Google_Contacts Plugin displays no settings
« Reply #12 on: March 26, 2010, 01:52:03 AM »
Fine. Sometimes it's helpful to read what the error message says ;)