andeedee / gapi-google-analytics-php-interface

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

Trying to Run PHP with .Bat file - GAPI fails to authenticate user #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

Im trying to run a PHP Google Analytics script (using GAPI) that is ran using a 
.BAT file. I have successfully, through the browser done this and receiving 
results as expected.

However, when creating a .BAT file:

C:\wamp\bin\php\php5.3.4\php.exe 
C:\wamp\www\xxxxPhase2\Administration\Automation\GoogleAnalytics\gapi-1.3\google
_analytics_MCP.php

I get the message through the console saying: "GAPI: Failed to authenticate 
user"

Anyone have any ideas how to fix this?

Thanks

Original issue reported on code.google.com by craig.fi...@beyondanalysis.net on 11 Nov 2011 at 9:33

GoogleCodeExporter commented 9 years ago
Hello!

I've the same problem. 'GAPI: Failed to authenticate user.
Last month was it OK.

Do Google-Analytics change something?

Thanks!

Original comment by service....@googlemail.com on 16 Nov 2011 at 9:19

GoogleCodeExporter commented 9 years ago
Perhaps it's the same issue I encountered, if you are going through a proxy 
server you need to provide the details in the gapi.class.php file. Hope this 
helps.

Original comment by g1ngerni...@hotmail.com on 18 May 2012 at 3:13