Almost there -- still problem w/Moodle -- Amember integration

Discussion in 'Integration' started by sherpabizdev, Jul 30, 2009.

  1. sherpabizdev

    sherpabizdev New Member

    Joined:
    May 20, 2009
    Messages:
    8
    The instructions provided by Chemistry2004 have been great, and I am almost there, but am experiencing one problem.

    When a user logs in via aMember, they are automatically logged into Moodle fine (including the Moodle header indicating that they are logged in as the correct user), but as soon as the user clicks on something (to enter a course or click on their profile if the link in aMember took them directly into a course) they are logged out of Moodle (Moodle takes them to a Moodle login page and the header says they are not logged in).

    An interesting tidbit, if the user then backs up to the members area of aMember (where aMember still has them logged in) and they logout from there (so they are completely logged out of both), they can successfully login via aMember, go to a course in Moodle, and navigate w/out a problem. In other words, the problem situation only exists if they are in a fresh browser session. Every time I close the browser and login via aMember, the problem happens. If I backup to my members area, logout and log back in (w/out closing the browser) all is fine. From that point logging out from either Moodle or aMember properly logs me out of both systems.

    Any ideas? Thanks in advance for your help!

    Andy McClure
  2. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    Andy McClure,

    Sorry to hear that you have problem. This problem happens when suhosin is enabled in your php. Please disable suhosin.session.encrypt Off. This might help you

Share This Page