Extension talk:ConfirmUsersEmail

Jump to navigation Jump to search

About this board

Error after installing Confirm Users Email

I got the following error after I installed this extension:

Warning: require(/home/content/i/n/n/innewscenter/html/wiki/extensions/ConfirmUsersEmail/ConfirmUsersEmail.page.php) [function.require]: failed to open stream: No such file or directory in /home/content/i/n/n/innewscenter/html/wiki/includes/AutoLoader.php on line 409

Fatal error: require() [function.require]: Failed opening required '/home/content/i/n/n/innewscenter/html/wiki/extensions/ConfirmUsersEmail/ConfirmUsersEmail.page.php' (include_path='/home/content/i/n/n/innewscenter/html/wiki:/home/content/i/n/n/innewscenter/html/wiki/includes:/home/content/i/n/n/innewscenter/html/wiki/languages:.:/usr/local/php5/lib/php') in /home/content/i/n/n/innewscenter/html/wiki/includes/AutoLoader.php on line 409

What do I need to do in order to fix this?

Nsgaeverine 06:18, 20 November 2008 (UTC)

Did you copy over all of the files in the Code section to the exact names stated there? If you did not, then this won't work. Anyway, you might be interested in the EditUser extension (which allows one to edit email addresses), since I don't really update/bugfix this extension anymore. --Skizzerz 22:38, 20 November 2008 (UTC)

Sambalosa (talkcontribs)

After installing the extension, I got the following error:

Fatal error: Call to a member function addMessages() on a non-object in blabla.com/extensions/ConfirmUsersEmail/ConfirmUsersEmail.php on line 42

This is the function in which addMessages appears:

function efConfirmUsersEmail()

       global $wgMessageCache;
       require_once( dirname( __FILE__ ) . '/ConfirmUsersEmail.i18n.php' );
       foreach( efConfirmUsersEmailMessages() as $lang => $messages )
       $wgMessageCache->addMessages( $messages, $lang );


Does anybody have suggestions how I could fix this?

Thanks in advance


Skizzerz (talkcontribs)

I suggest you search for an alternative extension that has the functionality you desire. I have not been keeping this up-to-date, and it appears that it no longer works on recent versions of MediaWiki. Unless someone else decides to come along, your above issue will not be fixed, ever.

Jamesmontalvo3 (talkcontribs)

Comparing this to a similar problem in the User Rights List extension, to fix this I'd say in ConfirmUsersEmail.page.php perform the following changes:

  • Change all occurrences of "wfElement" to "Xml::Element"
  • Change all occurrences of "wfOpenElement" to "Xml::openElement"
  • Change all occurrences of "wfCloseElement" to "Xml::closeElement"

Hope this helps.

Reply to "Another Error"
There are no older topics