Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google analytics stopped working when deployed on vps #5

Closed
Edwin-Luijten opened this issue Oct 3, 2012 · 4 comments
Closed

Google analytics stopped working when deployed on vps #5

Edwin-Luijten opened this issue Oct 3, 2012 · 4 comments

Comments

@Edwin-Luijten
Copy link

Google analytics stopped working when deployed on vps (it worked on local machine and no information has been changed):

Unhandled Exception
Message:

GAPI: Failed to authenticate user. Error: "Request failed, fopen provides no further information"

Location:

D:\www_Staging\le-feu\bundles\cms\libraries\gapi.php on line 418

@redbaron76
Copy link
Owner

That sounds strange. There is no relation between gapi library (php) and Analytics plugin (js).
Did you set analytics account parameters correctly in 'settings.php'?

@Edwin-Luijten
Copy link
Author

I double checked the account parameters they are both the same.

@Edwin-Luijten
Copy link
Author

After further investigating, i have a 64bit server and it seems the curl module is not compatible and is not loaded. so it uses fopen instead (maybe there goes something wrong while using fopen).

I'm going to correct these problems with my sever installation, and hope it solves the problem.

@Edwin-Luijten
Copy link
Author

It was indeed an incorrect version of the curl extension :). Problem is fixed.
Link to correct version of 64bit curl extension: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants