The GeoIP City database file is not available at /usr/share/GeoIP/GeoIPCity.dat!
When I updated to 7.x-1.0-alpha4, the above error appeared.
I downloaded the GeoLite City database, but I am not allowed to upload files outside of my home directory on my shared server.
Comments
Comment #1
gashev commented> The GeoIP City database file is not available at /usr/share/GeoIP/GeoIPCity.dat!
It's says that geoip extension installed, but GeoIPCity.dat does not exist to /usr/share/GeoIP folder. Ask your hosting provider about correct geoip settings.
Comment #2
roball commentedWhat gives
?
Comment #3
susgeek commentedThere is no geoIP directory in the share folder. I don't have the authorisation to create it, or to write files.
Is there a way to save the dat file somewhere in my home directory where the module could find it?
Comment #4
susgeek commentedComment #5
roball commentedThis is not possible since the geoip PHP extension and its configuration is loaded when the webserver process is started. Later there is no way to "reload" the DB from another location. This is good for best speed.
If your provider has the geoip PHP extension installed but not properly configured he should really fix the configuration, otherwise enabling the extension would be useless.
Comment #6
gashev commented