Viewing 12 replies - 1 through 12 (of 12 total)
  • Could you open the console log and see if anything happens when a user logs in successfully and is not redirected – I am curious if a error will be thrown

    Second, is there a setting in your WP / WC that is supposed to send users to a specific page after login? Or does it attempt to go to last URL attempt?

    If it is not a 3rd party plugin, I would take a look at your themes template

    Are users not able to recover password if they have not saved/updated their passwords?

    Thread Starter Taylor

    (@thesantecompany)

    Thanks for the quick response. I will let our developers know about the first point. Unfortunately I’m not savvy with that kind of stuff.

    Second point: The way the developers created the site the login page appears on our subdomain (doesn’t look like it has it’s own unique page sub.domain.com/login). From what I can tell it doesn’t look like storefront doesn’t either. Could that possibly be the issue? Also I could be mistaken about the directories. I know a lengthy explanation but I’m not positive if it is a redirect or attempts the last URL.

    Third: We only have “forgot password” link which is also having an issue. The email to reset the password is being sent but when the users click on the link, it brings them back to the same page where they entered their email to start the process. Could these issues be linked?

    Thread Starter Taylor

    (@thesantecompany)

    Update: I just double checked to see if the storefront had a dedicated page, it does. The link however is still http://sub.domain.com/. I couldn’t find a dedicated page for the login page yet. I’ll post again if I anything changes.

    Something to keep in mind is cookies and sharing on between domains and sub domains

    I have had a issue with the Forgot Password in WooCommerce previously but not with that same situation.

    It is possible that they could be linked, so with fingers crossed – solving problem #1, it will subsequently resolve #2 (depending on the cause). If cookie domain related, I would htink it would resolve 2 with 1 stone

    Are you able to check your cookie values?

    Thread Starter Taylor

    (@thesantecompany)

    How can I check if the cookies are shared?

    My apologies I’m still learning and not sure exactly what you mean your question regarding cookie values. Can you elaborate a little more?

    I use a cookie editor in google chrome
    EditThisCookie

    Depends on your brower, in my editor I see that, for example, WordPress.org has cookies set
    Domain = .wordpress.org (notice the . in front, that covers subdomains on the primary domain)

    Thread Starter Taylor

    (@thesantecompany)

    I just installed the app. The is one cookie that has the . in front of it, the reset have my subdomain. Should I be looking for a specific cookie to see it’s value? Also there is a cookie that says the wp_woocommerce_session if that helps.

    You said in 1 scenario things work, another things do not work

    Can you check your cookies in both situations and do a comparison

    Thread Starter Taylor

    (@thesantecompany)

    So there are two different cookies in each situation:

    1st (Logging in after clearing cookies): Following cookies appear

    wfwaf-authcookie-then string of numbers/letters
    wordpressed_logged_in_then string of numbers/letters

    2: (After manually logging out and trying again): Following cookies appear

    wf_logout
    wordpress_test_cookie

    Does that help?

    Both for the same domain value?

    Thread Starter Taylor

    (@thesantecompany)

    Yes

    I have the same problem! WordPress 4.6.1 and Woocommerce 2.6.7.

    I have seen a few others struggling with this as well. The test cookie is set in wp-login/php (see below) and it seems to set the cookie twice. The second time only if COOKIEPATH and SITECOOKIEPATH are different. I wonder if there is only ONE cookie unset/delete at logout (so that a test cookie is left if COOKIEPATH != SITECOOKIEPATH). In other words: is this behavior intended for some reason?

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘[Plugin: Woocommerce] User login page issue’ is closed to new replies.