Last modified: 2007-12-28 01:25:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14432, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12432 - Spam log showing above all pages, plus "Warning: Cannot modify header information" etc
Spam log showing above all pages, plus "Warning: Cannot modify header informa...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Spam Blacklist (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mapletowers.com/wiki/index...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-27 23:16 UTC by Lindsay
Modified: 2007-12-28 01:25 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot showing the bug I encountered when installing Spam Blacklist. (170.54 KB, image/jpeg)
2007-12-27 23:16 UTC, Lindsay
Details

Description Lindsay 2007-12-27 23:16:16 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.
Comment 1 Brion Vibber 2007-12-28 01:25:28 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links