• Resolved shinri

    (@shinri)


    As it says in the title.
    It worked before but the country stats are not displayed any more.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I can confirm, sadly that this is true. All location info is basically null now. Every location comes up as “unknown” in all recent records (going back at least 2 weeks on my end here fwiw).

    Hopefully this can be fixed soon ??

    FYI, before certain folks come here and simply paste a helpful URL to the “fix”, please note:

    I’ve already signed up for Maxmind, changed my password, downloaded the archive file, renamed the database from Geolite2-City.mmdb to maxmind.mmdb and uploaded it to wp-content/uploads/wp-slimstat as stated in the official Slimstat help pages.

    It doesn’t work. ??

    Plugin Contributor toxicum

    (@toxicum)

    @thescarletfire If you like, you can download the plugin version which supports the MaxMind license key (even if it is not merged yet into the main plugin repo) from https://github.com/robertoschwald/wp-slimstat/archive/pr_maxmind_license_key_support.zip

    Then:
    1. Backup your existing files from plugins/wp-slimstat to a save location (important!)
    1. Unpack the downloaded zip file
    1. Upload the following files to the plugin dir to replace the existing files:
    – admin/config/index.php
    – vendor/maxmind.php
    – wp-slimstat.php

    With this, you see the license key field in the maintenance settings tab. Enter your MaxMind license key, disable and re-enable MaxMind. It should immediately download and activate the MaxMind db.

    Please note: This is just a workaround until the developer reviews and merges the PR (or comes up with his own solution).

    No reaction so far from the developer.
    See https://github.com/slimstat/wp-slimstat/pull/5

    • This reply was modified 5 years, 1 month ago by toxicum.

    === POTENTIAL FIX ===
    Hi all, I found a simple workaround that worked for me.

    What seems to happen is that the plugin periodically decides there’s a problem with the MaxMind data and deletes the entire geo file (maxmind.mmdb). From then on there’s no geo reference, so all the data comes back empty.

    Every time I re-uploaded the maxmind.mmdb file, it got deleted within a short time by the plugin.

    To fix this, I uploaded the Maxmind file again as per the plugin instructions and then made the folder “wp-content/uploads/wp-slimstat” not-writeable (permissions octal 505). This stops the plugin from deleting the geo file, and hopefully it won’t cause new problems.

    So far so good. Hopefully it will work for you too.

    Plugin Contributor toxicum

    (@toxicum)

    The pr mentioned on my previous post now leaves an existing db on the server until a new db was downloaded successfully.

    To install the proposed MaxMind license key support for now as a workaround, see https://github.com/slimstat/wp-slimstat/pull/5#issuecomment-583119369

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘MaxMind Geolocation not working’ is closed to new replies.