WordPress.org

Ready to get started?Download WordPress

Forums

Botnet Attack Blocker
[resolved] Error locks me out (18 posts)

  1. PeterStrempel
    Member
    Posted 1 year ago #

    After installing the plugin, thge WordPress login screen now begins with the line -
    Warning: strpos() [function.strpos]: Empty delimiter in /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php on line 45

    After logging in, instead of the admin console I just get the following lines -

    Warning: strpos() [function.strpos]: Empty delimiter in /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php on line 45

    Warning: Cannot modify header information - headers already sent by (output started at /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:45) in /home/peterstrempel/public_html/blog/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information - headers already sent by (output started at /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:45) in /home/peterstrempel/public_html/blog/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information - headers already sent by (output started at /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:45) in /home/peterstrempel/public_html/blog/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information - headers already sent by (output started at /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:45) in /home/peterstrempel/public_html/blog/wp-includes/pluggable.php on line 684

    Warning: Cannot modify header information - headers already sent by (output started at /home/peterstrempel/public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:45) in /home/peterstrempel/public_html/blog/wp-includes/pluggable.php on line 876

    This is a pretty serious error since I can't access anything to remediate the problem. How do I get rid of this plugin without access to the admin console?

    http://wordpress.org/extend/plugins/botnet-attack-blocker/

  2. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, that's weird, it seems to be working for everyone else! If you have access to the ftp of your site, then navigate to /wp-content/plugins and delete the botnet folder. That should solve the issue. I'll have a look at those errors. What other plugins are you running (it's most likely there's a conflict with something else)? Thanks - and sorry about that.

  3. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, I've added some code to the area where your error is occurring that should fix this - and released a new version (1.4). Please let me know if you have any further problems. Thanks.

  4. PeterStrempel
    Member
    Posted 1 year ago #

    Big thumbs up.

    It was late in my antipodean night when I threw up my arms and cried 'I'm locked out of my blog. What shall I do now? I'm doomed!'

    Instead of looking at the error message, which told me where the error was, I ran around like a headless chook, traipsing eventually to the forum, and tapped out my sad little message.

    After having done it though, some rationality returned and I did exactly what you suggested some hours later: I located the php page referenced in the error message (duuuuuh!) and renamed it, forcing the plugin to deactivate, and allowing me to remove it.

    My only active plugins include Antispam Bee and Google XML Sitemaps.

    After reading your last post I installed the new version of Botnet Attack Blocker, logged out, and back into my admin pages. I did some stuff successfully, and then logged out and in again. All appears to be well.

    So, whatever you changed seems to have done the trick. Thanks for your response.

    (BTW, http://www.peterstrempel.com is the beastie.)

  5. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Glad it's all working now - apologies for the late night panic!

  6. mjbroot
    Member
    Posted 1 year ago #

    Hi cheesefather, I'm getting the exact same problem with the 1.4 version.

    here it is:

    Warning: strpos() [function.strpos]: Empty delimiter in /home/imbiotec/public_html/wordpress/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php on line 55

    Warning: Cannot modify header information - headers already sent by (output started at /home/imbiotec/public_html/wordpress/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:55) in /home/imbiotec/public_html/wordpress/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information - headers already sent by (output started at /home/imbiotec/public_html/wordpress/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:55) in /home/imbiotec/public_html/wordpress/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information - headers already sent by (output started at /home/imbiotec/public_html/wordpress/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:55) in /home/imbiotec/public_html/wordpress/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information - headers already sent by (output started at /home/imbiotec/public_html/wordpress/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:55) in /home/imbiotec/public_html/wordpress/wp-includes/pluggable.php on line 684

    Warning: Cannot modify header information - headers already sent by (output started at /home/imbiotec/public_html/wordpress/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php:55) in /home/imbiotec/public_html/wordpress/wp-includes/pluggable.php on line 876

  7. mjbroot
    Member
    Posted 1 year ago #

    I have several plugins installed of course, but could this have something to do with changed secret keys or the plugin wordfence?

  8. mjbroot
    Member
    Posted 1 year ago #

    ok I zeroed in on the problem. It only occurs when I specify an address in the exempt field. I've disabled it and it seems ok. so not sure; I can live with that however:)

  9. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Weird. Can I ask exactly what you're putting in the whitelist field - is it just an IP address in standard IPv4 format?

  10. erna.braat
    Member
    Posted 1 year ago #

    Hello Cheesefather,

    Trying to log in I got exactly the same warnings, described by Mjbroot.
    Via FTP I removed the Botnet Attack Blocker with regret.

    Other plugins I have installed are;
    Akismet
    Elegant Builder (ElegantThemes)
    InfiniteWP - Client
    WordPress SEO
    Wordfence Security (was not active at that moment when I got the warnings)

    I hope this information will help to figure out what is wrong and I really would like to use Botnet Attack Blocker again when the problem is solved.
    If I can help testing, let me know.
    Thank you!
    Erna

  11. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks Erna, I'm still unable to duplicate this! Do you by any chance have access to your wp database (via phpmyadmin or similar)? Would you be able to tell me the exact field value of the bab_options row in the wp_options table if you do? It should look something like this:

    a:5:{s:10:"table_name";s:16:"wp_botnetblocker";s:9:"num_fails";s:1:"5";s:17:"grace_period_secs";s:3:"300";s:17:"block_period_secs";s:4:"3600";s:12:"whitelist_ip";s:12:"111.222.333.444";}

    Thanks for your help!

  12. erna.braat
    Member
    Posted 1 year ago #

    Hello Cheesefather!

    This is what I found in the field of the bab_options row, (I removed my IP address and my real table prefix)

    a:5:{s:10:"table_name";s:27:"wp_botnetblocker";s:9:"num_fails";s:1:"5";s:17:"grace_period_secs";s:3:"300";s:17:"block_period_secs";s:4:"7200";s:12:"whitelist_ip";s:29:"my IP address";}

  13. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    That looks right, but you are inputting a normal IPv4 address in the format 111.222.333.444 right? Not a IPv6 address or using partial matching or anything like that?

  14. erna.braat
    Member
    Posted 1 year ago #

    Yes, normal IPv4 address with 4 groups of 8 bits..

  15. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Well that's a dead end! Guess I'm not asking the right questions...

    Okay then, I'm determined to track this down and fix it. What version of PHP, what version of WordPress, is this a multisite, what Webserver software, what OS? I'll try to match your setup and recreate this and then hopefully get it sorted!

    Thanks for your help :)

  16. fratony
    Member
    Posted 1 year ago #

    I think I am having the same problem, intermittently, but on just one of the sites I have installed botnet blocker.

    Sometimes, when i try to log in I get this error message at the top of the login screen:

    Warning: strpos() [function.strpos]: Empty delimiter in /var/sites/l/***.com/public_html/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php on line 70

    If I go ahead I cannot get in.

    I have to rename the plugin via FTP to access the site.

    The site appear to be fine to non-logged in users

  17. cheesefather
    Member
    Plugin Author

    Posted 1 year ago #

    Aargh! Why can't I recreate this?? Can you please answer the questions I put to Erna above? And is there an IP address in your whitelist options?

    Sorry about all this - I'll get it fixed as soon as I can narrow down why it's happening!

  18. ferguswebsites
    Member
    Posted 1 year ago #

    Had the same error code above the login fields. Although I COULD access the site without any difficulties, it was just a warning...

    But I only got the error code on the website where I had entered TWO IP addresses: 111.222.333.444, 111.222.333.444. (notice the space in there?)

    And after I removed the space between the two IP addresses the error message disappeared!

    Hope this helps anyone...

    WordPress 3.5.2
    Botnet Attack Blocker Version 1.7

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.