With the following parameters in the
LocalSite.cfg
$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::ApacheLogin';
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{Register}{EnableNewUserRegistration} = 1;
$TWiki::cfg{PasswordManager} = 'TWiki::Users::ApacheHtpasswdUser';
$TWiki::cfg{Htpasswd}{FileName} = '/var/www/twiki/data/.htpasswd';
I observe the following error in the browser if try registering new user..
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Undefined subroutine &TWiki::Users::ApacheHtpasswdUser::ListIterator called
--
TWiki:Main/SopanShewale
- 07 Jun 2009
Checked in the fix in the repository. Working on Item6151, may be that has connection with this bug.
--
TWiki:Main/SopanShewale
- 07 Jun 2009
With following configuration parameters
$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::ApacheLogin';
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{Register}{EnableNewUserRegistration} = 1;
$TWiki::cfg{Register}{HidePasswd} = 1;
$TWiki::cfg{PasswordManager} = 'none';
$TWiki::cfg{MinPasswordLength} = 1;
I get the following error in browser
Software error:
Can't call method "normalizeWebTopicName" on an undefined value at /var/www/twiki431/lib/TWiki/Func.pm line 1306.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
--
TWiki:Main/SopanShewale
- 08 Jun 2009
Corrected this error-checked in the code
Index: TWikiUserMapping.pm
===================================================================
--- TWikiUserMapping.pm (revision 18089)
+++ TWikiUserMapping.pm (working copy)
@@ -245,7 +245,7 @@
} else {
# passwd==none case generally assumes any login given exists...
# (not positive if that makes sense for rego..)
- return 1;
+ return 0;
}
return 0;
--
TWiki:Main/SopanShewale
- 09 Jun 2009
Release long time back - closing
--
SopanShewale - 17 Mar 2010