WordPress.org

Ready to get started?Download WordPress

Forums

I can't log in, why?!? (21 posts)

  1. jaqueen
    Member
    Posted 9 years ago #

    For some reason, I can't log into WordPress. I had my password changed through 'Lost Password?' but even when I entered the new one it still isn't working. Why is this?

  2. NuclearMoose
    Member
    Posted 9 years ago #

    I'm assuming that this is WP 1.2, which does have a problem with this.
    One solution for this is to edit the password field in the user table in the WP database, You'll have to use phpMyAdmin or some other way to work directly on the database.
    You can 'hash' a new password, then overwrite the existing password in the database with the new hash. How do you encode your new password? Just visit http://bfl.rctek.com/tools/?tool=hasher where enter your desired password into the form, click the button, and out pops your encoded (hased) password. Replace the old hash in the database with the new one, and then login with your new password.
    HTH.

  3. nicechap
    Member
    Posted 9 years ago #

    Well I actually did the same thing that HTH suggested. You might find the whole solution vague, since HTH did not describe it fully. Well if you understand what he is saying, then its good. Else you can take a look at http://faq.wordpress.net/view.php?p=68
    Hope you sort everything out and get it running. I just started with it last night, and its a neat platform. Though it lacks some things compared to MT, but I love it for its simplicity and ease.
    All the best !!

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Tried a different browser ?

  5. scrm
    Member
    Posted 9 years ago #

    Yes, with both IE and Firefox. I've also deleted my cookies and temp files in both cases. The result is the same.

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    This is worth a look.
    Using phpmyadmin, you need to check that your url's are correct inside the database.
    Open up phpmyadmin, click on the database name, and when you see the list of all the tables (like screenshot 3 here: http://www.mfr.f2s.com/phpmyadmin/ ) click on the 'Search tab at the top.
    Put 'scandal' into the search box, and click 'Go'
    The result should show that there were some results in the table 'wp_options'
    Click 'Browse'
    Now check that each of those items are correct.
    If they are not, click on 'Edit' (it's the first icon in the row - looks like a pen and pad) and carefully correct that information.
    If that info is already correct, post back.

  7. scrm
    Member
    Posted 9 years ago #

    I solved the problem. Following your instructions, in wp_options, the 'siteurl' is http://scandal.org/wordpress whereas the 'home' is http://scandal.org/weblog . I'm using a different blog and wp directory (it's actually just a remapping of one dir to another to keep things clean).
    Following the instructions in this post I edited vars.php in the wp-includes directory, and am now able to log in successfully with either browser.
    Hopefully the devs are aware of the issue already as the fix was posted back in May. Thanks for your help, Podz.

  8. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Glad it's worked out :)

  9. jaqueen
    Member
    Posted 9 years ago #

    HTH,
    I don't understand what you are saying about this 'hash' business. Could you be more specific? Thanks a lot for all the help, I really appreciate it! ^__^
    -Jaqueen

  10. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Hash ?
    Just follow this link and you should be fine.
    http://www.mfr.f2s.com/phpmyadmin/

  11. jaqueen
    Member
    Posted 9 years ago #

    Thank you so much Podz! I am going to link you on my website because you have replied two of my queries and helped me a lot! Thanks! ^___^

  12. mike3k
    Member
    Posted 9 years ago #

    I'm having the same problem, but only in Safari. I can log in with FireFox, Opera, or IE, but when I try to log in with Safari, it always bounces me back to the login screen with "wrong login/password", which it also displays the first time in that screen before I enter anything. When I try to reset the password, it always shows the username as blank. I'm logging in as the administrator, which is the only user in ny blog.

  13. mike3k
    Member
    Posted 9 years ago #

    I was able to fix the login problem, which only occurred in Safari, by editing wp-login.php and changing every instance of COOKIEPATH to $COOKIEPATH in the setcookie calls.

  14. hanni
    Volunteer Moderator
    Posted 9 years ago #

    Doesn't HTH stand for Hope That Helps?

  15. divrom
    Member
    Posted 9 years ago #

    Mr Moose ;),
    I don't think it's necessary to hash one's password in phpmyadmin. If I'm not mistaken (and I might be!) you can simply select MD5 from the "function" drop-down and then put the new password in at the end as normal.
    It's worked for me, anyway. Is this not the normal method?

  16. Anonymous
    Unregistered
    Posted 9 years ago #

    I had the same problem.
    This was wrong:
    table: wp_options
    record: siteurl
    field: option_value
    fix that and you might be ok

  17. Mark (podz)
    Support Maven
    Posted 9 years ago #

    @divrom - yes you can.
    At the time I wrote the guide - when I had this issue - I didn't know about the dropdown function.
    Sunshine (here on the forums) pointed that out to me - and at some point I'll get round to updating the guide to reflect that. In the meantime though, the end result is the same :)

  18. TaseerDC
    Member
    Posted 9 years ago #

    I'm having a somewhat similar problem. I've been using Firefox to get my WP installation going, and it keeps displaying massive amounts of code along with a section at the bottom which let me click through the steps for setup. Each install step has looked like this, below, but hasn't had any "error" messages, not like this one.
    $this->col_info as $col ) { $new_array[$i] = $col->{$info_type}; $i++; } return $new_array; } else { return
    [more raw code showing]
    Warning: Cannot modify header information - headers already sent by (output started at /home/venialsi/www/www/wp-includes/wp-db.php:284) in /home/venialsi/www/www/wp-login.php on line 188
    [repeated similar warnings]
    And most frustratingly, although it's given me a user name and password, every time I enter it on the login page, it tells me that the password field is blank. This is the fifth time I'm trying to install WP and get off MovableType, but I'm a few minutes away from giving up. Any ideas or suggestions about what I can/should do?
    Thanks!

  19. TaseerDC
    Member
    Posted 9 years ago #

    Sorry about the double-post. Didn't mean for that to happen. My apologies.

  20. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Do this:
    PHP Info
    Paste this into a new Notepad / BBEdit file
    <?php phpinfo(); ?>
    Save as 'info.php'
    Upload to server. Visit in your browser (www.example.com/info.php)
    That will give you info about your php version - what does it say ?
    (and I'll remove the extra post :) )

  21. TaseerDC
    Member
    Posted 9 years ago #

    It's version 4.3.9. In sheer frustration, I've deleted the entire installation and am going to try to upload and run it one more time. In any case, I'm sure that I shouldn't be seeing code when I run the install.php file in wp-admin. Any idea why that's happening?
    And thank you for the removal. Much appreciated :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.