Closed (fixed)
Project:
Bad Behavior
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Sep 2005 at 08:28 UTC
Updated:
9 Oct 2005 at 13:20 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | bad-behavior-php4.php | 282 bytes | dpangier |
Comments
Comment #1
dpangier commentedOK, 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
Comment #2
dpangier commentedPlease 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.
Comment #3
dpangier commentedComment #4
dpangier commentedBad Behavior 1.2.2 has the required patch. Download from http://www.ioerror.us/software/bad-behavior/bad-behavior-download.
Comment #5
(not verified) commented