Page MenuHomePhabricator

Webupdate gives fatal error installing ConfirmAccount: Class 'ConfirmAccountUISetup' not found
Closed, ResolvedPublic

Description

Author: toye.thomas

Description:
I'm trying to install the ConfirmAccount extension on my fresh 1.22.3 installation but it fails with the following fatal error:
Fatal error: Class 'ConfirmAccountUISetup' not found in /home/thomabq55/domains/nmctwiki.eu/public_html/w/extensions/ConfirmAccount/ConfirmAccount.php on line 42

I downloaded the .tar.gz archive from the link in the ConfirmAccount article, the page tells me it's a snaphot of the 74fabfc version of ConfirmAccount for REL1_22

It doesn't give me any errors until I get to the second page of the mw-config web-updater page. Then it gives me a blank page with the error above.

Extra information:
MediaWiki 1.22.3
PHP 5.3.27 (apache2handler)
MySQL 5.5.34


Version: REL1_22-branch
Severity: critical

Details

Reference
bz62585

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:04 AM
bzimport set Reference to bz62585.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

Please try 1.22.4 at https://releases.wikimedia.org/mediawiki/1.22/mediawiki-1.22.4.tar.gz and report back.

I downloaded the .tar.gz archive from the link in the ConfirmAccount article,

Plus this needs exact steps to reproduce (preferably a URL). Don't know which of all those "ConfirmAccount article" you mean. :)
I hope you tried with the REL1_22 branch of the ConfirmAccount code repository.

toye.thomas wrote:

The article I'm referencing is located here: https://www.mediawiki.org/wiki/Extension:ConfirmAccount (sorry for the confusion)
I downloaded the latest stable version for MediaWiki 1.22 of the extension from here https://www.mediawiki.org/wiki/Special:ExtensionDistributor/ConfirmAccount

Steps I took:

  1. Download MediaWiki 1.22.3
  2. Upload to server
  3. Do a normal install, using nl (Dutch/Nederlands) as the language and install the following extensions (using the checkboxes in the installation): RenameUser, WikiEditor, Cite, ParserFunctions, SyntaxHighlight
  4. Download the ConfirmAccount extension from the source specified (1.22 branch)
  5. Create a ConfirmAccount folder in extensions/ on the server
  6. Place the files in there
  7. Add the following line at the bottom of LocalSettings.php (as mentioned in the article referenced above):

require_once( "$IP/extensions/ConfirmAccount/ConfirmAccount.php" );

  1. Navigate to the web-updater (w/mw-config/), I don't have SSH access to the server
  2. Select nl (Dutch/Nederlands) again (first page)
  3. Click next (to go the second page)

You never get to the second page, instead, it says "Fatal error: Class 'ConfirmAccountUISetup' not found in /home/thomabq55/domains/nmctwiki.eu/public_html/w/extensions/ConfirmAccount/ConfirmAccount.php on line 42"

I'll now try installing MediaWiki 1.22.4 and see if I can reproduce

toye.thomas wrote:

I tried MediaWiki 1.22.4 and I'm gaving the exact same problem.

toye.thomas wrote:

I added the line
require( DIR . '/frontend/ConfirmAccountUI.setup.php' );

It works now. I'll add this on the wiki page of the extension.