runt18 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

API not working #838

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Deprecated: google-api-php-client's autoloader was moved to vendor/autoload.php 
in 2.0.0. This redirect will be removed in 2.1. Please adjust your code to use 
the new location. in 
/home/www-data/www/test/google-api-php/src/Google/autoload.php on line...

Fatal error: Class 'Google_Auth_AssertionCredentials' not found in 
/home/www-data/www/test/google-api-php/aaa.php on line...

Original issue reported on code.google.com by rebit.pr...@gmail.com on 28 Dec 2015 at 12:23

GoogleCodeExporter commented 8 years ago
Hello,
Please use the stable release branch v1-master:

    git clone -b v1-master https://github.com/google/google-api-php-client.git

if you would like to use the development v2 branch. You will need to update 
your require/include statements:

    require_once 'vendor/autoload.php';

-Matt

Original comment by mcoh...@google.com on 28 Dec 2015 at 7:11