Page MenuHomePhabricator

Account creation success but shows error page
Closed, DuplicatePublic

Description

A volunteer reported this issue and I was able to repro:

  1. Go to https://www.mediawiki.org/wiki/Developer_access.
  2. Click "Sign up for developer access".
  3. Fill out all fields. I used the username "testaccount".
  4. Submit and an account is created but the following error is shown at https://wikitech.wikimedia.org/w/index.php?title=Special:UserLogin&action=submitlogin&type=signup:
MediaWiki internal error.

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Event Timeline

Niedzielski raised the priority of this task from to High.
Niedzielski updated the task description. (Show Details)
Niedzielski added a project: Gerrit.
Niedzielski subscribed.
2015-11-18 00:43:36 silver labswiki exception ERROR: [b5f59ffa] /w/index.php?title=Special:UserLogin&action=submitlogin&type=signup   MWException from line 220 of /srv/mediawiki/php-1.27.0-wmf.6/includes/Hooks.php: Detected bug in an extension! Hook OpenStackNovaUser::DynamicSidebarGetGroups has invalid call signature; ldap_count_entries() expects parameter 2 to be resource, boolean given {"exception_id":"b5f59ffa"} 
[Exception MWException] (/srv/mediawiki/php-1.27.0-wmf.6/includes/Hooks.php:220) Detected bug in an extension! Hook OpenStackNovaUser::DynamicSidebarGetGroups has invalid call signature; ldap_count_entries() expects parameter 2 to be resource, boolean given
  #0 /srv/mediawiki/php-1.27.0-wmf.6/extensions/DynamicSidebar/DynamicSidebar.body.php(96): Hooks::run(string, array)
  #1 /srv/mediawiki/php-1.27.0-wmf.6/extensions/DynamicSidebar/DynamicSidebar.body.php(21): DynamicSidebar::doGroupSidebar()
  #2 [internal function]: DynamicSidebar::modifySidebar(SkinVector, array)
  #3 /srv/mediawiki/php-1.27.0-wmf.6/includes/Hooks.php(204): call_user_func_array(string, array)
  #4 /srv/mediawiki/php-1.27.0-wmf.6/includes/skins/Skin.php(1250): Hooks::run(string, array)
  #5 /srv/mediawiki/php-1.27.0-wmf.6/includes/skins/SkinTemplate.php(461): Skin->buildSidebar()
  #6 /srv/mediawiki/php-1.27.0-wmf.6/includes/skins/SkinTemplate.php(240): SkinTemplate->prepareQuickTemplate(OutputPage)
  #7 /srv/mediawiki/php-1.27.0-wmf.6/includes/OutputPage.php(2319): SkinTemplate->outputPage()
  #8 /srv/mediawiki/php-1.27.0-wmf.6/includes/MediaWiki.php(712): OutputPage->output()
  #9 /srv/mediawiki/php-1.27.0-wmf.6/includes/MediaWiki.php(506): MediaWiki->main()
  #10 /srv/mediawiki/php-1.27.0-wmf.6/index.php(41): MediaWiki->run()
  #11 /srv/mediawiki/w/index.php(3): require(string)
  #12 {main}

Also, I just successfully created an account.

Niedzielski renamed this task from Account creation fails to Account creation success but shows error page.Nov 18 2015, 1:34 AM
Niedzielski updated the task description. (Show Details)

(without getting an error page)

Same problem here: Error but successfully logged in. Maybe a side effect of T118751: Add password requirements for wikitech accounts?