Needs work
Project:
Droogle
Version:
7.x-2.0-beta4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2012 at 23:29 UTC
Updated:
16 Aug 2012 at 18:44 UTC
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
Comment #1
barnettech commentedthank 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.
Comment #2
barnettech commentedI 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.
Comment #3
robby.griffin commentedThe 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.