• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6275: Error while Registering new user

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary Error while Registering new user
ReportedBy TWiki:Main.SopanShewale
Codebase 4.3.1
SVN Range TWiki-5.0.0, Sat, 18 Apr 2009, build 18024
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:18091 TWikirev:18092 TWikirev:18093 TWikirev:18094
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2010-03-17 - SopanShewale
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback