create new tag
, view all tags



I've created a new user on my TWiki site called "James Morris".

I can log on fine with this user, however cannot do anything else - I can't view the user at all, I can't assign permissions, this user doesn't even have a side bar! Presumably this is because the user name is a non-wiki word.

The question is how can I either "fix" this user (to be a WikiWord), or remove the user completely?

I'm unable to re-add a new user called "JamesMorris" because it thinks this user already exists (although I'm unable to see it, and it says the user is called "James Morris" when I login!)

I don't know how I managed to do this either, I think it may have been due to me messing around with the "allow login names" within config when I first setup the site.

I've looked everywhere within the directory structure of the site but cannot find any reference to the user?


TWiki version: TWikiRelease04x02x00
TWiki plugins: CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencePlugin? , SlideShowPlugin, SmiliesPlugin? , SpreadsheetPlugin? , TablePlugin? , TinyMCEPlugin? , TwistyPlugin? , WYSIWYGPlugin
Server OS: Windows Server 2003
Web server: Apache 2.2.9 (Win32)
Perl version: 5.008008 (MSWin32)
Client OS: Windows XP SP3
Web Browser: Internet Explorer 7.0
Categories: Permissions, Registration, Authentication, Authorisation

-- JamesRJMorris - 20 Jul 2008


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.

I recon the easiest thing would be to goto the command line. rename the twiki/data/Main/James Morris.txt and ,v files to remove the space, and then change the entry in the TWikiUsers' topic to also remove the space.

make sure that the .htpasswd file has the right login name and you should be good to go.

-- SvenDowideit - 21 Jul 2008

Thanks a lot for the replay Sven.

This is where it gets strange though - There is no "James Morris.txt" or ,v files (i've checked its not hidden), or even an entry for "James Morris" in the topic TWikiUsers.

I've created a TestUser login, which does appear as expected though within the data\Main folder, and also within the TWikiUsers topic.

What I did suspect could be the cause was that I recently deleted my TWiki site, and started from scratch (keeping all file names the same), suspecting this user could be cached somehow. However restarting the Apache service made no difference.

This user just seems to be a phantom!

The only place I have managed to find this user mentioned is within the .htpasswd file, but within there the user is called "JamesMorris" (no spaces), and includes a password.

Is there anywhere else that the user could be picked up from?

-- JamesRJMorris - 22 Jul 2008

Delete the line with JamesMorris from .htpasswd, edit Main.TWikiUsers and delete any reference to the user, double check there is no "James Morris" alike files under data/Main directory (e.g. James_Morris). Then try to register again.

-- EnriqueCadalso - 22 Jul 2008

Thanks a lot for this Enrique, I deleted the "JamesMorris" line from .htpasswd in the \data folder, which did the trick - there were no references anywhere else.


-- JamesRJMorris - 24 Jul 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-07-24 - JamesRJMorris
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.