Author Topic: google_contacts gives me a HTTP 500 error  (Read 6915 times)

Offline bedollandres

  • Newbie
  • *
  • Posts: 5
google_contacts gives me a HTTP 500 error
« on: January 21, 2010, 01:46:42 PM »
I only installed the 'settings' and 'google_contacts' plugins. I go to the server settings and select Use Google Contacts, when I go to "Address Book" I get a HTTP 500 error.  I uploaded the "Zend" folder to "/rc3/program/lib/Zend/" (rc3 is the folder I have roundcube installed...)

I do have the config.inc.php file in the config folder of the google_contacts folder. I didn´t change anything in this file...

I also ran the script to generate the table google_contacts in MySQL.

What else do I need to check?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
google_contacts gives me a HTTP 500 error
« Reply #1 on: January 21, 2010, 03:25:04 PM »
First of all you have to check your logs /logs/errors
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bedollandres

  • Newbie
  • *
  • Posts: 5
PHP Warning
« Reply #2 on: January 21, 2010, 04:01:29 PM »
THis is what I get:
Code: [Select]
PHP Warning:  require_once(./program/lib/Zend/Loader.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/adbedlau/public_html/rc3/plugins/google_contacts/google_contacts.php on line 258


line 258 is:
Code: [Select]
require_once './program/lib/Zend/Loader.php';

I have the Zend folder in this path:
Code: [Select]
/home/adbedlau/public_html/rc3/program/lib/Zend

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
google_contacts gives me a HTTP 500 error
« Reply #3 on: January 21, 2010, 04:07:35 PM »
So, require_once(./program/lib/Zend/Loader.php) does not load Zend library. Make sure that it is loaded by adjusting the path. I can not take care for all auto loads which depend on your settings. Let me know what you've done to get it loaded.
« Last Edit: September 30, 2010, 07:45:27 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bedollandres

  • Newbie
  • *
  • Posts: 5
google_contacts gives me a HTTP 500 error
« Reply #4 on: January 21, 2010, 04:49:46 PM »
well, I got it to load (Loader.php) but then it wouldn't load the rest of the files like Http/Response, etc.

Offline bedollandres

  • Newbie
  • *
  • Posts: 5
google_contacts gives me a HTTP 500 error
« Reply #5 on: January 21, 2010, 05:15:28 PM »
I also get:
require_once(Zend/Http/Response/Stream.php)

But I don´t have the "Response" folder nor the "Stream.php" it didn´t come in the zip file I got from Zend

Offline bedollandres

  • Newbie
  • *
  • Posts: 5
google_contacts gives me a HTTP 500 error
« Reply #6 on: January 21, 2010, 05:21:59 PM »
I commented out that line from the "Client.php" file and it is working now...

How can I define to only see "MyContacts" from my google account insteand of showing me "All" the contacts?
Also if a contact in google has two emails (home and work) and see two contacts in roundcube each one with the home or the work email... In future releases could it be posible to customize this?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
google_contacts gives me a HTTP 500 error
« Reply #7 on: January 22, 2010, 01:37:35 AM »
I can make it to see only MyContacts in future release. The second thing is due to the poor Roundcube Addressbook backend. It allows only one email address per contact. So I have to show a contact for each address. It is on the ToDo's of Roundcube devs to enhance the addressbook section of Roundcube. We have to wait.
« Last Edit: September 30, 2010, 07:46:31 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)