Tags:
create new tag
, view all tags

Question

Error: The registration process, which worked fine until last week, breaks at a point where the TwikiUsers UserForm isn't being created and the email notification I receive lets me know there have been registrations processed, but the notification contains no user names.


Topics in Main web: Changed: (now 21:58) Changed by:
TWikiUsers 13 Aug 2007 - 20:27 - r39->r40 TWikiRegistrationAgent
List of TWiki users Below is a list of users with accounts. If you want to edit topics or see protected areas of the site then you can get added to the list by registering ...

Review recent changes in: [...]/twiki/bin/view.cgi/Main/WebChanges

Subscribe / Unsubscribe in: [...]/twiki/bin/view.cgi/Main/WebNotify


When I pull the list of users, I get the PogiDude? with a question mark which tells me the registration processed but didn't complete successfully!

When trying a subsequent registration using the same information, I get a warning that the PogiDude is already in use.


Attention

You are already registered
You cannot register twice, the name 'pogi' is already registered.

Did you want to reset pogi's password?

Alternatively hit back to go back to TWikiRegistration and choose a different username.

Please contact me@myPLEASENOSPAM.org if you have any questions.


It gives me the option to reset the password, which I try, and I get an error that the email address cannot be found for the user.


Attention

Can't get an e-mail address for PogiDude? (required for password reset)

A new system-generated password for your login name pogi (WikiName PogiDude?) has been sent to your registered e-mail address. If your e-mail address is no longer valid, please contact me@myPLEASENOSPAM.org

Users with automatically generated passwords should proceed immediately to change password to change their password to something memorable.


The registration process worked until late last week. While I have a number of plug-ins installed, there were no additional plug-ins added during this time.

There are no warnings listed in configure.

Searching for help on this topic is difficult. A close match had something to do with servers mail set-up which isn't an issue here. Email notifications seem to work properly.

Additional Information

  • The user list will have the WikiWord of the new user listed in the proper place... I.E.:
    • P - - - - -
    • PogiDude? - pogi - 15 Aug 2007

  • I tried registering the above user with the only difference being I turned off, in Configure, the email registration verification. The only difference was instead of being redirected to the confirmation code entry form, I went to a blank "Oops" page with just the standard TWiki bottom menu.
  • I did recieve the confirmation email of my registration telling me where to go to my own topic page, which wasn't created. TWiki, however, had me logged in as "PogiDude?" So Authentication is partially working with these failed registrations.
  • Also verified that my twiki installation folder and subfolders are owned by the correct group.
  • Turned off all the plugins...tested...no change. Turned back on the bundled plugins and tested...no change.

Environment

-- DavidOldham - 15 Aug 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

It's not clear what you mean by "The registration process". Are you trying to use bulk registration, or individual user registration? Bulk registration has a known issue with registering more than 5 users in one hit that you may be encountering.

-- CrawfordCurrie - 20 Aug 2007

Individual.

Additional info. Reviewed log files looking for something I switched between the 8/4...the date of the last successful registration...and the 8/7, the date the registration process stopped completing. As noted above, everything but the user page gets created.

Am wondering if its a template issue? I tried reinstalling TWiki...but over the top of the existing installation...no change. I directed files be overwritten, which they were, so that's another reason I believe its something I've switched but I have no clue what to look for anymore.

I'm ready to move all the files from twiki and below to another directory and try a clean install.

-- DavidOldham - 21 Aug 2007

I think that's a good idea. The only thing I can think of is if there is some reason the webserver user can't write that file - e.g. permissions. Or perhaps some RCS wierdity, such as a spurious lock on the file? (guessing)

-- CrawfordCurrie - 22 Aug 2007

I have the same problem that you are experiencing. My registration page suddenly stopped making user pages. I have the e-mail verification for registration turned off, and I have installed no plugins.

Where you able to figure out why it broke? Anyone have any ideas?

Thanks.

-- PeterParker - 23 Aug 2007

I'm in the middle of a reinstall. Not going as smoothly as the initial one, but thats a separate issue.

My suspicion is that I set a page permission or site-wide parameter wrong that is somehow interfering with the template used to create the user page. I can create topics all day long so its not related to file permissions on he server, as far as I can tell.

Here are some additional errors from the Warn200708.txt file found liste forthe date of the last successful registration:

| 03 Aug 2007 - 21:15 | Undefined subroutine &TWiki::Contrib::EditContrib::Include41::isTrue called at /home/kidzcan/www/twiki/lib/TWiki/Contrib/EditContrib/Include41.pm lin$
        TWiki::Contrib::EditContrib::Include41::_INCLUDE('TWiki=HASH(0x82f5874)', 'TWiki::Attrs=HASH(0x9139304)', 'WebLeftBarLogin', 'TWiki') called at /home/kidzcan/www/twi$
        TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x82f5874)', 'INCLUDE', '"Main.TWikiGuestLeftBar" warn="<ul><li><a href=\"/twiki/bin/edit...', 'WebLeftBarLogin', 'TWik$
        TWiki::_processTags('TWiki=HASH(0x82f5874)', '<div class="patternLeftBarPersonal">^J%IF{"context authenticated"...', 'CODE(0x86f08c4)', 16, 'WebLeftBarLogin', 'TWiki$
        TWiki::_expandAllTags('TWiki=HASH(0x82f5874)', 'SCALAR(0x90f862c)', 'WebLeftBarLogin', 'TWiki') called at /home/kidzcan/www/twiki/lib/TWiki/Contrib/EditContrib/Inclu$
        TWiki::Contrib::EditContrib::Include41::_INCLUDE('TWiki=HASH(0x82f5874)', 'TWiki::Attrs=HASH(0x9100fe4)', 'WebLeftBar', 'TWiki') called at /home/kidzcan/www/twiki/li$
        TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x82f5874)', 'INCLUDE', '"TWiki.WebLeftBarLogin" warn="off"', 'WebLeftBar', 'TWiki') called at /home/kidzcan/www/twiki/$
        TWiki::_processTags('TWiki=HASH(0x82f5874)', '%INCLUDE{"%IF{"context can_login" then="%TWIKIWEB%.WebLeftBarLog...', 'CODE(0x86f08c4)', 16, 'WebLeftBar', 'TWiki') cal$
        TWiki::_expandAllTags('TWiki=HASH(0x82f5874)', 'SCALAR(0x8b98624)', 'WebLeftBar', 'TWiki') called at /home/kidzcan/www/twiki/lib/TWiki/Contrib/EditContrib/Include41.$
        TWiki::Contrib::EditContrib::Include41::_INCLUDE('TWiki=HASH(0x82f5874)', 'TWiki::Attrs=HASH(0x914516c)', 'TWikiRegistration', 'TWiki') called at /home/kidzcan/www/t$
        TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x82f5874)', 'INCLUDE', '"TWiki.WebLeftBar"', 'TWikiRegistration', 'TWiki') called at /home/kidzcan/www/twiki/lib/TWiki$
        TWiki::_processTags('TWiki=HASH(0x82f5874)', '</div><!-- /patternTopic-->^J<div class="twikiAfterText"><nop></d...', 'CODE(0x86f08c4)', 16, 'TWikiRegistration', 'TWi$
        TWiki::_expandAllTags('TWiki=HASH(0x82f5874)', 'SCALAR(0x86f73e0)', 'TWikiRegistration', 'TWiki') called at /home/kidzcan/www/twiki/lib/TWiki.pm line 2598            
        TWiki::handleCommonTags('TWiki=HASH(0x82f5874)', '</div><!-- /patternTopic-->^J<div class="twikiAfterText"><nop></d...', 'TWiki', 'TWikiRegistration') called at /hom$
        TWiki::UI::View::_prepare('</div><!-- /patternTopic-->^J<div class="twikiAfterText"><nop></d...', 'TWiki=HASH(0x82f5874)', 'TWiki', 'TWikiRegistration', 'TWiki::Meta$
        TWiki::UI::View::view('TWiki=HASH(0x82f5874)') called at /home/kidzcan/www/twiki/lib/TWiki/UI.pm line 159                                                             
        TWiki::UI::__ANON__() called at /home/kidzcan/www/twiki/lib/CPAN/lib/Error.pm line 379                                                                                
        eval {...} called at /home/kidzcan/www/twiki/lib/CPAN/lib/Error.pm line 371                                                                                           
        Error::subs::try('CODE(0x80fbb3c)', 'HASH(0x906a3a0)') called at /home/kidzcan/www/twiki/lib/TWiki/UI.pm line 199                                                     
        TWiki::UI::run('CODE(0x81f8cb8)', 'view', 1) called 

Unfortunately due to work load and family issues, my ability to dig into this further and faster hasn't been able to materialize.

-- DavidOldham - 24 Aug 2007

Greetings! I have figured out the problem, well at least what my problem was. I'm setting TWiki up for an organization that is very concerned about security, so after I got the wiki working I went about the task of implementing lots of privileges for the webs and topics.

After not working on the wiki for a week or so I took a second look at it and noticed that the user page is created by a TWiki system user named TWikiRegistrationAgent. I figured out that by explicitly granting privileges for that user to change webs and topics I was able to get the registration page working again.

Below are the changes to Main Web preferences that I made.

Users or groups who are not / are allowed to view / change / rename topics in the Main web:

Set ALLOWWEBVIEW = TWikiAdminGroup, UserGroup 
Set ALLOWWEBCHANGE = TWikiAdminGroup, TWikiRegistrationAgent 
Set ALLOWWEBRENAME = TWikiAdminGroup 

Users or groups allowed to change or rename this WebPreferences topic:

Set ALLOWTOPICCHANGE = TWikiAdminGroup, TWikiRegistrationAgent 
Set ALLOWTOPICRENAME = TWikiAdminGroup

Hope this helps.

-- PeterParker - 19 Sep 2007

OK

-- PeterParker - 19 Sep 2007

Thanks -- just now down to a dull roar as far as production goes so I can get this addressed again!

-- DavidOldham - 10 Jan 2008

I've been experiencing the same issues and whilst the above solution works with regards to the TWikiRegistrationAgent user, fundamentally the problem has been caused by obscuring the view and access of the Main web exclusively to the TWikiAdminGroup. I had put in these restrictions so that the Main web wouldn't be listed to all users except for the admin group. However, all subsequent user registrations were leading to the user profile form not being created - as it exists in the Main web, which leads to the inability to reset the password for these users.

I've rolled back my restriction change to the default Main web preferences and everything seems to be working fine now i.e. new registrations create user profile forms successfully.

My only difficulty is that those existing users whose registration process was incomplete is still incomplete. I need to figure out whether I can a) manually create a user profile for them b) delete them altogether or c) go back to the actual human user and ask them to re-register with a different user name.

I guess TWiki has been a victim of its own flexibility here.

-- StuartBell - 31 Oct 2007

I manually deleted:

  • The user from the TWikiUsers page
  • The user's page, if created
  • The password entry in twiki/data/.htpasswd

And then re-created the user.

-- TomLassanske - 17 Jan 2008

Yes, and in addition to that, existing succesful registrants, including those with administrative rights cannot login.

My solution is that I'm going to completely uninstall Twiki and give up. I've invested more time to getting this up and running to turn right around and do it all again. We are going to go without or look for a simpler solution.

I tried reinstalling but that only caused more headaches that I don't have the time to allot to figuring out. I wanted this for my staff to collaborate since we are not all located in the same area. I didn't want to become a trouble shooter and developer in the Twiki process. I'm a Program Director, and the program is video, not software and we have no IT department.

Sorry Peter. I hoped to ride your success....not everybody can. Good fortune in the future.

-- DavidOldham - 17 Jan 2008

Change status to:
Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2008-01-17 - DavidOldham
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.