Auto logout: Firefox bug? – UserPro Forums https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/feed/ Tue, 30 Apr 2024 00:41:58 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24475 <![CDATA[Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24475 Thu, 06 Mar 2014 20:44:10 +0000 Foreigner 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.

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24482 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24482 Thu, 06 Mar 2014 21:45:59 +0000 Foreigner 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.

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24493 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24493 Fri, 07 Mar 2014 02:54:49 +0000 Foreigner 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!

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24500 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24500 Fri, 07 Mar 2014 06:04:23 +0000 Foreigner 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.

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24516 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-24516 Fri, 07 Mar 2014 10:49:17 +0000 solucionesproit Hi, I have the same issue please fix this problem on firefox. I don’t want a site without www.

Thanks.

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-25092 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-25092 Fri, 07 Mar 2014 17:06:02 +0000 solucionesproit 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 );

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-25103 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-25103 Fri, 07 Mar 2014 18:31:19 +0000 Foreigner 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.

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-25115 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-25115 Fri, 07 Mar 2014 20:53:54 +0000 solucionesproit You’re Welcome. For me it was also a problem with WooCommerce.

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

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-41648 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-41648 Wed, 06 Aug 2014 13:38:48 +0000 Mattia 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

]]>
https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-41662 <![CDATA[Reply To: Auto logout: Firefox bug?]]> https://forum.userproplugin.com/forums/topic/auto-logout-firefox-bug/#post-41662 Fri, 08 Aug 2014 02:29:36 +0000 pamom 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.

]]>