Question
Hi,
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?
Environment
--
JamesRJMorris - 20 Jul 2008
Answer
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.
James
--
JamesRJMorris - 24 Jul 2008