WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Cant' login wp-admin / wp-login.php error

[Resolved] Cant' login wp-admin / wp-login.php error

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would take reinstall WordPress instead of using the cleaned files form Sucuri. You should be able to over override the old file with new files. You theme and data would still be there but you will have a clean install.

    You will chase your tail if the core files have been touched.

    MIST Kathleen

    @kathleen-steegmans

    I’m in again! 🙂

    Line 399 in wp-login.php was changed to:
    setcookie( ‘wp-postpass_’ . COOKIEHASH, $hasher->HashPassword( stripslashes( $_POST[‘post_password’] ) ), time() 10 * DAY_IN_SECONDS, COOKIEPATH );

    I replaced the line with a copie from another wp site to this:
    setcookie( ‘wp-postpass_’ . COOKIEHASH, $wp_hasher->HashPassword( stripslashes( $_POST[‘post_password’] ) ), time() + 10 * DAY_IN_SECONDS, COOKIEPATH );

    I can now login again and will reinstall WordPress to have a clean install.

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Cant' login wp-admin / wp-login.php error’ is closed to new replies.