Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: Carrot Cruncher on December 02, 2009, 07:23:28 AM

Title: google_contacts returns blank page
Post by: Carrot Cruncher on December 02, 2009, 07:23:28 AM
hi. i've just installed this plugin from trunk 3145 against 0.3.1 on two different systems. i followed the instructions in the php file and have configured my google account in the preferences. clicking on the "address book" link now returns a blank page. zend is definitely installed. any suggestions on what the problem could be or how i diagnose it ? cheers.
Title: google_contacts returns blank page
Post by: SKaero on December 02, 2009, 07:25:49 AM
Does the same thing happen on the SVN? Its there anything in the RoundCube logs?
Title: google_contacts returns blank page
Post by: rosali on December 02, 2009, 08:23:19 AM
Did you adjust roundcube database by adding google_contacts table?
Where is zend installed ... in a RoundCube include path?
Title: google_contacts returns blank page
Post by: Carrot Cruncher on December 02, 2009, 08:40:42 AM
hi. i found the problem. i simply copied and pasted from the info in the php file, including the typo in the path name :-)
(*) Copy and paste "Zend" folder into ./pogram/include
i renamed this dir to ./program/include and it worked. will pay more attention to what i'm doing in future. i've actually amended the line :
require_once './program/lib/Zend/Loader.php';
to :
require_once 'Zend/Loader.php';
on one system so it can pick it up from the default path, /usr/share/php in my case. thanks for the help.
Title: google_contacts returns blank page
Post by: Carrot Cruncher on December 09, 2009, 04:25:58 AM
i've just noticed that not all my google contacts are being displayed. i've checked them all out and i can't see any common theme to the ones not being displayed. again, i'm seeing the same results on two different installations. there are no errors in the logs this time. any suggestions as to how i can diagnose this problem ? cheers.
Title: google_contacts returns blank page
Post by: rosali on December 09, 2009, 06:06:20 AM
google_contacts.php#L273:

Does it display all your contacts if you add max-results query string?

http://www.google.com/m8/feeds/contacts/default/full?max-results=250

See Note here: Developer's Guide: Protocol - Google Contacts Data API - Google Code (http://code.google.com/intl/de/apis/contacts/docs/3.0/developers_guide_protocol.html#retrieving_without_query)
Title: google_contacts returns blank page
Post by: Carrot Cruncher on December 09, 2009, 07:22:01 AM
hi. yep. that seems to have fixed it. many thanks.
Title: google_contacts blank page
Post by: freeman1doma on April 02, 2010, 02:36:35 AM
I have analogic situation (fresh rcube 0.3.1).
After downloading last release of plugin google_contacts, correct adding mysql table to db, copy Zend into .program/include, edit conf to require_once 'Zend/Loader.php'; - result blank page in contacts and no any messages in error log of rcube. Anybody know how to fix this?