Piwik Geolocalization and GeoIPCity.dat problem

Hi,
I have PECL installed and the geolocation works perfectly for the countries, however, if I include GeoIPCity.dat in piwik/misc folder, when I go to the section of piwik Geolocation only a blank page is shown. If I rename GeoIPCity.dat to GeoIPCity.dat.new or delete the file, the geolocation page is displayed again in the piwik dashboard.
What can be happening?
Thanks for your help.
Best regards,
Francisco R.

Hi,

The blank page indicates a php error.

Can you check the php error log for errors?

Error log shows the following error:
[proxy_fcgi:error] [pid 16711:tid 140524694484736] [client 1xx.7x.12x.1xx:17591] AH01071: Got error ‘PHP message: PHP Fatal error: Cannot redeclare geoip_country_code_by_addr() in /var/www/vhosts/dominioxx.com/httpdocs/analytics/libs/MaxMindGeoIP/geoip.inc on line 1709\n’, referer: https://www.dominioxx.com/analytics/index.php?module=CoreAdminHome&action=home&idSite=1&period=day&date=yesterday

Thanks for your help.

Best regards,
Francisco R.

Is it possible you are using an fork of the geoip php extension?
It seems like you are running into the same error as

and

This problem is for over 1 year and has not yet been resolved. :frowning: