Maxmind database won't download properly
Hi, I’ve just installed StatComm and I’m trying to download the Maxmind database by clicking on the link “Click to start downloading” on the Advanced tab.
After waiting for a few minutes as it downloads, I get these results, which look good:
2013-05-23 12:38:27 PM – Preparing a first time install of the Maxmind GeoLiteCity database
2013-05-23 12:38:27 PM – PHP Memory Limit is 128M, increasing is not needed.
2013-05-23 12:38:27 PM – GeoliteCity size is about 10 MB.
2013-05-23 12:38:27 PM – The download time depends on your server download speed.
2013-05-23 12:38:27 PM – A timeout can happen if the download takes more than 2 minutes.
2013-05-23 12:38:27 PM – Getting file from server…
2013-05-23 12:40:27 PM – Done. Saving gzip file to disk…
2013-05-23 12:40:27 PM – Done. Decompressing file…
2013-05-23 12:40:27 PM – Done.
2013-05-23 12:40:27 PM – GeoLiteCity.dat successfully saved and ready to use
However, when I go back to the Advanced tab again, there is this text in red:
Unable to open Maxmind database(incorrect version?)
I’ve looked into the “def” folder inside the plugin directory using an FTP client. There I can see a file called GeoLiteCity.dat with a size of 0 KB. I’ve tried deleting that file and downloading again, but it just comes back with a size of 0 KB each time.
I’ve also changed the permissions to 777 on the def folder, but no joy there either.
Why is it not working?
Incidentally, is Statcomm supposed to download the Maxmind database periodically so as to always have the latest version of it? Or do I need to manually download it on a regular basis?
- The topic ‘Maxmind database won't download properly’ is closed to new replies.