Topic on Extension talk:OATHAuth

Update to mediawiki 1.34 crashes with fatal error

7
217.241.243.96 (talkcontribs)

I´m using the extension since mediawiki 1.32 and updated it successfully to 1.33.

Today´s update to mediawiki 1.34 crashes mediawiki with fatal error after login (password) of user when token should be requested.

When OATHAuth is not enabled in localsettings.php, mediawiki works without 2FA.

Kghbln (talkcontribs)

Did you also update the code of this extension to the version meant to be used with MW 1.34.x?

217.241.202.66 (talkcontribs)

Quote: "This extension comes with MediaWiki 1.31 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided." I´m using the file comming with the tar.gz file from mediawiki 1.34

217.241.202.66 (talkcontribs)

Timestamp of all extension files is 19.12.2019 14:48:40

212.51.141.66 (talkcontribs)

I had the same problem. I'm installig MediaWiki from repository and did not run the composer in the OATHAuth's directory So the library jakobo/hotp-php was missing...

This post was hidden by Cloudcell (history)
2408:8221:7519:77E1:F12E:DE3B:379F:E8 (talkcontribs)

Today I meet the same problem, and I run composer update at the path of this entension and the fatal error no longer occur.

What I do:

  1. Update Composer to the latest version.
  2. cd my_mediawiki/extension/OATHAuth folder;
  3. run php {composor_path}/composer.phar update --no-dev;
Reply to "Update to mediawiki 1.34 crashes with fatal error"