Page MenuHomePhabricator

update.php "Class 'ConfirmAccountUISetup' not found in extensions/ConfirmAccount/ConfirmAccount.php:42"
Closed, DeclinedPublic

Description

Hi I have a problem with extension:ConfirmAccount because it won't work with update.php at http://random-wikisaur.tk/mw-config/?page=ExistingWiki. It says echo but if I uninstall extension:Zechariah it then says confirm account and if I remove confirm account it works please fix the problem


Version: unspecified
Severity: normal
Whiteboard: aklapper-moreinfo

Details

Reference
bz55470

Event Timeline

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

Why do you think this is different from bug 55468?
And please never paraphrase issues, but provide exact steps to reproduce and copy the exact full error output.

Because it is a different extension so I coulden write about this extension and the other one in one bug. Because it won't lets you add multiple category's for the extension

it says the following error

Fatal error: Class 'ConfirmAccountUISetup' not found in /home/u793852634/public_html/extensions/ConfirmAccount/ConfirmAccount.php on line 42

@paladox2015:
This was discussed in https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Having_trouble_running_update.php/reply_%2815%29 and hexmode said:

Try adding this line just before the current line 42:
require( DIR . '/frontend/ConfirmAccountUI.setup.php' );

Does this fix the problem for you?

@Hexmode: Was there a corresponding bug that got fixed? :-/

For the records, also brought up in https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Fatal_error:_Class_%27XXXXXXXX%27_not_found and https://www.mediawiki.org/wiki/Extension_talk:ConfirmAccount#mw-config

Thanks that has fixed the problem could someone please put a note of it on the extension page please or please fix the issue in the extension thanks for helping

(In reply to comment #5)

could someone please put a note of it on the extension page please

It's a wiki. Just do it (but use proper spelling and punctuation).

Tested against master and it works. Trying previous versions.

They all worked. Because of the way auto-loading is set up, I wonder if this could be caused by a difference in PHP versions.

  • Bug 63862 has been marked as a duplicate of this bug. ***

It was fixed in the extension localisation update.