Hi,
This is typical of a PHP fatal error with
display_errors set to false.
Turn on error reporting in the PHP configuration
I'd rather not as there are several other PHP-Applications on the system
and I know nothing about their requirements.
I have instead added
ini_set("error_reporting","E_ALL");
ini_set("display_errors",1);
To MediaWikis index.php. I tried several locations down the file, past
some of the configuration-includes to make sure it does not get unset
again.
No change in the result: Still a 200 http-code but no data.
I then put in a million statements of the form
echo __FILE__ . __LINE__ . '<br>';
tracing progress through the code the hard way. Passing through lots
of interesting places I finally reached includes/DataBase.php. The
place where the actual connection to the database is attempted in
function open(). I added my echoes and some more dumping-code:
echo __FILE__ . __LINE__ . '<br>';
var_dump($server); echo '<br>';
var_dump($user); echo '<br>';
var_dump($password); echo '<br>';
@$this->mConn = mysql_connect( $server, $user, $password );
echo __FILE__ . __LINE__ . '<br>';
The first echo and the var_dumps are executed. Servername (localhost)
and user and password are looking OK. The last echo does not execute
(or the output does not reach my client).
I have also tried removing the '@' from the mysql_connect-Line. No
change. I don't think I can follow the path of execution any further.
I can connect to the database fine when using the commandline
mysql-client with the servername, username and password that has been
output by my var_dumps. I can select the correct database and
list tables and data.
What now? What could make the system just die without any indication
of a problem?
Ciao, MM
--
Marian Aldenhövel, Rosenhain 23, 53123 Bonn.
Fon +49 228 624013, Fax +49 228 624031.
http://www.marian-aldenhoevel.de
"Wie trennt man drei Schlampen von zwei Säufern? Cockpittüre zu!"