• Resolved Marisa

    (@marisa2023)


    After working perfectly for months, the plugin says “Sorry, you are not allowed to access this page” when I go to Settings and click “Update now” or “test ip detection lookup”.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Marisa

    (@marisa2023)

    The library works fine from the regular WordPress site to get location from the IP address.

    But it only fails on the admin pages.

    On the settings page there is a link to https://mysite.com/wp-admin/tools.php?page=geoip-detect/geoip-detect.php

    This fails. It generates the “Sorry, you are not allowed to access this page.” warning.

    But if I type in https://mysite.com/wp-admin/tools.php?page=geoip-detect the browser address page it works.

    This probably means you changed the admin page slugs .

    • This reply was modified 1 month, 1 week ago by Marisa.
    Thread Starter Marisa

    (@marisa2023)

    The fact that:
    /wp-admin/tools.php?page=geoip-detect works
    The “Test IP Detection Lookup” button generates /wp-admin/tools.php?page=geoip-detect/geoip-detect.php
    That URL produces “Sorry, you are not allowed to access this page.”

    Thread Starter Marisa

    (@marisa2023)

    I checked the box “Maxmind GeoIP Lite City (Automatic download & update)” . This used to work and it worked for months. Now it complains it cannot overwrite the current file. This may be related to the bad slugs / urls.

    Plugin Author Benjamin Pick

    (@benjaminpick)

    Yes indeed I changed the admin page slugs and did not test it thouroughly enough, sorry. It is fixed now in 5.6.4 (also the issue with the automatic download).

    Thread Starter Marisa

    (@marisa2023)

    Many thanks for fixing this so quickly.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.