PtokaX forum

PtokaX => Support => Topic started by: Jakex on 12 June, 2011, 07:22:52

Title: CentOS Problems - Username Already Taken
Post by: Jakex on 12 June, 2011, 07:22:52
I followed these steps: http://forum.ptokax.org/index.php?topic=8506.0 to install PtokaX on CentOS an it was installed correctly but I have one little problem, I registered some users on RegisteredUsers.xml file using this format
<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
<RegisteredUsers>
    <RegisteredUser>
        <Nick>Tester</Nick>
        <Password>1234</Password>
        <Profile>0</Profile>
    </RegisteredUser>
</RegisteredUsers>


And When I try to login with that user it shows: The nick you are using is reserved for someone other. Change your nick and get back again. But I am the only person connected

And here is other problem when I modify .xml files the files are not save on hub but the files have the right content.

How can I solve them?
Title: Re: CentOS Problems - Username Already Taken
Post by: Psycho_Chihuahua on 13 June, 2011, 14:29:55
if you added those users by hand to the file while the hub was running it could very well be that the hub has not noticed these changes. to add users manually you need to stop the hub and then add users like this

<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
<RegisteredUsers>
    <RegisteredUser>
        <Nick>Tester</Nick>
        <Password>1234</Password>
        <Profile>0</Profile>
    </RegisteredUser>
    <RegisteredUser>
        <Nick>Tester2</Nick>
        <Password>1234</Password>
        <Profile>0</Profile>
    </RegisteredUser>
    <RegisteredUser>
        <Nick>Tester3</Nick>
        <Password>1234</Password>
        <Profile>0</Profile>
    </RegisteredUser>
</RegisteredUsers>


then it should work. Otherwise you could also setup a small "teshub" on windows machine and add thee users through the gui, this way the xml will be created in the correct format and you can copy it over to the linux hub.