• After installing and activating this plugin, several errors and warnings appeared on both the front end and admin section of website – but when I upgraded to latest version it worked:

    Warning: dns_get_record() [function.dns-get-record]: res_nmkquery() failed in /home/content/28/7703528/html/wp-content/plugins/automatic-ban-ip/automatic-ban-ip.php on line 439

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/28/7703528/html/wp-content/plugins/automatic-ban-ip/automatic-ban-ip.php:439) in /home/content/28/7703528/html/wp-includes/option.php on line 748

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/28/7703528/html/wp-content/plugins/automatic-ban-ip/automatic-ban-ip.php:439) in /home/content/28/7703528/html/wp-includes/option.php on line 749

    Also in the admin section, the following warning appeared – I had to immediately deactivate and delete it:
    The plugin generated 250 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Sed Lex

    (@sedlex)

    Good to know … but please not that I is hightly probable that these error are due to security restriction of your provider.

    https://php.net/manual/fr/function.dns-get-record.php

    Anyway, sorry to hear that

    Plugin Author Sed Lex

    (@sedlex)

    After a look to the line mentionned above, did you indicate any keys for the service ?

    It could be a problem.

    Next version will verify if you set a key before invoking dns_get_record

    Thread Starter deeholzman

    (@deeholzman)

    Do you mean a user activation key? How can I set a key before invoking dns_get_record? I’m not sure if this is relevant or means anything at all but I was able to successfully invoke dns_get_record with

    dns_get_record('mydomain.org'));

    on this website so I’m not sure about the security restrictions.

    Plugin Author Sed Lex

    (@sedlex)

    Thus, the problem is not a security restricty (I only say it is hightly probable).

    Could you test with version 1.0.4 ?

    You are right you cannot set the key “Your API key for the Honey Pot Project” before invoking dns_get_record it was probabbly an issue / bug

    Thread Starter deeholzman

    (@deeholzman)

    Ok that totally makes sense. Within the wordpress plugin area, I searched for a ban IP plugin, and found yours and downloaded and installed it. it was version 1.0.3. I tried version 1.0.4 and it works great – now I know what you mean by the honeypot.org key, which is specified in version 1.0.4. I will try this and revise my review to include more stars

    Thread Starter deeholzman

    (@deeholzman)

    Also, I’d like to block IP’s via the .htaccess file, and I see that version 1.0.4 can do that. I was wondering about that setting under ‘parameters’ – it says:

    Block via .htaccess
    Number of IP should be added to the Honey Pot Project file: (integer)

    Do I just enter the total number of IPs that I have blocked for them all to be blocked via .htaccess?

    Plugin Author Sed Lex

    (@sedlex)

    Not sure to understand …
    If you specify 1000, the last one thousand ip that connect to you site and that are considered as spammer will be inserted in your htaccess… In fact it is to avoid that 10000000000 ip are stored in a single file … Thus, only the last spammer are blocked through htacess the others are blocked through normal blocking system (which is slower)

    Plugin Author Sed Lex

    (@sedlex)

    Note that the parameter should read

    Block via .htaccess
    Number of IP should be added to the Htacces file: (integer)

    Plugin Author Sed Lex

    (@sedlex)

    Does it work at the end ?

    If so, could you review your comment here ?

    Thread Starter deeholzman

    (@deeholzman)

    Yes, after the upgrade, it is working well.

    Plugin Author Sed Lex

    (@sedlex)

    Thus, could you revise my review to include more stars if you believe it worth it?

    Thread Starter deeholzman

    (@deeholzman)

    I don’t think I can edit this review unfortunately – if I’m unable to edit this one I will post another positive review.

    Plugin Author Sed Lex

    (@sedlex)

    You can by going https://www.ads-software.com/plugins/automatic-ban-ip/ and change you rating on the right side (if you want)

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Caused many errors at first but downloaded updated version and now works’ is closed to new replies.