Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-807 now.

User Registration failed if Custom Profile Field Required (fix completed in vcs)

When trying to register a new user, I get this error:
Fatal error: Call to a member function on a non-object in /phpBB2/includes/functions_user.php on line 204

The user can log in, and it is created in the phpbb_users table, but it is not assigned to a group and therefore has no permissions.

Looking into the issue further, the error only shows up if there is a custom profile field in the registration screen. This is causing a problem with new registrations even with a brand new install on a new database.

Once the custom profile field was removed from the Registration screen, new restristrations went through unharmed.

Comments / History

Posted by Handyman` (QA Team) on Jun 13th 2006, 20:49

This happens on my board as well, when I deactivate the field, users are able to register again.

Linked ticket with changeset: r6058

Action performed by Anonymous (I am too lazy to register) on Jun 13th 2006, 21:06

Posted by Acyd Burn (Server Manager) on Jun 13th 2006, 21:06

Should work with the next snapshot, but i haven't tested it with real data.

Ticket details

Related SVN changesets