Page MenuHomePhabricator

Spam log showing above all pages, plus "Warning: Cannot modify header information" etc
Closed, InvalidPublic

Description

Author: sunflowerlaw

Description:
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.


Version: unspecified
Severity: major
URL: http://www.mapletowers.com/wiki/index.php?title=Main_Page

Attached:

wikibug.jpg (828×1 px, 170 KB)

Details

Reference
bz12432

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:56 PM
bzimport added a project: SpamBlacklist.
bzimport set Reference to bz12432.
bzimport added a subscriber: Unknown Object (MLST).

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.