Hi,
Got him.
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).
My PHP setup had quite simply lost its support for mySQL. I had to add
an extension-line to PHP.ini to get it back. I have absolutely no idea
as to how, when and why this changed in my installation. Gremlins.
Another thing that I do not understand is why my attempts at turning on
error_reporting and display_errors failed. I have since added a line
ini_set("display_errors",1);
right in front of the call to mysql_connect and got a friendly
and helpful message about the function not existing. The same thing
in index.php or LocalSettings.php did not do the trick.
> This is typical of a PHP fatal error with
display_errors set to false.
> Turn on error reporting in the PHP configuration
Truly a fatal error.
Many thanks to everybody who tried to help me.
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!"