• Resolved destro73

    (@destro73)


    I was answered by the chat, and I was instructed to create a file to unlock “defender_disable_admin_lockout”.

    But that file destroyed the layout of our website. And we are already distrusting our users.

    We are entering into disbelief with our business partners.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter destro73

    (@destro73)

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @destro73

    Please keep in mind that our tech chat service is for premium members, while pre-sales chats are more about providing information than resolving issues. For anything that has to do with the free versions of our plugins, these forums should suffice.

    Now, back your issue, I can see the website working well now, so I presume you’ve already renamed or deleted the Defender folder on the server.

    In order to remove any active lockouts made already, you can edit the database (export it as a backup before making any changes) and delete the following tables:

    wp_defender_lockout
    wp_defender_lockout_log

    The “wp” part above may be different, based on the DB prefix you use.

    After doing so, you could also set specific IPs (or range of IPs) in the blocklist or allowlist as well, in case this could further help:
    https://premium.wpmudev.org/docs/wpmu-dev-plugins/defender/#ip-banning

    If you’re still having issues after all that, please do let us know about the exact settings you have in the Login and 404 protection pages, as well as the exact error messages you’re getting.

    Thank you,
    Dimitris

    Thread Starter destro73

    (@destro73)

    View the site by cell phone, in the mobile version …

    I searched for the chat, because I’m having losses due to the lack of navigability on my cell phone, and I can’t log in to https://www.litoralnamidia.com.br/wp-admin

    Thread Starter destro73

    (@destro73)

    One minute…
    I’m going to see in SQL

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    I can’t log in to https://www.litoralnamidia.com.br/wp-admin

    This seems like a fatal error, not a lockout made by Defender, but let me assist you on this.

    Could you please access your server via (S)FTP, edit wp-config.php file, find a line like
    define('WP_DEBUG', false);and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That’s all, stop editing! Happy blogging. */ comment)

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    Then go ahead and try to replicate the error by visiting the /wp-admin/ page once more on your browser. By doing so, a /wp-content/debug.log file should be created. Simply download it, upload it into a service like Dropbox and post the shareable link.
    Reference: https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/

    Thank you,
    Dimitris

    Thread Starter destro73

    (@destro73)

    Hello, we did all the procedures and we were not successful, our site is all broken.
    We were unable to access the login area: wp-admin

    We look forward to urgent.

    Message:
    Erro no banco de dados do WordPress: [Table ‘litoraln_wp1.wp_9sfJcX_defender_lockout’ doesn’t exist]
    SELECT id, ip, status, lockout_message, release_time, lock_time, lock_time_404, attempt, attempt_404, meta FROM wp_9sfJcX_defender_lockout WHERE ip = ‘189.34.224.202’ LIMIT 0,1

    Thread Starter destro73

    (@destro73)

    define(‘WP_ALLOW_REPAIR’, true);

    I did the whole procedure, because wordpress asked for repair in the database. and I used this line … at the request of wordpress

    Message:”Error establishing a connection to the database”

    And first of all I did the procedure for debub.log and didn’t generate any files

    • This reply was modified 4 years, 1 month ago by destro73.
    • This reply was modified 4 years, 1 month ago by destro73.
    Thread Starter destro73

    (@destro73)

    I will disclose not to install this program here in Brazil. Sales service is a fantasy. For those who want to know the program, they make little case. bye

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @destro73

    I’m sorry to hear that and I’m sorry for the trouble!

    Please note, however, that our sales support is not meant to help with tech issues but rather provide information and help with any account and billing issues of premium members.

    The tech support for free plugins can only be done here and this is a forum, not a live chat. We’re doing our best to respond and assist as fast as possible but we’re only humans too and we can only help if we’re given a chance to.

    My colleague earlier asked you to get debug.log and you shared this entry from the log:

    Message:
    Erro no banco de dados do WordPress: [Table ‘litoraln_wp1.wp_9sfJcX_defender_lockout’ doesn’t exist]
    SELECT id, ip, status, lockout_message, release_time, lock_time, lock_time_404, attempt, attempt_404, meta FROM wp_9sfJcX_defender_lockout WHERE ip = ‘189.34.224.202’ LIMIT 0,1

    Based on this message the next steps would be:
    – to access the WP install using FTP or cPanel File manager and go to “/wp-content/plugins” folder
    – rename the “defender-security” plugin there to e.g. “defender-security_off”
    – clear all cache on server (if there is any; if none, this step could be skipped)
    – go to the site’s login page and it should show up fine now, without errors and lockouts
    – login and go to “Plugins” page – you should then see the message of a plugin being deactivated.

    At this point the site should be up and running, without those DB errors and locking you out. You could then remove the plugin completely and even after re-installation it should start with no lockouts and errors (and after re-installation it would re-create any necessary DB tables; note: re-installation, not re-enabling only).

    Once the plugin is re-installed, it would be best to add important IPs to block- allow-lists as my colleague explained previously.

    Kind regards,
    Adam

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @destro73

    I hope you are doing well.

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved.

    However, feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Defender blocked my site’ is closed to new replies.