On 04/04/07, j2k <jacko2000(a)gmail.com> wrote:
At first it give "PHP Warning: Cannot modify
header information -
headers already sent by (output started at
E:\PubHtml\wiki\maintenance\dumpHTML.php:119) in
E:\PubHtml\wiki\includes\WebResponse.php on line 9" warnings, and the
all produced html pages flow to console, none files created. I tried
with the default path, and given path; with switches or without, no
change.
I was unable to reproduce this at first with a fresh checkout of
MediaWiki 1.9.3 (from tags), however, I *was* able to get the error to
occur when restricting read access in LocalSettings.php:
$wgGroupPermissions['*']['read'] = false;
This did the trick; the script spat out the HTML for the standard
"please log in to view pages" page, and then PHP went a little bit
nuts over the content printed to the screen.
This seems to be
http://bugzilla.wikimedia.org/show_bug.cgi?id=4132. I
suppose the obvious workaround is to override, and enable page views
for all users for the dump session, which I'll make in trunk if no-one
has objections...?
Rob Church