We just upgraded to 6.16.
A new user tried to register and clicked on the "Check Availability" and he is getting an error: "This username is taken" for any username. We verified that it does this consistently, but that the actual registration does work if people do not try to "verify"

Any idea where to look for either
1- fixing it
2- disabling this button/feature
3- Change the text message above or below to warn people not to use it until it is fixed?

Thanks

Comments

bwv’s picture

Disable the username_check module (I assume that is what you are using).

Alan.Guggenheim’s picture

Thanks for the suggestion, but no, I am not using this module. I am using CiviCRM and CiviRegister. Something must have been broken by 6.16. I need a temporary work-around as I cannot run without them.

Any idea where to look?
The form on the screen says:
Please enter a user name to create an account . If you already have an account, please login before completing this form.
Username Check Availability This username is taken.
Your preferred username; punctuation is not allowed except for periods, hyphens, and underscores.

But I cannot find where this is coming from. If at least i could edit the help, i could instruct people to disreagard the error until it is fixed.

bwv’s picture

Sorry, I am not terribly familiar with CiviCRM and CiviRegister.

What you could do -- absent a definitive fix -- is to create a block on the login page that instructs new users not to use the check availability button. That at least will buy you some time while you find the source of the problem.

Alan.Guggenheim’s picture

Yes, I see your idea. I am not sure about your users, but mine will probably not see/read it, and will complain anyway.
It is a shame, because I like Drupal, but the whole registration/login/password process seems to be still way too complicated and full of traps for users who are not very technical. This last one on top of all the other issues (truncated links for password reset for example) is causing havoc here.

I would rather try to find out where to modify the current language on the registration for itself. Any tip on how to find which exact file is executing and where these strings might be?

Thanks

bwv’s picture

When you log in, what are the options under users? Is there a tab for registration settings?

sagar ramgade’s picture

Took in to modules/user/user.module if you want to change it.
This is drupal core hack if you upgrade to a newer version of drupal it will be back to square one.

Regards
Sagar

Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form

bwv’s picture

Which is precisely why it is better to understand the source of the problem and not hack the drupal core.

fathershawn’s picture

I have the same behavior. I've filed a bug report: #736160

After further checking, this message comes from CiviCRM: /sites/all/modules/civicrm/templates/CRM/common/CMSUser.tpl

I'll be filling a report with them instead.