Forums

WP-Admin redirects back to itself (3 posts)

  1. mk1972
    Member
    Posted 4 years ago #

    Installed WordPress fine. When I try to login as Admin it processes the logon - appears to be trying to set a cookie on my end (which are enabled), my client doesnt receive it. It then loops back to the same login screen with a redirect that it really wants me to use but cant to /wordpress/wp-admin/index.php. Its like it cant build the cookie properly and send it.
    System is PHP 5, IIS 7 with FastCGI.

  2. mk1972
    Member
    Posted 4 years ago #

    Actually - I checked from another machine. the cookie does get set but the redirect back to the login page still happens.

  3. mossyblog
    Member
    Posted 4 years ago #

    It's because the set_cookie method in the wp-includes/pluggable.php isn't creating the "USER_COOKIE". It creates the "PASS_COOKIE" but not user.

    Dirty hack i found was to edit the pluggable.php, put some //comments in front of the PASS_COOKIE, refresh load it and then uncomment.

    I'll log it as a bug now... doubtful IIS7 or FastCGI plays a role in this...

    -
    Scott Barnes
    RIA Evangelist
    Microsoft.

Topic Closed

This topic has been closed to new replies.

About this Topic