Fatal error: Cannot redeclare stripos() (previously declared in /var/www/localhost/htdocs/modules/glossary/glossary.module:444) in /var/www/localhost/htdocs/modules/badbehavior/bad-behavior-php4.php on line 6

Error message when both modules are enabled. If anyone else gets this problem and can't access their site any more - the easiest way to 'undo' the module you've enabled is to use phpmyadmin to view your database. Then browse 'system' (and perhaps click on 'name' to sort the modules into alphabetical order) then change the 'status' from "1" (enabled) to "0" (disabled). Site hopefully back to normal :o)

Pobster

CommentFileSizeAuthor
#2 bad-behavior-php4.php282 bytesdpangier

Comments

dpangier’s picture

Assigned: Unassigned » dpangier

OK, I have duplicated the problem, which is actually the third-party component interfering with the glossary module. I think I have a strategy to be able to make this work, but will need a little hacking tonight.

David

dpangier’s picture

Status: Active » Needs work
StatusFileSize
new282 bytes

Please used attached replacement file for the main bad-behavior distribution. The author of "Bad Behavior" will be applying this fix in his next main release.

To use, copy this file into the bad-behavior directory created during installation of bad-behavior.

dpangier’s picture

Status: Needs work » Active
dpangier’s picture

Status: Active » Fixed

Bad Behavior 1.2.2 has the required patch. Download from http://www.ioerror.us/software/bad-behavior/bad-behavior-download.

Anonymous’s picture

Status: Fixed » Closed (fixed)