Has this been solved?
Running RC on a Bluehost shared server and all works well but the g_c plugin always throws an INTERNAL SERVER ERROR, with no error code.
RC 0.8.1
Grateful for any pointers.
Whats in the error log?
/rcinstall/error_log
I cleared the log, re-enabled the plugin, entered the g_c login info (which I know to be valid), click on AB/Google Contacts and it throws the error.
Return to the log, no entry showing.
debug_level is set to "1"
Running on what I think is Redhat at Bluehost:
PHP version 5.2.17
MySQL version 5.1.65-community-log
Architecture x86_64
Operating system linux
The error log should be in <RC root>/logs/errors
Thanks, that helped! Looks like a Zend issue; I'll have to work on it.
This is the error:
Quote[02-Sep-2012 12:58:22 -0600]: Plugin google_contacts: Zend GData API not installed (http://framework.zend.com/download/webservices)
I've tried following this page for the install but with no luck.
http://www.grosseosterhues.com/2011/08/adding-google-contacts-to-roundcube-webmail/#Installation_of_Zend_package (http://www.grosseosterhues.com/2011/08/adding-google-contacts-to-roundcube-webmail/#Installation_of_Zend_package)
Any pointers that might help?
What does your <RC root>/program/libs/ folder structure look like?
Your programs directory for Zend should look like this.
/roundcube/program/lib/Zend
Under Zend, you'll have a lot of other files and a few directories as well.
I've used this under RC8 and now RC9 Git. I can't remember if I had to make any changes to get it working, pretty sure 8 should be ok.
That's how it looks. Still no luck after re-loading the files and disabling, re-enabling it.
Zend: ZendGdata-1.12.0
Error log:
Quote[03-Sep-2012 04:42:47 -0600]: Plugin google_contacts: Zend GData API not installed (http://framework.zend.com/download/webservices)
[03-Sep-2012 10:42:47 UTC] PHP Fatal error: Class 'Zend_Gdata_ClientLogin' not found in /home1/myDomain/public_html/rc/plugins/google_contacts/google_contacts.php on line 578
(changed the user item in that string)
This is on a shared host at Bluehost.
Is there some way to test the Zend GData install? The directory structure appears to be correct.
Just download Zend GData, extract it and upload the Zend folder into your .../program/lib/ folder. That's all
I have a working version if you need it I can provide a download link if absolutely necessary.
I think I have that correct and now it throws a Bad Authentication error and causes Google to make me change my password as gmail thinks the login attempt is suspicious.
Error log:
Quote[08-Sep-2012 08:28:50 -0600]: PHP Error: Deprecated hook name. imap_init -> storage_init in /home1/myUsernameOnServer/public_html/rc/program/include/rcube_plugin_api.php on line 221 (GET /rc/?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1347114531132)
Which version of the plugin are you using?
I just tested it and I cannot replicate the bad authentication issue. Can you please try with our online demos?
RC: 0.8.1
G-C: google_contacts-2.11.tar.gz
Zend: ZendGdata-1.12.0
shared hosting at Bluehost
Sure, where are those demos?
Edited main.inc.php so google_contacts is th eonly plugin enabled:
Quote$rcmail_config['plugins'] = array('google_contacts');
Here are the latest error log entries:
Quote[08-Sep-2012 15:43:36 -0600]: Plugin google_contacts: Zend GData API not installed (http://framework.zend.com/download/webservices)
[08-Sep-2012 21:43:36 UTC] PHP Fatal error: Class 'Zend_Gdata_ClientLogin' not found in /home1/suiattl1/public_html/rc/plugins/google_contacts/google_contacts.php on line 578
Demos can be found at http://myroundcube.com
My signature has a link to one of them too.
Quote from: Yoni on September 08, 2012, 12:51:54 PM
Which version of the plugin are you using?
I just tested it and I cannot replicate the bad authentication issue. Can you please try with our online demos?
g_c 2.11
OK, problem solved, I guess.
Google kept thinking my account was being hacked so it force-changed my password every attempt. I finally sorted it out by going to this page:
http://support.google.com/mail/bin/answer.py?hl=en&answer=14257&p=client_login (http://support.google.com/mail/bin/answer.py?hl=en&answer=14257&p=client_login)
which in turn led me to item 3 in the list on that page:
http://www.google.com/accounts/DisplayUnlockCaptcha (http://www.google.com/accounts/DisplayUnlockCaptcha)
and it gives you a ten minute window to sign in the with google_contacts setup.
The README for this plugin needs an explanation about this potential I think.
Thanks for your patience!