APC Cache with aMember

Discussion in 'Integration' started by appthemes, Oct 4, 2011.

  1. appthemes

    appthemes New Member

    Joined:
    Dec 23, 2009
    Messages:
    9
    Has anyone setup and used a PHP caching solution with aMember? I've got APC setup but it's doing some weird stuff with email sending.

    Thanks,

    David
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I am running APC with aMember.. what is the issue you are seeing?
  3. appthemes

    appthemes New Member

    Joined:
    Dec 23, 2009
    Messages:
    9
    Thanks for the quick reply. The issue I'm having is "Autoresponse" Messages (setup => email) are being sent to the wrong people. Instead of going to the new customer, they get delivered to our admin.

    I have a feeling this is what's happening:

    -customer completes purchase
    -sale confirmation email goes out to site admin
    -instant autoresponse email goes out to site admin (instead of new customer)

    I'm guessing the admin email address is still in the cache or something when it gets to the autoresponse email. It's really odd.

    As soon as I turned off APC, things went back to normal. Are you excluding any aMember files from APC?

    Thanks,

    David
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    What version of aMember are you running?

    There are 2 elements of the APC caching, system caching (compiled php) and user cache (data).

    What you describe would fall into the user cache. Can you see if you have any values in the cache (APC dashboard) and if so, what?

    My emails are sent via 3rd party mailing service so maybe that is why I am not seeing it.

Share This Page