UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/Support Questions (UserPro)/Auto logout: Firefox bug?

Auto logout: Firefox bug?

Bugfirefoxlogout
  • 9 years ago AvatarForeigner
    Participant

    I have noticed that hitting the “publish” button in the frontend publisher automatically logs me out, but only in Firefox. I tried it on three different machines with the same result. Actually, sometimes it’ll log me out even if I just visit the publisher page. I don’t know with which version of UP this began happening. I’m using v 1.074 now. This occurs regardless of the role (i.e., from subscriber to admin).

    This occurs only in Firefox. All is fine in Chrome and even in Explorer 11.

    Thanks!

    P.S. If required: Cannot yet make page public but can certainly send admin login details.

    9 years ago AvatarForeigner
    Participant

    Because this might be a related issue, I will post it here. I have noticed a problem in all browsers: The author link-to permalink structure doesn’t always work when using first-last name. This is also very recent. I am using the firstname-lastname permalink structure because of the dot in some Facebook usernames. (If WordPress author pages natively accepted dots or if UserPro converted dots to dashes, I’d simply use the username.) Using the user ID number doesn’t work at all for this purpose.

    Thanks.

    9 years ago AvatarForeigner
    Participant

    Updating this issue: I contacted my server provider to rule out any cache mechanisms they might have on the node that would cause this behavior (they don’t), clearing cookies, etc. I’ve also narrowed the problem slightly: I deactivated UserPro and no problems with logouts. After reactivating UP, I noticed that I would get logged off simply by going to the publisher page. I then set up another page (activity stream)–same logout issue. Again, this happens only with Firefox, and I have to think it’s a phpsession problem, but beyond that, I don’t know what to explore. I noticed that one other person here had a very similar problem, but I saw no conclusion in that thread. No, I don’t think this an entirely UserPro issue–it’s more a combination of things, of which UP is one participant. Any direction is much appreciated!

    9 years ago AvatarForeigner
    Participant

    Problem solved (for now). Here’s what I did:

    1. I removed the www from the site’s URL in General Settings, then followed the WP codex here: http://codex.wordpress.org/Changing_The_Site_URL (I edited functions.php)

    2. I then re-entered the roles allowed to publish in the UserPro settings (a great new feature added for version 1.0.73, I think).

    Works fine for the moment in Firefox and of course in the other browsers.

    So, as suspected, it was not a UserPro issue in and of itself; it was rather a combination of things.

    As for the permalink settings for the author page, I’m about ready to give up on that. I did have them working a couple of versions ago using full name, but it remains spotty with no obvious pattern as to when it fails or succeeds. There is always a pattern, however… Username with dot (e.g. Facebook) definitely does not work with with UP and the WP default author page.

    9 years ago Avatarsolucionesproit
    Participant

    Hi, I have the same issue please fix this problem on firefox. I don’t want a site without www.

    Thanks.

    9 years ago Avatarsolucionesproit
    Participant

    Hi, I have solved the problem by adding to functions.php of my theme the following code:

    remove_action( ‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0 );

    9 years ago AvatarForeigner
    Participant

    Hi solucionsport. Thanks for sharing the fix. I would never have thought of that remove action code (or of anything code-related, for that matter). I just tested it, and it also works. Anyone reading this should make sure they’re in their theme functions.php and not the WP file. Thanks again.

    9 years ago Avatarsolucionesproit
    Participant

    You’re Welcome. For me it was also a problem with WooCommerce.

    I checked this: http://wordpress.org/support/topic/firefox-logout-woocommerce

    8 years, 7 months ago AvatarMattia
    Participant

    Hi,
    i have your the same problem!
    I’m really newbie about .php please could you explain step by step how to resolve this problem?
    Only in Firefox when i click the button “View Profile” or on the button page on menu there is automatically log off.

    Thank you,
    Mattia

    8 years, 7 months ago Avatarpamom
    Participant

    Can you explain your fix a little more? I’ve been having the same issue and I’d like to fix it, but I’m still sorta new to WP. I can add some code to my theme’s functions.php file, but I don’t understand why that fixes it.

    8 years, 7 months ago Avataradmin
    Keymaster

    Can you try the solution described here please – and let me know how it goes ? Thanks
    http://userproplugin.com/userpro/forums/topic/users-gets-logged-out-when-viewing-posts/

    8 years, 7 months ago AvatarAyesha (UserPro Support )
    Participant

    Also, please be careful with the apostrophes when you copy the code from the link that was shared
    http://userproplugin.com/userpro/forums/topic/users-gets-logged-out-when-viewing-posts/

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

You must be logged in to reply to this topic.

Disclaimer

This forum is 100% free and USER to USER support only. Technical support staff doesn’t monitor this forum actively.

If you are a customer and want to get technical support from our staff please submit a technical support ticket here: UserPRO Technical Support

Recent Topics

  • Custom Badges AddOn Plugin here
  • Green Trust Cash APplication
  • How to use cash app without a bank account
  • Install Cash App on your Device [100%] by yourself | Step-by-Step Guide
  • Green Trust Cash Application

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro