you must logged in to view this page error in IE.

I am facing a problem in IE only when i enter my user name and password then it shows a (you must logged in to view this page) and if we check the same user from any other user's profile it shows the user is only . please help me to resolve this issue.

Thanks

  • Actually few of my members were facing problem. They call their ISP and they told them to try this. and it worked for them. then they again asked their ISP that why this happening they told them that someone is blocking you from accessing to that site. :(     ..........

  • I'm not sure if this is related to your problem but we had a similar problem with IE. This is how I replicated the problem using standard IE7 in Windows XP:

    • Open http://ourelggsite.com/ and try to login
    • Get token mismatch error and get forwarded to http://www.ourelggsite.com
    • Try to login and get the "You must be logged in to view this page"

    If I close the browser and go directly to http://www.ourelggsite.com/ login works perfectly. I fixed this with a small tweak in .htaccess that redirects from non-www to www. Site url in the settings was set to http://www.ourelggsite.com/.

  • I already did that :), 

    this seems that if we open www.yoursite.com it use login to www but if we open yoursite.com it login yoursite.com/login which is not working in elgg

  • Hi all,

    Thanks for your help and suggestions. Problem is solved now. The problem is due to cookies stored in IE8 when I clear the Cookies then I am able to login by www.mysite.com. again try with same again success. then i tried without www for eg. mysite.com then the problem accur again. Now I have change my site URL from http://www.mysite.com/ to my http://mysite.com/ in system settings. Now I am able to login by both ways with www and without www.

    Thanks 

  • I'm having a constant problem with this and new registered users not being able to log in.

    This happens with both user validation by email, and without.

     

  • In internet explore press F12 new window will open and on cache tab clear cookies and cache and again try to login after restart IE. I am using login by email only and in my case email validate plugin is enabled  but site access plugin is disabled. please check these settings.

  • 95% of all login problems are due to the issue of http:// vs http://www

    You have to be consistent in your use of the www and it is best to have a rewrite rule setup to handle fowarding to the correct url otherwise.