Error Message: "Access to this membership area is not allowed. Please go to"

Discussion in 'Troubleshooting' started by blacloch, Apr 27, 2009.

  1. blacloch

    blacloch New Member

    Joined:
    May 12, 2008
    Messages:
    5
    Hi,

    Whenever a customer or myself tries to purchase a product I get the error message:

    "Access to this membership area is not allowed. Please go to "Membership information page" to renew or add subscription"

    It is showing as Paid in amember and once I add a manual payment it is fine.

    What could this be? Any help would be great.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    What payment system are you using? Sounds like amember isnt being notified that the payment has completed.

    David
  3. blacloch

    blacloch New Member

    Joined:
    May 12, 2008
    Messages:
    5
    I have actually had it happen with PayPal and 2Checkout.

    Could it be an issue with protection?
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Sounds like you IPN isnt set up properly.
    What messages (if any) are you getting in your error log?

    David
  5. blacloch

    blacloch New Member

    Joined:
    May 12, 2008
    Messages:
    5
    Here is the start of a debug message:

    paypal_r DEBUG:
    mc_gross => 77.99
    invoice => 115-PHA
    protection_eligibility => Ineligible

    Is the ineligible part a problem?

    I didn't want to include the whole debug as it contains customer data.
  6. codeispoetry

    codeispoetry aMember Pro Customer

    Joined:
    Jan 12, 2009
    Messages:
    336
    Hi blacloch,

    No, it isn't.

    May need to look into your setup, if you need further help, email codeispoetry [at] amemberincremental.com

    Lee
  7. blacloch

    blacloch New Member

    Joined:
    May 12, 2008
    Messages:
    5
    Ok, think I found the problem. The subscription I am trying to access is not allowed to access the protected area (duhhhh) but the problem comes when I try to allow it to be in the "Protect Folders" section that it won't let me.

    Basically, what is happening is I have new_rewrite enabled (or did) and now it is greyed out and saying "(RewriteRule doesn't work in .htaccess files on this server)"

    How can I fix this?

    By the way David, I like the look of your site. May become a member myself :)
  8. blacloch

    blacloch New Member

    Joined:
    May 12, 2008
    Messages:
    5
    Did some hunting and found the piece of code from .htaccess. It is currently allowing access to only product 1.


    ## allow access for product #1
    RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+)
    RewriteCond /homepages/32/d211729909/htdocs/elite/members/data/new_rewrite/%1-1 -f
    RewriteRule ^(.*)$ - [L]


    How can I make this for all products? Or a set number of products.
  9. mjmtaiwan

    mjmtaiwan aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    45
    Good question. Did you find out how? If so... please post that here for the rest of us.

Share This Page