Last modified: 2007-12-28 01:25:28 UTC
Created attachment 4480 [details]
Screenshot showing the bug I encountered when installing Spam Blacklist.
I've just installed Spam Blacklist on a new Wiki installation - version 1.11.0.
However, after editing my LocalSettings.php file with:
## Spam blacklist
require_once( "$IP/extensions/SpamBlacklist/SpamBlacklist.php" );
$wgSpamBlacklistFiles = array(
"http://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1", // Wikimedia's list
// database title
"DB: dialogue_wiki Spam_Blacklist",
I will then have the entire Spam Blacklist log page (from spamblacklist.php) load ABOVE any of my wiki pages (see attachment for screenshot), and at the bottom of the Spam Blacklist log will be the errror:
Warning: Cannot modify header information - headers already sent by (output started at /home/dialogue/public_html/wiki/extensions/SpamBlacklist/SpamBlacklist.php:12) in /home/dialogue/public_html/wiki/includes/WebResponse.php on line 10
I do not have any whitespaces at the beginning or ending of ANY of the Spam Blacklist extension files, or on LocalSettings.php, and there is not a ?> at the end of that file either.
Also note that I do not have Subversion or anything like that - I noticed on the SpamBlacklist.php file, it calls for <link rel="stylesheet" href="/viewvc/*docroot*/styles.css" type="text/css" />, which I do not have - I have no directory called viewvc.
You appear to have saved a web page showing the revision history from the source code repository as 'SpamBlacklist.php' instead of saving the actual code.
Either get the files directly through Subversion or follow the history pages until you get a 'download' link to get the actual files.