Sometimes, when GEOIP is enabled, you may see a notification about the Maxmind GEO IP Database not being downloaded yet. On the dashboard, you may encounter this warning:
You have enabled GEO IP, but the GEO IP database hasn’t been downloaded automatically.
This might happen if the server does not allow the file to be copied, the download times out, or your memory limit is too low to copy the file. When this occurs, you can add the database yourself through FTP:
1. Downloading the Maxmind Database for GEO IP Functionality
Download the Database here.
2. Adding the Maxmind Database to the Complianz Privacy Suite
2.1 Login to your FTP
2.2 Upload the Downloaded File to the Following Directory:
Upload the file to:
/wp-content/uploads/complianz/maxmind/
If the folder structure does not exist, you’ll need to create the folders on your server.
2.3 Check if the Notification Is Still There
After uploading, check the Complianz dashboard to see if the notification is still appearing.
If this solution doesn’t fully resolve the issue, please follow step 3.
3. Manually Upload the Maxmind DB (if the issue persists)
If the notification remains despite uploading the file, you may need to manually update the path where the database is stored. This can be done by adding a custom PHP snippet or using an MU plugin.
Update the Option with a Custom PHP Snippet
Add the following PHP snippet to your site. You can do this by either creating an MU-plugin (must-use plugin) or using a plugin like WP Code to add custom snippets.
This snippet updates the Complianz options to use the correct path for the database file.
Once Installed, the Notification Should Disappear
After adding the PHP snippet and ensuring it’s correctly installed, the notification in the Complianz dashboard should disappear. At this point, you can remove the custom MU plugin/snippet.