• Resolved Joseph

    (@jpe24524)


    Back from a long break and upgraded from 3.0.4 to 3.2.1 before noticing my site not recognising the login outside of the dashboard.

    My WP is installed in a sub-directory with site address set to root. I’ve checked the wordpress_logged_in cookie and the path is also root.

    I’ve reinstalled the core files, used default theme with plugins disabled, cleared cache and cookies and with different browsers. I’ve also tried separate clean installs with the latest and old (3.0) versions of WP but it’s still the same result. The login worked when I tried setting the site address to the sub-directory.

    PHP: 5.2.17
    MySQL: 5.0.92-community

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Joseph

    (@jpe24524)

    I’ve done some testing on wamp and it appears the values for the wordpress_logged_in_, wordpress_ and wordpress_test_cookie cookies are incorrect?

    For wordpress_logged_in_ and wordpress_ , instead of something like

    admin%7C1314758834%7C42d9f1e2b2ee2c5759eae29296adf740

    I’m getting a hugh string of hash like

    YaBgM14E2GtR-23iN-3C98zKV4sgmEwexDA4DdGLlX49F-EpYibYkA0v2pNlqR_vorfwHsHfSgQ3-Tuj2rxpjJiqcZKR0y5kYagThN4ZcU0

    And for wordpress_test_cookie instead of

    WP+Cookie+check

    I’m getting

    gn58rs1W2S0yCpJGtjYS9Oju5tkcDBUl8GL4kQee_jM.

    Note that I can access the dashboard depite the weird value of the wordpress_ cookie.

    I’ve double checked wp_generate_auth_cookie() in pluggable.php and I’ve also tried using wp_set_auth_cookie() explicitly which does generate the correct cookie. I’m not sure where else I should look.

    Thread Starter Joseph

    (@jpe24524)

    After further testing, it appears to be a PHP problem. The setcookie function converts the value parameter into some jibberish.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logged in on dashboard but not on site’ is closed to new replies.