Viewing 8 replies - 1 through 8 (of 8 total)
  • Initially host lockouts are temporarily and expire after (default) 15 minutes.

    However it is possible (from a not locked out host) to log into WP Dashboard and manually release lockouts in the “Release Lockouts” section of the iTSec plugin Dashboard page.

    Lockouts occur because of bad logins or 404 pages (if 404 Detection is enabled).

    If you have enabled the “Blacklist Repeat Offender” checkbox,
    a host will be (permanently) banned after 3 lockouts (from the same ip address).

    A banned host is listed in the (Apache web server) .htaccess file.
    To undo a banned host manually remove the relevant lines for the ip address from the .htaccess file.

    dwinden

    Thread Starter chetan0412

    (@chetan0412)

    Thank you so much for reply,

    earlier i was able to lockout manually.

    but now i am getting below error at iThemes Security – Dashboard

    MySQL Client Version:
    Fatal error: Call to undefined function mysql_get_client_info() in /plugins/better-wp-security/core/content/system.php on line 70

    how to resolve this error.

    Create a backup copy of the better-wp-security/core/content/system.php file.
    Then edit your better-wp-security/core/content/system.php file.

    Search for:

    mysql_get_client_info

    and replace with:

    mysqli_get_client_info

    Save the change and then retry.

    What PHP version are you using ?
    According to the online PHP manual, the mysql extension is deprecated since PHP 5.5.0. But I know it works since I’m using PHP 5.5.15.
    Anyway it is better to use mysqli or PDO_MySQL.

    dwinden

    Thread Starter chetan0412

    (@chetan0412)

    Ohh thank you so much.. now error gone.

    Just for my info, what PHP version are you using ?
    It could also be that the mysql extension is simply not loaded in your web server env…

    Oh and keep in mind that after an iTSec plugin update the error will probably return. So you’ll need to redo the modification unless iThemes fixes the issue.

    dwinden

    Thread Starter chetan0412

    (@chetan0412)

    i am using

    MySQL Version: 5.6.22
    PHP Version: 5.4.38

    Ok.

    Small correction. It is probably the PHP mysql extension that is not loaded in your PHP\Web Server env. I was able to reproduce the error by disabling the PHP mysql extension in my env. If you wish you can contact your hosting provider and ask them to load the PHP mysql extension.
    This way you don’t need to change any code.

    If your original question has been answered please mark this topic as ‘resolved’.

    dwinden

    Thread Starter chetan0412

    (@chetan0412)

    Thanks,
    I ll contact to my hosting provider n i ll ask him to enable mysql ext.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unlock host’ is closed to new replies.