Can't log out of Joomla, anyone with ideas/solution please?

Discussion in 'Integration' started by roy1, Dec 12, 2008.

  1. roy1

    roy1 New Member

    Joined:
    Dec 11, 2008
    Messages:
    3
    Hello there,
    Bought and installed in the last two days amember, so far seems to be ok, one problem when I am logged in Joomla /administrator, I can't log out, If I disable amember plugin, I can then log out, if I keep the plugin enabled and close the browser, and reopen a new one I need to put the PW again to log into Joomla/administrator.
    What can I do to solve this problem?
    Any comments/ideas are welcome
    I use latest Joomla version and the latest amember version, just bought it 2 days ago.

    Regards,
    Roy
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    The amember plugin in joomla needs to be fixed.

    amember.php
    if (strstr($_SERVER['REQUEST_URI'],'/logout') || @$task == 'logout')
    to
    if (strstr($_SERVER['REQUEST_URI'],'/logout') || (@$option == 'com_user' && @$task == 'logout'))

    David
  3. roy1

    roy1 New Member

    Joined:
    Dec 11, 2008
    Messages:
    3
    hi David

    Thanks a lot for your reply. please see what I have done wrong in this sequence: I opened the amember.php file in a microsoft Word, found the right text to change, changed it and saved as it as word doc. I imagine this maybe wrong thing to do, but I don't know how to edit a php file, how do you access and alter text from Joomla/administraor, or even on my pc once I unzipped the file.
    regards,
    Roy
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You used word...
    Try an HTML/PHP editor like html-kit.

    David
  5. roy1

    roy1 New Member

    Joined:
    Dec 11, 2008
    Messages:
    3
    I still miss something ....?

    Hello David,
    thanks again for your reply, I have downloaded the latest version of Evrsoft HTML editor and proceeded to change exactly as you suggested, saved it as a PHP file replacing the previous one and uploaded it to my site via Filezilla. I am afraid no luck, the problem persists.
    I try and see if the technical support people can help me out.

    Regards,Roy
  6. davidlong82

    davidlong82 New Member

    Joined:
    Jun 7, 2008
    Messages:
    3
    Hi Roy,

    I think I'm having the same problem. I've tried the changes above but no luck. The message below is what comes up when I try to logout. Anyone know what the problem is here?

    Thanks

    David

    Forbidden

    You don't have permission to access /amember/logout.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  7. scottkmcmillan

    scottkmcmillan New Member

    Joined:
    Aug 11, 2010
    Messages:
    2
    Sweet, that fix worked for me. That was what I orginally thought. Turns out it timed out or something. Still does not work.
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Contact us in helpdesk and explain how to recreate issue exactly I will check what can be wrong.

Share This Page