Hi everybody,
I've installed my wiki "Atlantisforschung.de" on the server of my hoster; bur it do not work on my local test server xampp 7.1.25. There's an error calles
Fatal error: Uncaught Error: Call to a member function getCode() on null in C:\xampp\htdocs\atlantisforschung\includes\user\User.php:1737 Stack trace: #0 C:\xampp\htdocs\atlantisforschung\includes\user\User.php(5412): User::getDefaultOptions() #1 C:\xampp\htdocs\atlantisforschung\includes\user\User.php(3096): User->loadOptions() #2 C:\xampp\htdocs\atlantisforschung\includes\context\RequestContext.php(336): User->getOption('language') #3 C:\xampp\htdocs\atlantisforschung\includes\Message.php(380): RequestContext->getLanguage() #4 C:\xampp\htdocs\atlantisforschung\includes\Message.php(1290): Message->getLanguage() #5 C:\xampp\htdocs\atlantisforschung\includes\Message.php(842): Message->fetchMessage() #6 C:\xampp\htdocs\atlantisforschung\includes\Message.php(934): Message->toString('text') #7 C:\xampp\htdocs\atlantisforschung\includes\exception\MWExceptionRenderer.php(199): Message->text() #8 C:\xampp\htdocs\atlantisforschung\includes\exception\MWExceptionRenderer.php(299): MWExceptionRenderer::msg('dberr-problems', 'Sorry! in C:\xampp\htdocs\atlantisforschung\includes\user\User.php on line 1737,
despite it works online with the same files as set online, except the local settings: There's a few lines, which are different frome the online version, which are:
## UPO means: this is also a user preference option
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "roland.horn@atlantisforschung.de";
$wgPasswordSender = "roland.horn@atlantisforschung.de";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
## Database settings
$wgDBtype = "mysql";
$wgDBserver = "localhost";
$wgDBname = "accounts";
$wgDBuser = "root";
$wgDBpassword = "";
Is thisfalse, respectivle can somebody help me in thist matter?
Thanks a lot in advance
Roland