Title: WordPress login issue
Last modified: September 1, 2016

---

# WordPress login issue

 *  Resolved [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/)
 * Hi Ninja,
 * I am unable to log into the WordPress Dashboard.
 * To explain, I successfully log pass the Ninja firewall and then the WordPress
   login. But instead of displaying the Dashboard it reverts to the Ninja firewall
   for login again.
 * All I get are the login pages alternatively.
 * Regards,
    Ed
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/wordpress-login-issue-7/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-login-issue-7/page/2/?output_format=md)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577255)
 * You can try to disable the Login Protection by deleting (or renaming) this file:“/
   wp-content/nfwlog/cache/bf_conf.php”
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577276)
 * I am sorry I did not get this.
 * I need to have ninjafirewall with the Login Protection.
 * And why is this happening?
 * Ed
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577319)
 * Disable the protection as indicated in my previous message, log in and re-enable
   it from the ‘Login Protection’ menu.
    Then, try to log out/log in again to see
   if the issue still occurs.
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577351)
 * I did exactly what you’ve said but still a new bf_conf.php gets created again.
 * So it goes in a loop.
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577365)
 * It is created when you re-enable the protection from the ‘Login Protection’ menu.
   
   Do you have a problem with PHP session? Check in the “Overview” page if there
   is any error or warning about session. Does the “Live Log” feature work? Do you
   have another security plugin that deals also with the login process?
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577369)
 * I had taken this matter to my hosting company. They have found that the plugin
   for some reason got corrupted. So they deactivated the plugin after sorting out
   the issue and ask me to activate the plugin again.
 * After activating it I get the following message twice, line over line:
 * User session – It seems the user session was not set by the firewall script or
   may have been destroyed by another plugin. You may get blocked by the firewall
   while working from the WordPress administration dashboard.
 * I do not use any other security plugin, and neither do I use a cache plugin.
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577428)
 * Is that message gone or always displayed in the ‘Overview’ page?
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577454)
 * My hosting company has managed to resolve the issue. They said it was on account
   of the ninja’s php.ini file.
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577551)
 * Sorry to reopen this issue as it is occuring again. The Ninjafirewall login and
   WordPress login are going in a loop, that I am unable to access the WP dashboard.
 * In the system overview the message displays again line over line:
 * User session – It seems the user session was not set by the firewall script or
   may have been destroyed by another plugin. You may get blocked by the firewall
   while working from the WordPress administration dashboard.
 * Admin user James(you are whitelisted by the firewall)
 * Regards,
    Ed
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577555)
 * It looks like you’re having again an issue with PHP session.
    Could you ask your
   host how did they solve the issue last time it occurred and what was the problem?
   That would help to understand what’s happening.
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577556)
 * In the php.ini file in the root folder they have commented out session.save_handler
   and session.save_path
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577559)
 * What is the value for both directives?
 * You would need to ask your host for help about that. Just tell them your PHP 
   scripts don’t seem to be able to handle PHP session.
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577561)
 * The value for directives:
    #session.save_handler = memcache #session.save_path
   = “tcp://xxx.xxx.xxx.xxx:11211?persistent=0&weight=1&timeout=5&retry_interval
   =15”
 * After they have commented out I am able to access the WP Dashboard, but only 
   after logging in twice each i.e. ninjafirewall and WP login.
 * And sometimes when I logout of the WP Dashboard, the ninja login page loads, 
   wherein I have to enter login to ninja in order to log out of the WP dashboard
   else I still remain logged in to the WP Dashboard. And sometimes I just get successfully
   logged of the WP Dashboard without the ninja login page showing up.
 * All this is very unusual.
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577562)
 * I can see you already had a similar issue last year: [https://wordpress.org/support/topic/installation-152](https://wordpress.org/support/topic/installation-152)
 * They disabled memcache, but normally it should work with it. Here is a old thread:
   [https://wordpress.org/support/topic/ispconfig](https://wordpress.org/support/topic/ispconfig)
 *  Thread Starter [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * (@eddyferns)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-login-issue-7/#post-7577596)
 * Sorry for this late reply. I had to attend pressing matters.
 * The last year the issue was pertaining to installation. Could not continue with
   that issue then as I was in process of changing the theme.
 * This time the installation is successful except for the login issue. Now I have
   to login most times twice each for Ninja and WP before I get access to the WP
   Dashboard. When I logout I have to again enter Ninja login credentials to log
   out of the WP Dashboard.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/wordpress-login-issue-7/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-login-issue-7/page/2/?output_format=md)

The topic ‘WordPress login issue’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 27 replies
 * 2 participants
 * Last reply from: [eddyferns](https://wordpress.org/support/users/eddyferns/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/wordpress-login-issue-7/page/3/#post-7577627)
 * Status: resolved