Support » Plugin: Botnet Attack Blocker » strpos() [function.strpos]: Empty delimiter

  • Resolved Citizen Smith

    (@citizen-smith)


    I tried the plugin on four websites, hosted by two different hosting companies. I used the whitelist but it is not easy to whitelist all the IPs I use – my home ISPs have a lot of dynamic IP ranges, and I also access from other locations.

    I have had this warning from all of them – even a new one that I was setting up (which I know from a log file had only 13 attempted unauthorised logins in a week, so it couldn’t be due to a lockout every time)

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

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

    plus several more following lines

    the line numbers vary

    paths shortened

    Any ideas as to the cause?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cheesefather

    (@cheesefather)

    Thanks for the message – I’ve never had this error myself, it means that one of the whitelisted IPs is empty. I’ve just released a new version (1.9.1) that hopefully will fix this for you. Let me know how you get on.

    With the dynamic IPs, you can use partial matching, e.g. type 192.168 to match 192.168.x.x

    Thread Starter Citizen Smith

    (@citizen-smith)

    Thanks. I have now accessed the sites from three locations without a hitch, so your upgrade clearly addressed the problem. I noticed later that I had separated two IPs by a comma followed by a space, rather than one or the other, so if that was the problem, please accept my apologies!

    P.S. I did use partial matches, but Talk Talk and Sky have a lot of possible ranges and they don’t make it easy to check what they are. I did eventually find their details via myip.ms, so that is now sorted too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘strpos() [function.strpos]: Empty delimiter’ is closed to new replies.