Fatal error: require_once(): Failed opening required 'Google/Service/Drive.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/xxx/public_html/sites/all/libraries/google-api-php-client-git-version/src') in /xxx/public_html/sites/all/modules/droogle/droogle.module on line 275

In google-api-php the module doesn't find the Drive.php service. It is not in the service library.
Did I make anything wrong?

Comments

ConradFlashback created an issue.

ConradFlashback’s picture

I have installed the 1.17 version with also drive.php library in Service folder. https://github.com/google/google-api-php-client/releases/tag/1.1.7

It shows this error.
Fatal error: Class 'Google_Service' not found in /home/geometriim/public_html/sites/all/libraries/google-api-php-client-git-version/src/Google/Service/Drive.php on line 32

slipstreamer’s picture

I installed 1.17 version as you suggested but it was still displaying a server 500 error on the droogle page.

I found I also had to add on line 243 of the file droogle.module

require_once("Google/autoload.php");