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
geoip.inc error in 2.9.0-b8 [Cannot redeclare geoip_country_code_by_name()] #6636
Comments
Getting same error when trying to run the unit tests in PHP 5.3. Same for MaxMind GeoIP v1 seems to be outdated. Maybe it makes sense to work on #4487? |
@tsteur it's bad that the piwik is broken, then I guess we should revert the IPv6 pull request before release? or do you see a way to fix the php 5.3 behavior prior to release on Thursday? |
Would probably revert for 2.9.0 and then try to add GeoIP v2 in next version in case this one works with PHP 5.3. I tried to patch the lib and already added like 10
|
@tsteur Ok thanks for the hint. would you be able to revert those commits by any c?hance |
I think so, there is a button for this in GitHub UI ;) Edit: Done. See PR |
+1 for trying geoip V2 it would be nice if this worked across all php versions! in issue #4487 |
revert was successful |
After update to 2.9.0-b8 Piwik stopped tracking. In my logs the following error notice occured:
2014/11/10 17:58:31 [error] 4069#0: *127577 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/xxxxxxx/libs/MaxMindGeoIP/geoip.inc on line 1593" while reading response header from upstream
I could fix it by using an older version of geoip.inc.
The text was updated successfully, but these errors were encountered: