Major user login problems...

Discussion in 'Troubleshooting' started by sc0tsman, May 25, 2011.

  1. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Some of my users old and new experience logins problems whereas they get redirected to "amember_access_denied_default" page in wordpress although they have active accounts.

    I have tried it with cache plugins both on and off and still the same problem

    My site index page is a landing page for private login. then it should direct to my home page.

    I hope this makes sense and a resolution can be found as some of my clients are cancelling subscriptions.
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    1. Are you able to reproduce the issue yourself or does it seem isolated to a handful of your users?

    2. Do they ALWAYS have the problem or just sometimes?

    3. Any commonalities to the users effected (ie. same web browser type, javascript disabled, etc.

    4. Does clearing their cookies / cache resetting browser have any effect?

    5. Anything special with these users (complex or using high ascii/symbols in username or password that may impact 3rd party scripts, etc)
  3. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    1. Personally I cannot recreate the problem, no sorry.
    2. No, the problem is intermittent.
    3. cross browser problem as for JS I have no idea.
    4. Just normal user/pass with all.
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Typically I would try and find a user that is impacted and emulate their experience (same browser type, using their userid/password, following the same steps they follow).. not sure if this is an option for you.

    Attacking it from a different angle, you mention they have "login" issues.

    1. Are seeing this issue when they are logging into aMember or to a 3rd party script on your site?

    2. If aMember, is it direct login or a login as a result of clicking on a protected content that requires them to login and view?

    3) Do they get it any other times (ie. logged in ok, clicking on protected content ...)
  5. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Skippy I use the default aMember WP plugin to login as you can see here http://www.streampro.tv I think the problem is my "landing" page is also my "index" page and I have it set to redirect to http://www.streampro.tv/beta/home/ however on some occasions it redirects to the "amember_access_denied_default" page
  6. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Any help lads?
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I just tried to go to the beta/home directory and I get the amember_access_denied_default without even being logged in. Are you protecting that post/page (ie. the login page?) by mistake? or perhaps have an .htaccess in the root dir for that install which is causing issues?
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    John,
    When users are redirected to amember_access_denied_default page are they logged in amember still?
    Also are they able to access http://www.streampro.tv/beta/wp-admin/ wordpress profile?
  9. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Alex no they cannot access http://www.streampro.tv/beta/wp-admin/
    Yes some of my users are logged in but some get directed to "amember_access_denied_default" page and not /beta/home

    Yes skippy this is correct as users have to login to access beta/home
  10. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    I need to know exactly of example user.
    When user have above issue and when it redirected to access denied page what happen when he :
    Try to access /amember/member.php
    Try to access http://www.streampro.tv/beta/wp-admin/

    If user is not logged in aMember, then the problem in sessions being cleared too fast by the server.
    If user can't access wordpress profile but can access aMember, then the problem is in plugin or in sessions not being available from plugin.
  11. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Alex my users don't have access to http://www.streampro.tv/beta/wp-admin/ I don't want them to have access there.

    I have PM'd you an active member who cannot access my site and he gets this problem.
  12. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    I am totally lost here and do not know how to fully explain what is going on as I know nothing about coding, please help
  13. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    My suggestion would be to take a step back and start simple.

    Remove protection from your various folders / directories (check the .htaccess files) and then test to ensure the redirect issues are not happening. Then step into it one at a time protecting your folders until you find the issue.

    Alternatively, you can describe what the complete end results should look like (domain, subdomains, folders, software, which needs to be protected, etc) and we can provide guidance.
  14. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    skippy i think my install is a mess as I had it on a drupal install at first and now I am on a wordpress. The drupal install all protection is set in amember admin panel whereas in WP protection is set in WP admin.

    I think each are confusing each other (and me) ;)
  15. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    I just noticed in wordpress admin my HOME page that under the aMember protection settings it says "Connection to aMember failed (Please check connection settings )!"

    EDIT: It is saying that on ALL my protected WP pages.

    No idea what that means

Share This Page