Topic on Project:Support desk

Jump to navigation Jump to search

Adress confirmation does not work anymore with MW 1.20.1

12
Tido~mediawikiwiki (talkcontribs)

Yesterday I have updated my Wiki from 1.15.x to the new version 1.20.1

-> Everything works fine except the e-mail adress confirmation. If I register myself as a new user I get a e-mail with a confirmation link, but if I click on this link I get the following error message:

"Ungültiger Bestätigungscode. Möglicherweise ist der Bestätigungszeitraum verstrichen. Versuche bitte, die Bestätigung zu wiederholen." (Translation: Confirmation code not valid. Timeout - please try to repeat the confirmation.")

The PHP Version is 5.3.8.

Any thoughts about this behavior?

This post was posted by Tido~mediawikiwiki, but signed as Tido.

Carchaias (talkcontribs)
Carchaias (talkcontribs)
Ciencia Al Poder (talkcontribs)

The exact translation should be Invalid confirmation code. The code may have expired. (Invalid confirmation code. The code may have expired.) which is MediaWiki:Confirmemail invalid.

Carchaias: Are you sure it's the same bug?

Tido~mediawikiwiki (talkcontribs)

@Ciencia Al Poder: Applying the patch mentioned here fixed the problem.

@Carchaias: Thanks a lot for the link which showed the way to the solution!

This post was posted by Tido~mediawikiwiki, but signed as Tido.

80.153.17.59 (talkcontribs)

Thanks alot @Carchaias & Tido: The patch did the trick :)

Ciencia Al Poder (talkcontribs)

Fixed in MediaWiki 1.20.2

150.244.85.59 (talkcontribs)

I have mediawiki 1.21.1, and after try this patch and set timezone in my php.ini files as here explained, I continue getting the message "Invalid confirmation code. The code may have expired." Could I try something else? Thank you.

I have these versions: MediaWiki 1.21.1 PHP 5.4.4-14 (apache2handler) SQLite 3.7.13 with full-text search support

Ciencia Al Poder (talkcontribs)

View your user table, and look at the user_email_token_expires field and see if its value makes sense. It should be a date in the form of year (4) month (2) day (2) hour (2) minute (2) second (2). That's the date when the confirmation code expires,

150.244.85.59 (talkcontribs)

Thanks a lot @Ciencia Al Poder: In my case the "new user" is not being inserted in the user table, so I cannot check the user_email_token_expires field. I have checked (just in case) the sqlite file permissions, but everything is correct.

What else could it be happening?

Ciencia Al Poder (talkcontribs)

The only thing I can advise is to enable debug while creating a new user to see if the debug log gives any error when creating the user, and/or report a bug on bugzilla.

This post was hidden by 87.123.20.110 (history)