Topic on Project:Support desk

1.32.0 - Create new User - [66ff6dd96b42943e94930794] 2019-01-21 11:43:33: Fataler Ausnahmefehler des Typs „BadMethodCallException“

10
Summary by MarkAHershberger
213.61.101.146 (talkcontribs)

PHP 7.3.1 (Win64)

This is a new installation from 1.32.2 to a 1.31.xx test installation with very little data.


I get this error message create a new user

Internal error: [66ff6dd96b42943e94930794] 2019-01-21 11:43:33: Fatal exception error of type "BadMethodCallException".

213.61.101.146 (talkcontribs)

Correction:

This is a new installation from 1.32.2 refundet 1.31.xx test installation with very little data.


Semako96 (talkcontribs)

did you carry over any data besides localsettings.php, uploads and database?

213.61.101.146 (talkcontribs)

Nothing. I create a new localsettings.php.

213.61.101.146 (talkcontribs)

apache error.log show this.

-----[error.log]--------------

[Mon Jan 21 13:15:17.167070 2019] [php7:warn] [pid 1692:tid 288] [client x.x.x.x:63566] PHP Warning:  session_id(): Cannot change session id when session is active in [...]\\wiki\\includes\\Setup.php on line 879

MarkAHershberger (talkcontribs)

What is the error when you add

$wgShowExceptionDetails=true;

to the end of your LocalSettings.php?

213.61.101.146 (talkcontribs)

[a23d5de78988bd610d52df0c] /wiki/index.php?title=Spezial:Benutzerkonto_anlegen&returnto=Hauptseite BadMethodCallException from line 456 of C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\session\Session.php: Encryption is not available. You really should install the PHP OpenSSL extension, or failing that the mcrypt extension. But if you really can't and you're willing to accept insecure storage of sensitive session data, set $wgSessionInsecureSecrets = true in LocalSettings.php to make this exception go away.

Backtrace:

#0 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\session\Session.php(485): MediaWiki\Session\Session::getEncryptionAlgorithm()

#1 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\auth\AuthManager.php(1139): MediaWiki\Session\Session->setSecret(string, array)

#2 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\specialpage\AuthManagerSpecialPage.php(357): MediaWiki\Auth\AuthManager->beginAccountCreation(User, array, string)

#3 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\specialpage\AuthManagerSpecialPage.php(482): AuthManagerSpecialPage->performAuthenticationStep(string, array)

#4 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\htmlform\HTMLForm.php(665): AuthManagerSpecialPage->handleFormSubmit(array, VFormHTMLForm)

#5 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\specialpage\AuthManagerSpecialPage.php(416): HTMLForm->trySubmit()

#6 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\specialpage\LoginSignupSpecialPage.php(317): AuthManagerSpecialPage->trySubmit()

#7 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\specialpage\SpecialPage.php(569): LoginSignupSpecialPage->execute(NULL)

#8 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\specialpage\SpecialPageFactory.php(568): SpecialPage->run(NULL)

#9 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#10 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\MediaWiki.php(860): MediaWiki->performRequest()

#11 C:\Program Files\Apache24\htdocs\AERUS\wiki\includes\MediaWiki.php(517): MediaWiki->main()

#12 C:\Program Files\Apache24\htdocs\AERUS\wiki\index.php(42): MediaWiki->run()

#13 {main}

213.61.101.146 (talkcontribs)

Error fixed with add openssl to my php.ini and restart apache


; 22.01.2019 TW für MediaWiki

extension=openssl

213.61.101.146 (talkcontribs)

was there any hint to openssl extension during installation?

MarkAHershberger (talkcontribs)
Reply to "1.32.0 - Create new User - [66ff6dd96b42943e94930794] 2019-01-21 11:43:33: Fataler Ausnahmefehler des Typs „BadMethodCallException“"