Use an ftp client to access your site, delete the bad behavior plugin, then see if that will allow you normal access again. Or use the cPanel through your host, if you have one, deleting the plugin through file manager.
Well, I was thinking about doing that, but won’t that somehow mess up the fact that I haven’t “deactivated” it from the dashboard?
I used phpmyadmin to try and find where I was entered on the blacklist, but I think I’m looking in the wrong place. Is there a way to deactivate the plugin using phpmyadmin?
thanks vkaryl. This is somewhat frustrating…
Moderator
James Huff
(@macmanx)
Volunteer Moderator
If you access Bad Behavior after receiving a “precondition failed” page, you trigger a snowball effect as BB thinks that you are repeat spammer. In other words, each visit during your ban period increases the time of your ban period.
To avoid this, stay away from your site for ten minutes after receiving the first “precondition failed” page, or login to your MySQL database via phpmyadmin, access bad behavior’s log table, and remove all entries that relate to your IP.
ahh.. ok. Yeah, I was thinking that repeated attempts to access the site would trigger the snowball thing.
Ok, I’ll try removing those entries. If that fails, is it safe to remove the plugin via FTP?
Thanks guys.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
If that fails, drop Bad Behavior’s log table, then safely return to your WP admin interface to deactivate and then re-activate the plugin. The re-activation process will re-install the Bad Behavior log table.
ok, I successfully used phpmyadmin to remove all of my entries that contained my IP address and deleted them.
Here is the query I used:
SELECT * FROM
wp_bad_behavior_log
WHERE ip
=”youripaddress”
I’m back in. Thanks folks. Another citeewurkor disaster averted. appreciate it! You guys rock, as usual.
Of course, the question now, is how do I get Bad Behavior to whitelist NamoWebeditor?
Guess I’ll hit up IOError on that one.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Add its user agent to the bad-behavior-whitelist.php
file.
hmm… here’s another stupid question. How do I figure out what it’s useragent is? Would I have to use it to access my site again and then grab the useragent name out of the BB logs?
Or is there an easier way to accomplish this?
Moderator
James Huff
(@macmanx)
Volunteer Moderator
The easiest way would be to “access [your] site again and then grab the useragent name out of the BB logs.” Just make sure that you don’t visit your blog until ten minutes have passed since the initial ban. You may want to wait twelve minutes, just to be on the safe side.
If you really don’t want to do this, you could dig through your server’s access log from yesterday and try to find a user agent which resembles “NamoWebeditor”, but you may not find one.