Error this username is already registered please choose another one

en WordPress.com Forums multiple login details 1 2 Next Author Posts Oct 23, 2013 at 1:26 pm #1493330 ianmabberleyMember I am currently webmaster on three sites, two of which I can access via one u…

I am currently webmaster on three sites, two of which I can access via one username and password, but the other needs a different username and password as it was set up by someone else. How can I change my details on the third site so that I can log-in once and then access all three sites just by clicking on my profile?

The blog I need help with is: (visible only to logged in users)

Since you have control of the other username and password, you have some options.

You could add your original username to the third blog as an Administrator, and then only log in with the original but have access to all three: User Roles

If you would like to transfer control of the third blog to your other account, you could do that as well: Transferring Your Blog to Another User or Account

Thanks, but it won’t let me add my (two site) e-mail and username as it is already registered!!

Also I don’t think the other suggestion is viable for this site

You don’t need to add it as a new account. You just need to add the two-site account to the third account as a USER.

a) Log into the third blog with the other username/password.
b) Go to Dashboard > Users > Invite New
c) Enter the email address of your main account, and switch the ‘Role’ dropdown to ‘Administrator.’ Click ‘Send Invitation.’
d) You will receive an invitation at your regular username’s email address to participate in the third blog, and once you have accepted, you’ll have the access you want when logged in with your main account.

Sorry, but for some reason I don’t have “Invite New” just “add New”. Also my e-mail address is the same for all three, is that going to be a problem?

Ian

Try adding the username instead of the email address, then. That’s an option:

Invite up to 10 email addresses and/or WordPress.com usernames, separated by commas.

Let me know if that works for you.

This is the error message I get when trying to do it from the 3rd site

Add New User
ERROR: This username is already registered. Please choose another one.

ERROR: This email is already registered, please choose another one.

I have tried “inviting” from one of the two sites, but it changes my user name from IxxMxxxxx to ixxmxxxxx and tells me I already exist on that site!! I seem to be going round in circles.

I thought it might be easy

If the username is already registered, find it in the list of Users. Can you change its user role to ‘Administrator’?
Changing User Roles

Yes, I can do that, but it doesn’t seem to make any difference.

Does the third site show up here when you log in with your main username?
http://en.wordpress.com/my-blogs/

And if it does, can you access it by clicking its ‘Blog Admin’ link? Is there something else you were trying to do?

No it doesn’t, but I’ve got a sort of workaround by changing my password so that it’s the same for all three sites, just the user name is slightly different and I need 2 Bookmarks to get into the three sites instead of just the one.

I suppose I’ll have to work with that unless there’s any other thoughts out there

Hmm, I am out of suggestions but that’s definitely not a smooth solution to have to stick with.

Does anybody else have an idea? Or can staff take a look at why an admin can’t access the blog he’s an admin of?

Oct 23, 2013 at 11:02 pm

#1493484

@ianmabberley, please do the following for me:

1) Post a link to the WordPress.com site you are not currently administering from your ianmabberley account

2) Log out of ianmabberley and then log into your other account, and post in this thread from that account so I know everything is kosher.

Once I know the two accounts involved here, I can check a few things first and then work with you to resolve the bigger issue. :)

Oct 24, 2013 at 10:44 am

#1493489

Sorry I don’t quite understand what I’m meant to be doing. I added a link on one of the ianmabberley sites but don’t know where to find it or what to do next.

I can give you the web addresses if that helps?

Ian

@ianmabberly, no worries, just follow the steps she outlined above.

1. Post the web address of the third blog to this thread. This will tell jackiedana which blog you’re talking about.

2. Log into these forums with the username/password of the third blog, and then post a message in this thread using that username. This is to confirm that you actually have access to that third blog.

Once that’s all done, she can look into helping you figure out admin access from your original account.

The url of the site I want to change the username on is http://www.tgvhydro.co.uk.

When I log into that one the Support forum is WordPress.ORG not .COM as is this thread. So I don’t seem to be able to access this thread. If I switch to .COM then I’m back to my ianmabberley username. Does this tell you anything?

Ian

I suppose one way of showing I have access to the tgv site is for you to give me a piece of text to insert into that site. You’ll then be able to ascertain my validity.

Ian

Ahhh, everything makes sense now. We were assuming all your accounts were on wordpress.com. The reason you can’t be an admin from your wordpress.com account is that the other site is a self-hosted wordpress.org install. You won’t be able to log in with the wordpress.com username like you’re hoping.

Oh

Sorry to have taken up so much of your time. I didn’t realise that there were two different things. Almost everything looks the same.

Thanks to you and Jackiedana for setting me straight.

Ian

No problem at all. Sorry it wasn’t better news. :)

wpForo 1.x.x Register problem — ‘Email address exists. Please insert another.’

How-to and Troubleshooting

10
Posts

3
Users

0
Likes

3,676
Views

(@marta)

Active Member

Joined: 6 years ago

After filling out register form I always get a message ‘Email address exists. Please insert another.’ Then I’m logging as an admin and in ‘users’ I see the ‘failed’ registration. 

I turned out all plugins and sitting with it since 4 hours, no results. Any chance to help?

(@anonymous20)

Noble Member

Joined: 7 years ago

Those errors are NOT from the standard WordPress script. Maybe from some plugin ? And where do you see failed registration ?

Registration/Login is not handled by wpForo but from WordPress script.

 The related errors of a Standard WordPress are:

ERROR: This username is already registered. Please choose another one.
ERROR: This email is already registered, please choose another one.

(@marta)

Active Member

Joined: 6 years ago

I turned off all plugins as I said before.

Yes, these are errors that I was thinking about — I’ve just translated them into Polish. Do you know when  I can look some help? I have no idea what to do next.

Emails with confirmation are sent (but link doesn’t work), I can see accounts in users in dashboard, but I can’t see message with success (after filling out registration form or trying to log in)

(@anonymous20)

Noble Member

Joined: 7 years ago

Try:

1. Disable wpForo. Does now registration works ?

2. Enable WP debug to a LOG and check for errors.

https://codex.wordpress.org/Debugging_in_WordPress

define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

(@marta)

Active Member

Joined: 6 years ago

I can always register via wordpress form, but I want to register via link http://example.pl/forum/?wpforo=signup which is provided in menu.
I set forum base url to ‘forum’ and I have wordpress template page for this (if it matters).

I have debugging turned on, but there are no messages. 

Also I’ve noticed that when I want to set custom URLs for login and for register it only works for login. Custom register link shows 404.

У меня есть эта регистрационная форма, когда пользователь закончит с формой, он, наконец, отправит ее, но я хотел бы проверить, есть ли уже имя пользователя и адрес электронной почты или нет, легко, верно? Уже 2 дня пытаюсь разобраться, но безрезультатно. Извините, я не использую последнюю версию MySQL, так как это единственная версия, которую я изучил на занятиях. Буду изучать улучшенный.

Я провел много исследований в Google и обнаружил, что это какой-то король LOCK, который, когда мы вставляем таблицу, блокируется.

if(isset($_POST['button'])){


    $query_global = mysql_query("SELECT Username FROM users WHERE Username = '".$_POST['username']."' ") or die(mysql_error());

        $row = mysql_num_rows($query_global);

        if($row == 1){
            $error_username = "The username is already registered, please choose another one <br>";
        }

        $query_email = mysql_query("SELECT Email FROM users WHERE Email = '".$_POST['email']."' ") or die(mysql_error());

        $row_email = mysql_num_rows($query_email);

        if($row_email == 1){
            $error_email = "This email : '".$_POST['email']."' is already registered ";
        }

    if(isset($_POST['Username'])) { $Username = $_POST['Username']; }
    if(isset($_POST['email'])) { $email = $_POST['email']; }



    $nom = $_POST['nom'];
    $sexe = $_POST['sexe'];
    $email = $_POST['email'];
    $tel = $_POST['tel'];
    $adresse = $_POST['adresse'];
    $ville = $_POST['ville'];
    $pseudo = $_POST['pseudo'];
    $mdp = $_POST['mdp'];
    $date = $_POST['date'];
    $profession = $_POST['profession'];


    // location where initial upload will be moved to
    $target = "images/" .$_FILES['uploaded']['name'] ;

    // find thevtype of image
    switch ($_FILES["uploaded"]["type"]) {
    case $_FILES["uploaded"]["type"] == "image/gif":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/jpeg":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/pjpeg":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/png":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/x-png":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;

    default:
        $error[] = 'Seulement les JPG, PNG ou GIF sont acceptés!.';
    }

    $error="";

    if (!$error) {

    $query = "INSERT INTO Users Values ('', '".$nom."', '".$sexe."', '".$email."', ".$tel.", '".$adresse."', '".$ville."',  '".$pseudo."', '".$mdp."', curdate(), '$target', '".$date."', '".$profession."')";
    $add_user = mysql_query($query) or die(mysql_error());

    header('Location: Login/index.php');

        }

    }


    //display any errors
    if (!empty($error))
    {
            $i = 0;
            echo "<p><span class='error'>";
            while ($i < count($error)){
            echo $error[$i].'<br />';
            $i ++;}
            echo "</span></p>";
    }

Даже если все это сработает, есть ли способ остановить отправку формы, когда входные данные неверны, я имею в виду, что я пробовал это в другом файле, и это сработало, но даже если входные данные неверны, форма отправляется.

Не могу дождаться, чтобы услышать ваши ответы.

3 ответа

У вас нет ничего, что мешает запуску скрипта

if($row_email == 1){
        $error_email = "This email : '".$_POST['email']."' is already registered ";
    }
else{

//all the rest of your code here

}

Вы ничего не устанавливаете для $error прямо перед проверкой его значения, не зная, в чем цель:

$error="";

if (!$error) {


0

Tom
26 Ноя 2014 в 04:49

Я думаю, вы запутались со всеми своими переменными ошибок.

Вместо того чтобы хранить свои ошибки в разных переменных, используйте один массив для хранения всех ваших ошибок. Если форма отправлена, а массив ошибок пуст, то это будет означать, что все получилось. Вот как это может выглядеть:

$errors = array(); // this will contain all your errors

if (isset($_POST['button'])) {

    // store all your submitted values
    $nom = $_POST['nom'];
    $sexe = $_POST['sexe'];
    $Username = $_POST['Username'];
    $email = $_POST['email'];
    $tel = $_POST['tel'];
    $adresse = $_POST['adresse'];
    $ville = $_POST['ville'];
    $pseudo = $_POST['pseudo'];
    $mdp = $_POST['mdp'];
    $date = $_POST['date'];
    $profession = $_POST['profession'];

    // check username
    $query_global = mysql_query("SELECT Username FROM users WHERE Username = '". $Username ."'") or die(mysql_error());

    $row = mysql_num_rows($query_global);

    if($row == 1){
        $errors[] = "The username is already registered, please choose another one <br>";
    }

    // check email
    $query_email = mysql_query("SELECT Email FROM users WHERE Email = '". $email ."'") or die(mysql_error());

    $row_email = mysql_num_rows($query_email);

    if($row_email == 1){
        $errors[] = "This email : '". $email ."' is already registered ";
    }

    // location where initial upload will be moved to
    $target = "images/" .$_FILES['uploaded']['name'] ;

    // find thevtype of image
    switch ($_FILES["uploaded"]["type"]) {
        case $_FILES["uploaded"]["type"] == "image/gif":
            move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
            break;
        case $_FILES["uploaded"]["type"] == "image/jpeg":
            move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
            break;
        case $_FILES["uploaded"]["type"] == "image/pjpeg":
            move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
            break;
        case $_FILES["uploaded"]["type"] == "image/png":
            move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
            break;
        case $_FILES["uploaded"]["type"] == "image/x-png":
            move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
            break;
        default:
            $errors[] = 'Seulement les JPG, PNG ou GIF sont acceptés!.';
    }

    // create user if no errors
    if (empty($errors)) {
        $query = "INSERT INTO Users Values ('', '".$nom."', '".$sexe."', '".$email."', ".$tel.", '".$adresse."', '".$ville."',  '".$pseudo."', '".$mdp."', curdate(), '$target', '".$date."', '".$profession."')";
        $add_user = mysql_query($query) or die(mysql_error());

        header('Location: Login/index.php');

    // otherwise display errors
    } else {
        $i = 0;
        echo "<p><span class='error'>";
        while ($i < count($errors)){
            echo $errors[$i] . '<br />';
            $i++;
        }
        echo "</span></p>";
    }
}


0

Lynn Adrianna
26 Ноя 2014 в 05:00

Вы определяете ошибку в двух типах: один — массив, а другой — строка. Я думаю, что в настоящее время нет необходимости определять строку errors.

Массив

$errors[]

Строка

 $error="";

Также сохраните уже зарегистрированный адрес электронной почты и пользовательские значения в массиве ошибок. Попробуйте ниже.

if(isset($_POST['button'])){


    $query_global = mysql_query("SELECT Username FROM users WHERE Username = '".$_POST['username']."' ") or die(mysql_error());

        $row = mysql_num_rows($query_global);

        if($row == 1){
            $error_username = "The username is already registered, please choose another one <br>";
        $error[] = "The username is already registered, please choose another one <br>";
        }

        $query_email = mysql_query("SELECT Email FROM users WHERE Email = '".$_POST['email']."' ") or die(mysql_error());

        $row_email = mysql_num_rows($query_email);

        if($row_email == 1){
            $error_email = "This email : '".$_POST['email']."' is already registered ";
        $error[] = "This email : '".$_POST['email']."' is already registered ";
        }

    if(isset($_POST['Username'])) { $Username = $_POST['Username']; }
    if(isset($_POST['email'])) { $email = $_POST['email']; }



    $nom = $_POST['nom'];
    $sexe = $_POST['sexe'];
    $email = $_POST['email'];
    $tel = $_POST['tel'];
    $adresse = $_POST['adresse'];
    $ville = $_POST['ville'];
    $pseudo = $_POST['pseudo'];
    $mdp = $_POST['mdp'];
    $date = $_POST['date'];
    $profession = $_POST['profession'];


    // location where initial upload will be moved to
    $target = "images/" .$_FILES['uploaded']['name'] ;

    // find thevtype of image
    switch ($_FILES["uploaded"]["type"]) {
    case $_FILES["uploaded"]["type"] == "image/gif":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/jpeg":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/pjpeg":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/png":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;
    case $_FILES["uploaded"]["type"] == "image/x-png":
        move_uploaded_file($_FILES["uploaded"]["tmp_name"],$target);
        break;

    default:
        $error[] = 'Seulement les JPG, PNG ou GIF sont acceptés!.';
    }



    if (empty($error)) {

    $query = "INSERT INTO Users Values ('', '".$nom."', '".$sexe."', '".$email."', ".$tel.", '".$adresse."', '".$ville."',  '".$pseudo."', '".$mdp."', curdate(), '$target', '".$date."', '".$profession."')";
    $add_user = mysql_query($query) or die(mysql_error());

    header('Location: Login/index.php');

        }

    }


    //display any errors
    if (!empty($error))
    {
            $i = 0;
            echo "<p><span class='error'>";
            while ($i < count($error)){
            echo $error[$i].'<br />';
            $i ++;}
            echo "</span></p>";
    }


0

Altmish-E-Azam
26 Ноя 2014 в 08:59

#2968

closed


defect (bug)


(worksforme)

Reported by:

ruddo's profile

Owned by:
Milestone: Priority: high
Severity: critical Version: 2.0.3
Component: Administration Keywords:
Focuses: Cc:

Thiss can’t possibly be happening! I haven’t determined yet if this lets users log in with, say, full admin privileges, but today I awoke hungover to discover this (RFC822):


Return-Path: <apache@amauta2.propagation.net>
Received: from amauta2.propagation.net (localhost [127.0.0.1]) by
        amauta2.propagation.net (8.13.7/8.13.4) with ESMTP id k6MAhgEC003481 for
        <rudd-o@rudd-o.com>; Sat, 22 Jul 2006 05:43:42 -0500
Received: (from apache@localhost) by amauta2.propagation.net
        (8.13.7/8.13.7/Submit) id k6MAhg5I003480; Sat, 22 Jul 2006 05:43:42 -0500
Date: Sat, 22 Jul 2006 05:43:42 -0500
Message-Id: <200607221043.k6MAhg5I003480@amauta2.propagation.net>
To: rudd-o@rudd-o.com
Subject: [Rudd-O] New User Registration
MIME-Version: 1.0
From: wordpress@rudd-o.com
Content-Type: text/plain; charset="utf-8"
X-Virus-Scanned: ClamAV 0.88.3/1614/Fri Jul 21 15:27:38 2006 on
        amauta2.propagation.net
X-Virus-Status: Clean
X-Spam-Checker-Version: SpamAssassin 3.0.6 (2005-12-07) on 
        amauta2.propagation.net
X-Spam-Level: 
X-Spam-Status: No, score=-5.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
        NO_REAL_NAME autolearn=ham version=3.0.6
Status: O
X-UID: 15194
Content-Length: 89
X-Keywords:                                                                
                                           
X-Evolution-Source: imap://rudd-o@rudd-o.com/


New user registration on your blog Rudd-O:

Username:  Rudd-O

E-mail: kanarxp@yahoo.gr


OMIGOD! Why? This shouldn’t be possible at ALL!

Понравилась статья? Поделить с друзьями:
  • Error this server is already on your list ok
  • Error this script needs bsddb3 to be installed
  • Error this script must be started from web server s document root
  • Error this script can only be executed by root
  • Error this page has been moved to trash bin перевод