We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New accessory: CP Analytics

Development and Programming

Derek Hogue's avatar
Derek Hogue
317 posts
15 years ago
Derek Hogue's avatar Derek Hogue

Sorry guys – I just can’t reproduce this problem with credentials not validating.

Could someone try creating a fresh Google account, hook it up to Analytics, and try that to see if it’s account-specifc (as opposed to maybe server-speciifc)?

       
rt30000's avatar
rt30000
125 posts
15 years ago
rt30000's avatar rt30000

I was able to connect to this same GA account from another EE site (hosted on another server), so I don’t think it is the Google account.

       
Derek Hogue's avatar
Derek Hogue
317 posts
15 years ago
Derek Hogue's avatar Derek Hogue

OK, that’s a start … so can you tell me what the differences are between the two server environments?

       
rt30000's avatar
rt30000
125 posts
15 years ago
rt30000's avatar rt30000

The problematic one is on a Windows Server 2003 GoDaddy dedicated server. The one that works fine is setup on a GoDaddy hosting account, Linux server. Using the same GA account, linux-served site seems to be able to authenticate fine and list available profiles, Windows-based site will not. Is there something that gets posted into the db when you submit your GA username/pw that we can check for?

       
Derek Hogue's avatar
Derek Hogue
317 posts
15 years ago
Derek Hogue's avatar Derek Hogue

In the ext_extensions table, the ‘settings’ column should contain a serialized array. If peek inside it, there should be a ‘user’ value, a ‘password’ value (which will be base64-encoded), and an ‘authenticated’ value (this is set to ‘y’ if the credentials validate when saving the settings).

       
rt30000's avatar
rt30000
125 posts
15 years ago
rt30000's avatar rt30000

It looks like the database isn’t storing the information on submission? -> After submitting (and getting the authentication error) the username and password remain blank and authenticated remains “n”. This Google account is valid and does authenticate on a linux server with same account settings.

       
Derek Hogue's avatar
Derek Hogue
317 posts
15 years ago
Derek Hogue's avatar Derek Hogue

Would you be OK with giving me CP access so I could tinker for a minute? Perhaps FTP access as well?

       
Derek Hogue's avatar
Derek Hogue
317 posts
15 years ago
Derek Hogue's avatar Derek Hogue

Hey folks – rt30000 let me in to his server to troubleshoot this, and it turns to to be a problem with Windows servers which do not have OpenSSL enabled in php.ini. Enabling OpenSSL did the trick.

I just pushed a new version with a small fix that allows longer connection time when using fopen as well, in case the connection times out. It also notes the OpenSSL requirement in the readme now.

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.