• Resolved eddyferns

    (@eddyferns)


    After successfully logging in through the Ninja firewall leads to the WordPress login page. Then upon entering the WordPress login credentials it loops back to the initial Ninja firewall login form.

    Therefore I am unable to access the WordPress Dashboard.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author nintechnet

    (@nintechnet)

    You can temporarily rename (or delete) the /wp-content/nfwlog/cache/bf_conf.php script used by the login protection.

    eddyferns

    (@eddyferns)

    Thank you for your reply.

    If I delete the php file will the Ninja and WordPress login forms work normally as before?

    Plugin Author nintechnet

    (@nintechnet)

    It will delete the firewall “Login Protection” configuration. Rename it instead and see if that solves the problem. WordPress won’t be affected.

    eddyferns

    (@eddyferns)

    By renaming I am able to login to WordPress. But the Ninja firewall login page did not load. How can I get it to work again?

    Plugin Author nintechnet

    (@nintechnet)

    You’ll need to reconfigure it, or restore the bf_conf.php script.

    eddyferns

    (@eddyferns)

    How do I restore the bf_conf.php script?

    Plugin Author nintechnet

    (@nintechnet)

    Rename it back to bf_conf.php and check if it works. If it doesn’t work, try to reconfigure the login protection. If it still doesn’t work, make sure you didn’t install a plugin lately that messes with PHP sessions.

    Renaming didn’t work. Did not install any plugin that affects php.

    Which part of login protection do I need to configure?

    Plugin Author nintechnet

    (@nintechnet)

    -If NinjaFirewall is disabled, can you log in?

    -Try to enable the PHP error log in your WordPress wp-config.php:

    Search for: define('WP_DEBUG', false);
    Replace with: define('WP_DEBUG', true);

    Also, add this line below: define( 'WP_DEBUG_LOG', true );

    The error log (if any) will be located in “/wp-content/debug.log”.

    The Login Protection does not seem to be the problem, if you renamed it and that didn’t solve the issue, it is not related to it. You could rename the file back to bf_conf.php to restore your configuration.

    -Which plugins and theme are installed on that blog?

    -See also this discussion: https://wordpress.org/support/topic/brute-force-protection-enabled-unable-to-login/

    -Can you try to log in with another browser or from another device?

    • This reply was modified 2 months, 3 weeks ago by nintechnet.

    Yes, I can login after disabling Ninja.

    The plugins are the same when Ninja was working normally. No new plugins have been added.

    Anyway I have managed to resolve the issue after removing certain session lines in the php.ini.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.