Last modified: 2014-03-14 19:51:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64585, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62585 - Webupdate gives fatal error installing ConfirmAccount: Class 'ConfirmAccountUISetup' not found
Webupdate gives fatal error installing ConfirmAccount: Class 'ConfirmAccountU...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ConfirmAccount (Other open bugs)
REL1_22-branch
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-12 22:21 UTC by toye.thomas@gmail.com
Modified: 2014-03-14 19:51 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description toye.thomas@gmail.com 2014-03-12 22:21:06 UTC
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
Comment 1 Andre Klapper 2014-03-12 23:30:51 UTC
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.
Comment 2 Andre Klapper 2014-03-12 23:33:17 UTC
> 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.
Comment 3 toye.thomas@gmail.com 2014-03-13 08:09:10 UTC
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" );
8. Navigate to the web-updater (w/mw-config/), I don't have SSH access to the server
9. Select nl (Dutch/Nederlands) again (first page)
10. 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
Comment 4 toye.thomas@gmail.com 2014-03-13 08:24:31 UTC
I tried MediaWiki 1.22.4 and I'm gaving the exact same problem.
Comment 5 Andre Klapper 2014-03-13 11:36:31 UTC
Can you try https://bugzilla.wikimedia.org/show_bug.cgi?id=55470#c4 ?
Comment 6 toye.thomas@gmail.com 2014-03-14 19:51:19 UTC
I added the line
require( __DIR__ . '/frontend/ConfirmAccountUI.setup.php' );

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links