I did the following:

  1. Unpacked and enabled the current Droogle download, 7.x-2.0-beta6
  2. Downloaded the current version of Zend Gdata from the zend site, Version 1.12.0
  3. Configured Droogle at admin/settings/droogle
    • I'm using a single, simple google apps account to host all docs. I entered the following data:
    • My apps domain
    • A new default title
    • The single username I want to use
    • That user's Google Apps password
    • Saved the settings and got an error that I was told to ignore since I don't have OG
  4. Visited /droogle, and got the errors below.

Errors:

  • Notice: Undefined offset: 1 in droogle_get_login_info() (line 300 of /f5/baynardhouse/public/sites/all/modules/Droogle/droogle.module).
  • Notice: Undefined offset: 1 in droogle_get_folders() (line 415 of /f5/baynardhouse/public/sites/all/modules/Droogle/appsapis.inc).
  • Notice: Undefined offset: 1 in droogle_get_login_info() (line 300 of /f5/baynardhouse/public/sites/all/modules/Droogle/droogle.module).
  • Notice: Undefined offset: 1 in droogle_print_collections() (line 484 of /f5/baynardhouse/public/sites/all/modules/Droogle/appsapis.inc).
  • Notice: Undefined variable: the_docs in _droogle_get_docs() (line 571 of /f5/baynardhouse/public/sites/all/modules/Droogle/droogle.module).

It seems like it isn't loading any settings. I don't even see the title that I entered.

So where did I go wrong?

CommentFileSizeAuthor
Capture.PNG31.08 KBtwistednexus

Comments

twistednexus’s picture

It seems it takes the domain name from after the @ sign in the username and not the domain box. After double entry, it seems to avoid my initial error.

It still seems like its missing data. It only shows one file for each top level folder and non of the child folders. Perhaps there are more issues with Gdata or the new Gdrive formats?

barnettech’s picture

They have been changing the API a bit and then even have changed it back within a day or so! I will check it again soon, I was hoping to let them make their final touches before checking again to avoid constantly fixing it only to have them change it again. The Drupal 6 version has had no problems, so I will check the D7 version again shortly to check on it.

vidichannel’s picture

Title: Install without OG » Almost the same problem with beta7

On /droogle page, getting this:

    Notice: Undefined offset: 1 in droogle_get_login_info() (line 300 of /var/www/tool/sites/all/modules/Droogle/droogle.module).
    Notice: Undefined offset: 1 in droogle_get_folders() (line 415 of /var/www/tool/sites/all/modules/Droogle/appsapis.inc).
    Notice: Undefined offset: 1 in droogle_get_login_info() (line 300 of /var/www/tool/sites/all/modules/Droogle/droogle.module).
    Notice: Undefined offset: 1 in droogle_print_collections() (line 484 of /var/www/tool/sites/all/modules/Droogle/appsapis.inc).
    Notice: Undefined variable: the_docs in _droogle_get_docs() (line 578 of /var/www/tool/sites/all/modules/Droogle/droogle.module).

Should I try dev?

cfischer50’s picture

Version: 7.x-2.0-beta6 » 7.x-2.0-beta10

What is the status on this? I am getting this with beta10:

Strict warning: Declaration of Zend_Gdata::import() should be compatible with Zend_Gdata_App::import($uri, $client = NULL, $className = 'Zend_Gdata...', $useObjectMapping = true) in include_once() (line 45 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/Zend/Gdata.php).
Notice: Undefined offset: 1 in droogle_get_login_info() (line 300 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/droogle.module).
Notice: Undefined offset: 1 in droogle_get_folders() (line 415 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/appsapis.inc).
Notice: Undefined offset: 1 in droogle_get_login_info() (line 300 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/droogle.module).
Notice: Undefined offset: 1 in droogle_print_collections() (line 484 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/appsapis.inc).
Notice: Undefined variable: the_docs in _droogle_get_docs() (line 549 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/droogle.module).
Strict warning: Only variables should be passed by reference in droogle_show_docs() (line 246 of /home/presbyte/public_html/droogle/sites/all/modules/Droogle/droogle.module).

Should I downgrade? Or figure out if I have the wrong version of Zend. Will post that in a separate issue.