[drupal-devel] [bug] Blank page upon adding user

puregin drupal-devel at drupal.org
Sat Apr 30 06:11:10 UTC 2005


Issue status update for http://drupal.org/node/21640

 Project:      Drupal
 Version:      cvs
 Component:    user system
 Category:     bug reports
 Priority:     critical
 Assigned to:  Anonymous
 Reported by:  puregin
 Updated by:   puregin
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/blank_user_add_page.patch (517 bytes)

Here's a quick patch - this returns a string "An account has been
created.".  It's a little redundant since the same information is
presented in the drupal_set_message() call.  Any suggestions for more
useful text, or another fix?


Djun




puregin



Previous comments:
------------------------------------------------------------------------

April 29, 2005 - 21:59 : puregin

As the administrative user, I go to "admin/user/create", fill in the
form, and click on the 'Create Account" button.  Drupal gives me a
blank screen.  When I go back to "admin/user/" I see that the account
was successfully created.


I believe that this is due to the function user_admin_create()
returning 'void' on success.  Hence user_create() returns nothing, see
http://drupal.org/node/21441.


Filter.module, legacy.module, locale.module, node.module,
profile.module, system.module, upload.module, all contain instances of
"return;".  These may also be subject to this problem.







More information about the drupal-devel mailing list