Hi Greg,
I also have this problem but:
– On my dev site: I can download the database from my personal dev server with NO problem.
– On my production site: I can NOT download the database from my web hosting provider always with the same error:
Error downloading GeoIP database from: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz – Forbidden
By the way, I can download the compressed file with this URL, so the “Forbidden” is not related to the URL.
Both versions of my website are hosted with nearly the same PHP settings:
– PHP: 5.3.28 (5.3.10 on my personal dev server)
– WP Statistics: 7.0.1
– PHP Safe Mode: No
– jQuery Version: 1.11.0
– cURL Version: 7.21.0 (7.22.0 on my personal dev server)
– BC Math: Installed
When I manually upload the extracted database (“GeoLite2-Country.mmdb” file) in the “/wp-content/uploads/wp-statistics” folder of my production site, WP Statistics loads correctly the database…
I tried to change “/wp-content/uploads/wp-statistics” permissions, with no success! Even with “777”. This folder may not be the cause.
It is a bit hard to debug because WP Statistics admin messages disappear too fast (less than half a second!). And I’m not sure to fully reset WP Statistics settings by disabling / uninstall / reinstall the extension…
So I’m affraid I’ve got a permission problem with the temp folder that WP Statistics uses to download the GeoLite2-Country.mmdb.gz archive file. What is this temp folder?
Regards,
Johan