Roundcube Community Forum

 

google_contacts internal server error

Started by lobsterman, September 01, 2012, 09:03:44 PM

Previous topic - Next topic

lobsterman

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.

SKaero


lobsterman

/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

SKaero

The error log should be in <RC root>/logs/errors

lobsterman

Thanks, that helped! Looks like a Zend issue; I'll have to work on it.

lobsterman

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

Any pointers that might help?

SKaero

What does your <RC root>/program/libs/ folder structure look like?

Volnhar

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.

lobsterman

#8
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.

lobsterman

Is there some way to test the Zend GData install? The directory structure appears to be correct.

Yoni

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.

lobsterman

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)

Yoni

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?

lobsterman

#13
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