Last modified: 2010-05-15 15:42:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8238 - http error 500: Internal Server Error & 'premature end of script headers'
http error 500: Internal Server Error & 'premature end of script headers'
Status: RESOLVED DUPLICATE of bug 8041
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.8.x
PC Linux
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
http://dev.waw.martinpre.net/wiki/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-12 16:18 UTC by martinpre
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Attachments

Description martinpre 2006-12-12 16:18:51 UTC
Installion was fine, but after that when i want to browse the wiki, there comes
a http error 500 and the error log says 'premature end of script headers'.

The rights are alright, the package also (tested by localhost). I also uploaded
every file and i checked every time the ASCII/Binary thing.

A very strange thng is that i can't access index.php?title=Hauptseite but i can
access all special pages and pages without any content. Editing also doesn't work.

The server uses
    * MediaWiki: 1.8.2
    * PHP: 5.1.6 (cgi)
    * MySQL: 5.0.27 
More information about the server configuration can be found at
https://server3.configcenter.info/info.php5
And i use the German version.
Comment 1 Brion Vibber 2006-12-12 19:44:35 UTC
Can you try the workaround described in bug 8041 ?
Comment 2 martinpre 2006-12-12 19:55:30 UTC
I'm only a client of a big hoster and I can't change tht php installation.
Maybe he can update to 5.2. I will report my experiences if he do.
Comment 3 Brion Vibber 2006-12-12 20:25:18 UTC
The suggested workaround is to change wfGetCaller() function in
GlobalSettings.php, not to upgrade PHP. :)
Comment 4 martinpre 2006-12-12 20:32:28 UTC
But it also should solve the problem or did i understand something wrong?
Comment 5 martinpre 2006-12-12 20:37:43 UTC
OK, should it look like this?

function wfGetCaller( $level = 2 ) { // <--- CHANGED BECAUSE OF BUG!!!!
/*	$backtrace = debug_backtrace();
	if ( isset( $backtrace[$level] ) ) {
		if ( isset( $backtrace[$level]['class'] ) ) {
			$caller = $backtrace[$level]['class'] . '::' . $backtrace[$level]['function'];
		} else {
			$caller = $backtrace[$level]['function'];
		}
	} else {*/
		$caller = 'unknown';
//	}
	return $caller;
}

This doesn't work :(
Comment 6 martinpre 2006-12-12 20:41:24 UTC
Oh the FTP program asked me if it shoul overwrite it or not *shameonme*

Now it works :)

*** This bug has been marked as a duplicate of 8041 ***

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


Navigation
Links