User registrations work fine, but when I'm trying to create a user through admin interface,
fill out the form and click "Register", I get redirected to "user/list" page, user doesn't get created, and the text on the top of the page is actually from "create user":
"This web page allows administrators to register new users. Users' e-mail addresses and usernames must be unique"
Comments
Comment #1
pflame commentedIf the registration form submit button value not equal to Create New User, the user registration form does not work. I think it is a kind of bug in the user module. The callback for both admin user add form and users list is same. This is restricting the developers to change this form submit button value.
Comment #2
Nitesh Singh commentedSame problem here even i am not able to create new user from the admin menu(admin/user/user/create)...is there any solution for that
Need help...
Thanks
Nitesh Singh
Comment #3
Nitesh Singh commentedsame problem User registrations work fine, but when I'm trying to create a user through admin interface,
fill out the form and click "Register", I get redirected to "user/list" page, user doesn't get created, and the text on the top of the page is actually from "create user":
When i fill Username: *, E-mail address: *, Password: *, Confirm password: * and when i click on create new account the page is redirected to user list page but the account is not created and the URL is like this (admin/user/user/create) with this statement......need help
"This web page allows administrators to register new users. Users' e-mail addresses and usernames must be unique"
Comment #4
pflame commentedNitesh Singh,
Did you change the registration form submit button value from "Create New User" to "Register" using hook_form_alter? The submit button value should be "Create New User" otherwise it does not create user.
Comment #5
narendragupta commentedI am facing the same problem.
is there anybody know the solution.
thanx in advance
Comment #6
Nitesh Singh commenteddid you change something in core user module? If yes please undo changes what ever you did than it will work fine or may be you can also replace your user module with new folder of user module of your drupal version.
Comment #7
narendragupta commentedPriority => critical
i undo the changes in user module.
still nt able to create new user.
Comment #8
Nitesh Singh commentedmay be you can replace the new user module (6.19)with the old version.
Comment #9
narendragupta commentedno nitesh
actually there are so many custom fields on the same form having validation.
and i m also using bio module for the same.
may b due to that admin is restricted me to do so..
Comment #10
pflame commentedI got the same problem when I change the submit button value from "Create new user" to other name. If I keep the default value of the submit button then the problem solved.
Comment #11
dpearcefl commentedConsidering the lack of activity on this issue and that Drupal v5 is no longer supported by for fixes or patches, I am going to close this ticket.
Comment #12
lmeurs commentedI am experiencing the exact same thing, but with Drupal v7.12. With a totally clean install and only 1 exta module enabled which contains the next code:
When working with a non English website, the value needs to be the exact translation (ie. 'Nieuw account aanmaken' in Dutch), the English version 'Create new account' will not work.
EDIT: Problem seems to lay in
modules/user/user.admin.incwhereuser_admin()checks the value ofop.I tried:
but return values do not work on regular buttons...
Comment #13
webchickPlease ask in the forums about your issue. This is not a bug with Drupal core.
Comment #14
webchickOops; restoring previous status.
Comment #15
lmeurs commentedAh, thank you for the info. I found more about this at http://drupal.org/node/1279688 and http://drupal.org/node/208790
Comment #16
goyalpankaj1988 commentedin user.module change submit button value Create new account line number 2448 drupal 6