Just tried this on another website on a completely different web server (running php 5.1.6) and it worked great, first time.Glad it worked out on another server. I wonder if maybe the first server was lacking cURL and had fopen disabled? One of the two are required to authorize.
Hi there,
I’ve finally got this extension working on that particular server! 😊 Although both fopen and Curl were listed as being enabled in the phpinfo, I noticed in the Apache settings that CurlSSL and Curlwrappers weren’t enabled. Enabling these seems to have done the trick.
Thanks for the great extension and look forward to the EE2 accessory when you get a chance to look at this! 😉
Having a funky problem w/ this extension: When I try to save the settings, I get the good ol’ white screen of death.
fopen and cURL are enabled. Any ideas?
FWIW, I have the same problem with Seeries - when I try to save any settings, I get a white screen. Haven’t been able to sort that out either.
thx!
Dylan - hmm, not sure what could be causing that then. Perhaps an extension conflict. If you’re able to disable all other extensions, you could give that a try.
In other news, I just updated the extension to version 1.1.5, which adds hourly caching of “today’s” stats (ported from the necessary work on the forthcoming 2.0 accessory), along with a few other small fixes..
For interested folks, I just released the EE2 accessory version of Analytics Panel, called CP Analytics. Check out the forum thread or find it on GitHub.
Would there be any reason why 1 server running PHP 5.2.4 can’t authenticate whereas if I use all the same settings on a server running PHP 5.2.9 there are no problems.
allow_url_fopen is on/on cURL support enabled on both servers. Used the same google username/pass for both servers.
GA Plugin 1.1.5 EE 1.6.8 on both - although the working one is build 20090723, the non-working one is build 20100121 Error message is: Couldn’t authenticate with the credentials provided.
There are different extensions in each site, but I’m not getting any white screen issues or php error messages. Just the authentication problem. I’ve reuploaded all the files a couple times. Even changed my GA account password.
Works like a charm on one, but not the other. Anything else I can look for?
Marc – that’s an odd one. I can’t think of anything that might be causing this. I’ve got version 1.1.5 running just fine on all recent 1.6.8 builds.
If you’re comfortable digging around i some code, the GAPI class that’s included with the extension (in the /lib/ folder) has some commented-out exception throws in it. You could uncomment these and see if you could track f=down where exactly the authentication is failing. (Look in the authenticateUser() and httpRequest() functions.)
Did something change? Perhaps on Google’s end?
This extension stopped working for me on all the sites I had it going.
If I got to the extension settings, it says I’m authenticated, but there are no profiles to choose from in the drop down. On a site where I hadn’t set this up yet, it won’t authenticate me.
On the sites it was working, it’s now returning all zeros and a php error at the bottom of the CP GA panel:
Viewing profile
Notice: Undefined index: id in /home/site/public_html/wcp/lib/analytics_panel/analytics_panel_display.php on line 87
(
Notice: Undefined index: title in /home/site/public_html/wcp/lib/analytics_panel/analytics_panel_display.php on line 87
)Marc – nothing’s changed on Google’s end, and the extension is working elsewhere. Did your host downgrade you to PHP < 5 maybe? Unless you somehow broke the API limit:
– 10,000 requests per 24 hours (this limit applies to a single web property) – 10 requests in any given 1-second period (this limit applies across all queries an application makes to the API)
I have over 100 website profiles attached to three analytics accounts that are all under one Google Analytics username. It seems that Google Analytics Panel has a limit of 100 profiles. I can’t choose all the profiles i want in “Choose an Analytics profile” dropdown. Is this a limitation in the extension or API?
Thanks
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.