After enabling Mod GeoLocation in the web control panel in 3.3.23 Running on CentOS 5.2 x86_64 standard I receive the following error
2008-12-28 02:06:05.047 ERROR Failed to open GeoIP DB file: /usr/share/GeoIP
2008-12-28 02:06:05.047 WARN Failed to setup a valid GeoIP DB file, Geolocation is disable!
I have checked the path to the .dat file and it is correct. I have also tried to download the latest build of the databases but it does not make any changes.
Comes back blank as I guess from the above error Geolocation is disable
Any ideas `
2008-12-28 02:06:05.047 ERROR Failed to open GeoIP DB file: /usr/share/GeoIP
2008-12-28 02:06:05.047 WARN Failed to setup a valid GeoIP DB file, Geolocation is disable!
I have checked the path to the .dat file and it is correct. I have also tried to download the latest build of the databases but it does not make any changes.
PHP:
$country_code = $_SERVER['GEOIP_COUNTRY_CODE'];
Comes back blank as I guess from the above error Geolocation is disable
Any ideas `