TulioBento / gapi-google-analytics-php-interface

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

examples bugs #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Some examples have:
$ga = gapiClientLogin->authenticate(ga_email,ga_password);
but right code is:
$ga = gapiClientLogin::authenticate(ga_email,ga_password);

And in example.account.php example:
Notice: Undefined variable: google_results in gapi.class.php on line 254
Notice: Trying to get property of non-object in gapi.class.php on line 254
Notice: Undefined variable: google_results in gapi.class.php on line 255
Notice: Trying to get property of non-object in gapi.class.php on line 255

Original issue reported on code.google.com by scippi...@gmail.com on 27 Jul 2009 at 12:06

GoogleCodeExporter commented 9 years ago
On line 276 in the gapi.class.php add:

$google_results = $xml->children('http://schemas.google.com/analytics/2009');

Original comment by george.anchev on 13 Aug 2009 at 9:54