Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress log in Problem – not all pages logged in


  • raytronx
    Participant

    @raytronx

    I’m having this problem on my Buddypress site. I have made a second test site at http://rvdogs.net and can reproduce the problem running only the latest WordPress 3.7 and Buddypress 1.8.1 with no other plugins and the default Buddypress Default theme.

    Problem:

    When a user logs in sometimes pages will show them not logged in even though they are. A browser refresh like when hitting F5, fixes that page and they are then shown logged in.

    IE. They will be shown logged in to say Home and Groups, but when clicking Blog or Activity suddenly they are logged out. A page refresh always logs them back in. The page they may be log in or logged out of is random. It can happen to any of them. Once they have refreshed the pages and they are logged in it remains fine until the next time they need to log in to the site.

    It seems like a caching problem but I run no cache and I asked my host Siteground.com and they say there is no caching going on.

    I have reproduced the problem on Chrome, Firefox and IE. Many users have complained of the issue.

    Any ideas?

    Thanks Ray

Viewing 1 replies (of 1 total)

  • raytronx
    Participant

    @raytronx

    *Solved Problem*

    It had to do with a rule in the .htaccess
    ExpiresByType text/html A3600
    Tells the browser to cache the page for 1 hour, well it caches the non logged in page so after log in when you go back to it the browser gives the cached version.

    The reason it was so hard to figure out has to do with my hosting setup. I have my main site hosted then my buddypress site is an addon domain so lives in a folder /addondomain

    Well the .htaccess files are recursive so the rule ExpiresByType text/html A3600 was set by W3 Total Cache, a plugin I use on my main website living in Public_html caused the rule to be applied to the add on domain pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Buddypress log in Problem – not all pages logged in’ is closed to new replies.
Skip to toolbar