
12-27-2008, 11:33 PM
|
|
New Member
|
|
Join Date: Dec 2008
Posts: 1
|
|
Geolocation is disable even when it is set to be enabled
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.
PHP Code:
$country_code = $_SERVER['GEOIP_COUNTRY_CODE'];
Comes back blank as I guess from the above error Geolocation is disable
Any ideas `:-)
|