WordPress.org

Forums

[resolved] Twenty Ten Validator Error (10 posts)

  1. celticmaverick
    Member
    Posted 4 years ago #

    I am getting this error from Validator, but cannot find where to fix it - this code is not in index.php in the dashboard - where should I be looking? Thank you.

    http://validator.w3.org/check?uri=http%3A%2F%2Fcelticmaverick.com%2Findex.php%2Fthe-customer-must-always-be-the-apple-of-your-eye-even-for-steve-jobs%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

  2. It's your author link on line 78.

    href="http://celticmaverick.com/index.php/author/Jim Hargadon/"

    See the white space right after "Jim"? That's a no-no and the validator is complaining about it.

  3. celticmaverick
    Member
    Posted 4 years ago #

    Thanks Jan - yes I see that - but where do I fix it and remove the space.

  4. Change your account login from Jim Hargodon to something without a space?

    There should be a filter to change a space into a %20 (which would then validate just fine) but that does not seem to be happening.

    That blog looks sparsely populated so try adding a new account less the space, then delete the old account. WordPress should ask you who do you want to assign the old posts to.

    When that happens select the new account. Make sure the new account is setup the same way as the old one. If the old one is an admin, make the new one an admin as well.

  5. celticmaverick
    Member
    Posted 4 years ago #

    Yikes - that sounds serious - I am new and it is a new site - how do I change account - under 'user' profile it says username cannot be changed. Thanks.

  6. You can't change the username without some serious surgery to the database.

    But you can create a new user account with the same level of access as the old account, delete the old account (the one with a space in it) and assign the old posts to the new account.

    It's a new site and this will not effect the look, the style, etc. At worse you'll lose the posts you already set up.

  7. celticmaverick
    Member
    Posted 4 years ago #

    Thanks Jan - I have to go out now but will try this later.

  8. celticmaverick
    Member
    Posted 4 years ago #

    Ok - I don't like deleting anything - and it will not let me use my name again as user - so I searched around web and followed this video: http://www.francescolanza.com/2007/10/24/password-admin-reset/

    and in phpmyadmin - there does not appear to be any spaces before my name - see screenshot below - any ideas on what I should do now. Thank you.
    http://www.celticmaverick.com/index.php/php/

  9. Not before your name. Look at that link, see the user_login field? That has "Jim<space>Hargodon" and that's what you need to change.

    The other field user_nicename is good and should be left alone.

    (Jan takes a deep breath here)
    GREAT GUU, MAKE SURE YOU HAVE ANOTHER WORDPRESS ADMIN ACCOUNT ON THAT BLOG BEFORE YOU MESS WITH THAT IN PHPMYADMIN!

    Whew, sorry had to get that out. Seriously, create another account before you play with that table. If you bork that portion you may not be able to log in with your old name.

  10. celticmaverick
    Member
    Posted 4 years ago #

    Well Jan you definitely scared me from going near that phpmyadmin .. so I basically ended up doing what you said earlier - had to make a few moves:
    1) set up new administrator user with different name (admin)
    2) delete my user account
    3) log out and log in as new user
    4) set up new user using my original name
    5) log out and log in as my original name
    6) delete (admin) user and assign posts to my original name

    Seems to have worked.
    Jan it's been a long day - and I certainly appreciate that it has been 10 hours since you answered my original query - and you are still here ... Fantastic support - I can only say Thanks A Million.

Topic Closed

This topic has been closed to new replies.

About this Topic