• Resolved heredatedwp

    (@heredatedwp)


    Hello,

    I am not very knowledgeable on wordpress but I’ve just heredate an old wordpress and I’m trying to configure some plugins for security.

    I installed ip location block, and had it working for some weeks but I just wanted to load this plugin with mu-plugin as stated here https://iplocationblock.com/codex/i-still-have-access-from-blacklisted-country/ (because I didn’t want “false-positives” on wordfence) and after that change, everytime I want to make a change on “Ip location block” it says “You do not have sufficient permissions to access this page.”

    I indeed have permissions, because there is only one user in this wordpress, which is, of course, an admin and I can change options on other plugins

    As I don’t know what changes I have made to break this plugin, is there any way of manual delete all data and start a new clean installation?

    I cannot attach diagnostic information because when I click the button, It just does nothing… another buttons as export configuration, default settings doesn’t work neither

    PS: Sorry for bad english. Is not my main language

    • This topic was modified 7 months, 1 week ago by heredatedwp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darko G.

    (@darkog)

    Hey @heredatedwp ,

    To manually reset your settings, go to the database > wp_options and remove the IP Location Block settings. You can do that with the following SQL query.

    DELETE FROM wp_options WHERE option_name LIKE 'ip_location_block%'

    To run the code you can use PHPMyAdmin and by navigating to the SQL tab.

    Finally, you can remove the wp-content/mu-plugins/ip-location-block-mu.php file to deactivate the validation timing setting if you switched it before.

    Hope this helps.

    Best Regards,
    Darko

    Thread Starter heredatedwp

    (@heredatedwp)

    Hello,

    Thank you for your support. I followed your instructions and they made ip location block work again!

    I disable the plugin , run the mysql code and delete the plugin folder with a rm from terminal. The excepcion was the directory wp-content/mu-plugins/ was empty, I deleted ip-location-block from plugins.

    This is what i’ve done after installing again ip-location-block:
    I changed options to enable blacklist and add codes for countries. check save: Everything seems to work again.
    click save again: no problems.
    Enable mu-plugin again, click save: it seem to save settings.
    click save again: you don’t have permissions and mu-plugins folder is empty.

    so maybe something is not copying the file inside and it’s failing because that.

    Finally, for me it’s now fine without mu-plugins enabled, but I am willing to test if you want to debug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘no permissions to make changes’ is closed to new replies.