I’m with a hoster that is specialized on Python/Django and supports simple HTML and PHP sites too (it is not HostEurope). They are willing to make PECL work, and I think it’s sensible to make it work globally on the server (and not just for PHP), because it can be used by other programming languages.
Now I’m curious: On the Admin / Geo Localization page I’ve selected “GeoIP (PECL)”, but the the grey box to the right of the option says: (translated from German)
According to your provider your current location is:
Note: The ‘geoip.custom_directory’ PHP ini option is set to ‘/usr/share/GeoIP/’.
The GeoIP implementation has access to the following database types: Country.
In Piwik under Visitors / Locations the Region and City tables show “unknown”. Only the Country table is filled in with usable data.
There are 3 files in
$ ls -lAF /usr/share/GeoIP/
-rw-r--r-- 1 root root 15966443 May 6 2015 GeoCity.dat
-rw-r--r-- 1 root root 1061883 Mar 17 2015 GeoIP.dat
-rw-r--r-- 1 root root 3949299 Mar 17 2015 GeoIPv6.dat
How do I get the Region and City tables filled in properly? Is the setup on the host broken?
P.S.: I’ve also noticed that MaxMind has a new database format (v2). Is this used by Piwik as of today?
P.P.S.: I’m using Piwik 2.16.0