when enabling Droogle on a clean drupal install (7.14), I get the following errors (after putting the block in the content section (Bartik)):

Fatal error: Call to undefined function og_context()
This was resolved after installing og
Fatal error: Call to undefined function libraries_get_path()
This was resolved after installing libraries

However both og and libraries are not mentioned as depencies

Also: Strict warning: Only variables should be passed by reference in droogle_show_docs()

Comments

barnettech’s picture

thank you I will look at these errors. I will make libraries a dependency and will make it so OG is not a dependency. I haven't seen that Strict warning ... I'll try to reproduce it.

barnettech’s picture

Status: Active » Needs review

I just pushed tag 7.x-2.0-beta4 which contains fixes for this issue. We're not actually using the D7 version yet so thank you for providing the QA/Feedback.

robby.griffin’s picture

Version: 7.x-2.0-beta3 » 7.x-2.0-beta4
Priority: Critical » Minor
Status: Needs review » Needs work

The two errors you addressed seem to be fine (though I already had both installed on mine. However, the strict error is still occurring if you have a newer version of PHP (I have 5.3.9). It is caused at line 233 of droogle.module. The fix is extremely simple. Make it this:

if (user_access('upload google docs')) {
$droogleform = drupal_get_form('droogle_upload_form');
$content .= drupal_render($droogleform);
}

and make sure to clear your cache a couple times afterward (I saw another error for a moment after, but it disappeared on cache clearing.

Great module overall. I'll probably have more to say soon as I've just discovered it.