WordPress.org

Ready to get started?Download WordPress

Forums

root Cookie
Subdomains support: will not log out (8 posts)

  1. kherezae
    Member
    Posted 3 years ago #

    I just installed root Cookie on my wordpress site and found that when I went to the root Cookie subdomains settings page and enabled subdomain support, suddenly I became unable to log out of my wordpress account. If I disabled the subdomain support, I could log out again, but if I tried to tick the checkbox or even enter a specific subdomain, whenever I tried to log out I was just redirected to the same page, still logged in.

    Is there any way to fix this? I'm not sure how the problem arose or if it's specific to my site.

    http://wordpress.org/extend/plugins/root-cookie/

  2. linickx
    Member
    Plugin Author

    Posted 3 years ago #

    Hello,

    Can you see if the development version helps? -> http://plugins.trac.wordpress.org/browser/root-cookie/trunk/root-cookie.php

    I pushed a change a little while back to help wiziee, but their issue was chrome not deleting the cookie rather than a WP/root-cookie problem... what browser are you using?

    Cheers,
    Nick

  3. kherezae
    Member
    Posted 3 years ago #

    Okay, I took a look. Similarly, the updated php did not help me. However, because wiziee realized the problem lay with Chrome, I tried using another browser as well. (I typically use Safari, as I'm on a Mac.) In Firefox, the plugin works just fine.

    I'll be getting a new laptop soon and moving back to PC, where I'll use IE, which apparently works from what wiziee says. So I'm not too concerned.

    Thanks for your timely response and helpful plugin!

  4. n.pirlot
    Member
    Posted 3 years ago #

    Hi linickx,

    Is it not possible to have a cross-browser solution, as I would like to use the wordpress authentication throughout the site, and your plugin is very useful, but I would prefer not having to restrict site users to certain browsers?

    Many thanks.
    All the best,

    Nic

  5. linickx
    Member
    Plugin Author

    Posted 3 years ago #

    Hello,

    I think there is some miss-understanding in this thread; the plugin is not restricted to a given browser, it uses the same "delete cookie function" for logout that WordPress uses... what is odd here is that Ffox/IE works and Chrome does not... I will update the plugin against the WordPress trunk and see if any fixes have been issued.

    Cheers,
    Nick

  6. n.pirlot
    Member
    Posted 3 years ago #

    Hey Nick,

    I did know the plugin is not restrictive, I might have expressed myself badly.

    However, if it helps you find a fix, I no longer have the problem since I have taken the multipe sub-domains option off.

    Also, fyi, the "News & Tutorials" section of the options page comes up with the below error on my site, it could well be linked to my site config, i have not had much time to debug the error.

    Error excerpt: "Fatal error: Call to undefined method WP_Error::get_items() in /home/[...]/public_html/blog/wp-content/plugins/root-cookie.php on line 265"

    Your plugin is very useful, and I am thankful for your work.

    Cheers,
    Nic

  7. linickx
    Member
    Plugin Author

    Posted 3 years ago #

    Hello,

    Error excerpt: "Fatal error: Call to undefined method WP_Error::get_items() in /home/[...]/public_html/blog/wp-content/plugins/root-cookie.php on line 265"

    Is fixed in 1.5.3 , seems like some versions of PHP don't like http redirects.

    I am looking into the chrome vs ffox thing.

    Cheers,
    Nick

  8. jugoretz
    Member
    Posted 3 years ago #

    Hi Nick,

    I can confirm that this same thing happens to me on Chrome. Seems like somehow the cookie just does not clear no matter whether I log out or not (but just for chrome). (Clearing cookies manually seems to fix it).

    I love the plugin, it fills a real need for us--but lots of our users do use Chrome, and do want to log out sometimes. Hope you can figure it out!

    Thanks,

    Joe

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic