John Straffin wrote:
Error:
Fatal error: Call to a member function on a non-object in
/var/www/html/internal/wiki/includes/Title.php on line 1196
Begin Code:
(Note: $_SERVER["REMOTE_USER"] = jcstraff)
(in modified User.php)
$name = $_SERVER["REMOTE_USER"];
$u = User::newFromName( $name );
[snip]
$t = $wgContLang->ucfirst( $r ); # # # #
# # <== LINE 1196
[snip]
Is this mysterious contextless modified User.php code being run before
$wgLang and $wgContLang are initialized?
-- brion vibber (brion @
pobox.com)