GeoIp

Error opening database file /public_html/libraries/geoip/G​eoLite2-City.mmdb - Is this a valid MaxMind file?

1 year 10 months ago #79123

Dan Atrill's Avatar Dan Atrill

Hello

I've seen an explanation for this previously but just trying to understand, does the correct GeoLite2-City.mmdb file get downloaded from maxmind.com after the extension is installed? When I try and update GeoIP from the Regular Labs Extension Manager I always get an error and the .mmdb file is empty when I check.

I've just downloaded the latest file, GeoLite2-City_20180403.tar.gz and the website is up and working again.

1 year 10 months ago #79124

Peter van Westen's Avatar Peter van Westen Admin

Yes, it tries to download and update the mmdb file from maxmind.com.
If that fails, it is probably due to file size limits in your php configuration.

1 year 10 months ago #79125

Dan Atrill's Avatar Dan Atrill

OK - that makes more sense. We have an upload limit of 24Mb and the mmdb file is around 55Mb. I'll get this updated and check again.

Thanks, Dan