warning: badbehavior_init(/homepages/45/xxxxxx/htdocs/modules/bad-behavior/bad-behavior-core.php): failed to open stream: No such file or directory in /homepages/45/xxxxxxx/htdocs/modules/bad-behavior/badbehavior.module on line 173.

Fatal error: badbehavior_init(): Failed opening required '/homepages/45/xxxxxxx/htdocs/modules/bad-behavior/bad-behavior-core.php' (include_path='.:/usr/local/lib/php') in /homepages/45/xxxxxxx/htdocs/modules/bad-behavior/badbehavior.module on line 173

Hello,
I have upload the extracted directory badbehavior to www.myWebSite.com/modules/badbehavior.
After I activated in administer/modules/badbehavior the Error Message appear. Dont know what shall I do.
Why should be there a bad-behavior-core.php? This file was not in the archive.

Second Question: In the readme.txt your write:
"2. Copy badbehavior.module into the modules/bad-behavior/ directory."
***
Why you not named the directory in the archive badbehavior without the "-" ? Is it a good idea to rename the directory with the FTP-Programm in "bad-behavior" ?

Regards,
Amarus

ps: I hope you excuse my bad english.

Comments

dpangier’s picture

Status: Active » Closed (fixed)

This is caused by not installing the core Bad Behaviour from http://www.ioerror.us/software/bad-behavior/bad-behavior-download - please reread the instructions.

It is Drupal policy not to include third party components with modules.

Amarus’s picture

Thank you KSlap, I havent see these solution before.