My admin log says: The third-party bad-behavior files are not installed. Please consult badbehavior/README.txt for details.

I dragged the entire folder to the modules directory. What did I do wrong?

Comments

steve hanson’s picture

If you go and read the README.txt file in the directory as the error message says you should do, all will become clear.

You need to download another package and follow all the instructions to install it.

Steve Hanson
Principal Consultant Cruiskeen Consulting LLC
http://www.cruiskeenconsulting.com

Steve Hanson
Publisher Eye On Dunn County
https://eyeondunn.com

jon@www.jonwatson.ca’s picture

I have the same problem and the readme file says nothing about it. Anyone know what we're missing?

Here's the readme.

###############
Drupal badbehavior module:
--------------------------
Author - David Angier
Requires - Drupal 4.6 or above
License - GPL

Overview
--------
Bad Behavior is a set of PHP scripts which prevents spambots from
accessing your site by analyzing their actual HTTP requests and
comparing them to profiles from known spambots. It goes far beyond
User-Agent and Referer, however.

The problem: Spammers run automated scripts which read everything on
your web site, harvest email addresses, and if you have a blog, forum
or wiki, will post spam directly to your site. They also put false
referrers in your server log trying to get their links posted through
your stats page.

As the operator of a Web site, this can cause you several
problems. First, the spammers are wasting your bandwidth, which you
may well be paying for. Second, they are posting comments to any form
they can find, filling your web site with unwanted (and unpaid!) ads
for their products. Last but not least, they harvest any email
addresses they can find and sell those to other spammers, who fill
your inbox with more unwanted ads.

Bad Behavior intends to target any malicious software directed at a
Web site, whether it be a spambot, ill-designed search engine bot, or
system crackers.

Requirements
------------
- Drupal 4.6.x
- PHP 4.3.0 or greater
- BadBehavior 1.2.1
(http://www.ioerror.us/software/bad-behavior/bad-behavior-download)

Installation
------------

1. Download BadBehavior 1.2.1 from
http://www.ioerror.us/software/bad-behavior/bad-behavior-download/,
unzip and copy the resulting bad-behavior directory into modules/.

2. Copy badbehavior.module into the modules/bad-behavior/ directory.

3. Enable the module as usual from the Drupal admin>>modules page.

Configuration
-------------
1. If desired, configure settings under the new
admin>>settings>>badbehavior menu item.

Logs
----
1. View BadBehavior logs at the new admin>>logs>>badbehavior menu
item.

2. Click on the detail link next to any log item for full details.

Frequently Asked Questions
--------------------------
See: http://www.ioerror.us/software/bad-behavior/bad-behavior-faq/

###############

heine’s picture

The key's in: DOWNLOAD BADBEHAVIOUR 1.2.1 FROM http://www.ioerror.us/software/bad-behavior/bad-behavior-download/ [continued].

The module is an adaptor between drupal and badbehaviour. Consider yourself lucky that badbehaviour now checks for the files; earlier versions would leave you with a white screen of death or Fatal error.
--
When your problem is solved, please post a follow-up to the thread you started.

jon@www.jonwatson.ca’s picture

OOok...I think I have it:

1. I wget'd the BadBehaviour module from here on Drupal.org and untarred it into my modules directory. That created a badbehavior/ directory with a badbehaviour.module file in it and some readmes.

2. I then wget'd the zip file you indicated from the readme to my modules directory. I unzip -a it and that created a bad-behavior. directory with a ton of PHP files in it, but no module file.

3. I then copied the badbehavior.module file from modules/badbehaviour to modules/bad-behaviour and the errors stopped.

This is a dev blog so there's nothing hitting it yet, but when I move my main domain to it, the spam will start pouring in. Because the errors have stopped, it appears as if things are set up right.

Not the most intuitive readme, but I guess it's techically correct.

Thanks for the help.

dslmattman’s picture

I did the renaming of the directory like you stated and the errors stopped for me. Thanks!..... At least I think its working. I dont have anything in the settings area of admin and I have a pretty new web site so I dont know if I'm being hit or not. How do I tell?

This is about the only post I've seen on the net about this Drupal problem. Glad I found it. I was going to give up on it.

I'm using the new Drupal 4.7 and the Bad-Behaviour 4.7 from here ... I believe (I dont remember anymore. I've downloaded all kinds of BB all over the internet.)

Matt

doulos12’s picture

That seems to have fixed it. Thanks.

Dale
http://crossfeednews.com

jaynedarcy’s picture

I've looked everywhere I can think of and don't know what to do. I have installed, uninstalled over and over and cannot get Bad Behavior to work because it is not installing a table. This is the error message:

* user warning: Table 'thirdi_drpl1.bad_behavior_log' doesn't exist query: SELECT COUNT(*) FROM bad_behavior_log w in /home/thirdi/public_html/includes/database.mysql.inc on line 120.
* user warning: Table 'thirdi_drpl1.bad_behavior_log' doesn't exist query: SELECT w.* FROM bad_behavior_log w ORDER BY w.date DESC LIMIT 0, 50 in /home/thirdi/public_html/includes/database.mysql.inc on line 120.

I really haven't the knowledge to understand what that means, other than something's not working.

I have downloaded Bad-Behavior 2.0.2
I have downloaded Badbehavior module for 4.7

I uploaded the bad-behavior directory (this has all the include scripts) to my module directory. I then uploaded the badbehavior module into the bad-behavior directory.

I activated the plugin. Went to Admin> Logs> Settings and found the above error message.

After finding this thread, I went and renamed the directory folder from bad-behavior to badbehavior.

I still get the error message.

What's going on? Please help. I've been struggling with this for four days now.

tng@neuralgourmet.com’s picture

Is related to Bad Behavior's developers changing the directory layout. There's a bug report that's been filed about this issue.

Neural Gourmet | Feed Your Brain
Carnival of the Liberals -- Thinking Liberally

HelpMeRick’s picture

Update....I decided to use the Bad Behavior 1.2.4 download and all seems well with no tweaking....could this be?

I have been hit hard by comment spam bots and desperately want to get this module working. As noted in previous posts, I have tried:

Uploading and extracting Bad Behavior 2.06 to the Modules dir
Uploaded and extracted Bad Behavior Module
Moved the Bad Behavior module file to the Bad-Behavior directory

I have also deleted it all, and did the module first, then moved 2.06 files into it.

Either way, I get the following error when trying to access the Bad Behavior log files:

* user warning: Table 'gjrick_drupal463.bad_behavior_log' doesn't exist query: SELECT COUNT(*) FROM bad_behavior_log w in /home/gjrick/public_html/includes/database.mysql.inc on line 120.
* user warning: Table 'gjrick_drupal463.bad_behavior_log' doesn't exist query: SELECT w.* FROM bad_behavior_log w ORDER BY w.date DESC LIMIT 0, 50 in /home/gjrick/public_html/includes/database.mysql.inc on line 120.

I got rid of the initial general log file error:

The third-party bad-behavior files are not installed. Please consult badbehavior/README.txt for details.

Does this mean that I'm ok, or can I get rid of the first error some how? Thanks.

vm’s picture

install the devel.module and use it to reinstall the bad behavior module. this should rerun the sql and add the table you are missing.
or
manually sift the .install file for the module and pull out the necesarry SQL that creates the table and add it to your DB manually.

kaicong’s picture

The best thing to do is unzip each mod in the right directory and the errors should disappear

First the upload the drupal module badbehavior-6.x-1.0-rc2.tar.gz into the 'sites/all/modules' directory

Unpack/extract it.

Then go in to the 'sites/all/modules/badbehavior' directory and upload the bad-behavior.2.0.25.zip

Unpack that too and then it should install everything perfectly in the right places.

Hope that helps