I'm not sure if I should report this formally as a bug, as I'm new to the Bad Behavior module. Following the instructions in the readme, I downloaded and unzipped the Module for Drupal, and also the latest build for the PHP side from the 'home' for that:
http://www.bad-behavior.ioerror.us/2008/04/07/bad-behavior-2014/
The unzipped directory for that was named Bad-Behavior and was placed under the badbehavior directory for the Drupal module. (As I believe was explained in the README.) On attempting to activate it, I was told the bad-behavior directory was missing. Thinking it might simply be a case issue, I renamed the Bad-Behavior to bad-behavior, then tried to look at the module configuration options. Instead, I was directed to a log entry saying the module was still not installed correctly. Checking back with the README again, I see it was talking about the previous build of Bad-Behavior (2.0.13).

So, my question now has to be, is this a bug with the new release for Bad Behavior, or some flaw in how I installed it?

Thanks in advance for help!

Comments

ajdeleen’s picture

Hello Irene,

Yesterday I stumbled also upon this module. Same error.
Some nagging malware script from who knows els ware is growling through the website comments.
So, this module could be helpful. But the installation triggered an error.

After altering the module directory to bad-behavior or bad_behavior etc. Still the same error.
Actually looking at the files and code there seems to be something missing. Let's say a whole bunch of files ;-)

Download the rest at http://www.bad-behavior.ioerror.us/download/
Direct link: http://www.bad-behavior.ioerror.us/download/bad-behavior-2.0.14.zip

Supplemental unzip bad-behavior-2.0.14.zip in your website \sites\default\modules\bad-behavior directory and that will hopefully do the trick.

dstienek’s picture

Looking through the module, you see that the error is triggered if it can't find version.inc.php, core.inc.php, or repsonses.inc.php in a subfolder of the module named "bad-behavior"

Easy solution -
1) cd /var/www/drupal/modules/badbehavior
2) unzip /path/to/bad-behavior-2.0.13
3) mv Bad-Behavior/ Bad-Behavior_2.0.13
4) ln -s Bad-Behavior_2.0.13/bad-behavior . (note the dot at end of command)

Now, the directory structure should look like:
/var/www/drupal/modules/badbehavior/bad-behavior/(many).inc.php

You could also cp the bad-behavior directory, but using symlinks helps with testing - you could unzip the several versions and then just change the symlink to see their effects.

fhsm’s picture

The README isn't all that clear. I just installed a new site and had a bit of trouble. When you unpack the ioerror.us download you'll end up with the dir bad-behavior, inside which there is another dir also called bad-behavior. You want to copy that inner bad-behavior dir to the drupal badbehvior module dir. The files that are in the outer bad-behavior directory can be abandoned.