In my situation email_registration module needs to override user registration form but ipAuthenticator call user_register() on form construction directly, so there is no changes for email_registration.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ipauth-541770-1.patch | 915 bytes | CoPut |
Comments
Comment #1
CoPut commentedThat's my solution.
Comment #2
jonfrancisskydiver commentedThat looks good--thank you! I will see how it functions and then make an update.
Comment #3
vacilando commentedThe patch does not work for me. After patching, when I access /user/register I get the following error:
PHP Fatal error: Cannot unset string offsets in /MYPATH/includes/form.inc on line 496Please help. This is a critical issue.
Comment #4
vacilando commentedI was forced to stop using this module more than a month ago because of this problem. Is there any solution, please?
Comment #5
vacilando commentedAny further thoughts on this, anyone? I'd like to use the module but this bug prevents it.
Comment #6
kingmanic commented"Any further thoughts on this, anyone? I'd like to use the module but this bug prevents it."
It might be a module weighting issues. I manually changed the weighting of the IPAuth module to 10 via this SQL:
What was also helpful was an alteration to the user calls to add an extra 'true' from this thread.
http://drupal.org/node/555096
Basically it changed all instances of
to
The following line is also changed to add an extra TRUE at the end:
to
This allows for the login window to appear if people are outside the IP ranges we specify.
PS. both these changes should be incorporated into the next version. I do beleive they are bugs.