Results 1 to 4 of 4

Thread: Logon Loop

  1. #1
    nvdp2002 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    134

    Default Logon Loop

    Sugar 5.2
    PHP 5.2
    IIS 7

    Hi I am having the problem where after entering correct logon details the logon screen keeps coming back. its like a logon loop.

    So every-time any of the users logon or attempt to do so sugar just goes back to the logon screen as if nothing was entered.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Logon Loop

    This usually means that Sugar is experiencing a problem establishing or creating the PHP session. Usually that is the result of the session.save_path setting in PHP.INI having been configured to use a directory that the web server cannot access (either due to permissions/security or it doesn't exist).

    Another possibility is that the session_dir setting within Sugar's config.php file has been set to reflect an incorrect/non-existent folder.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    asynchronous13 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    2

    Default Re: Logon Loop

    I've just been through the rounds with the logon loop problem. I had set up SugarCRM a couple months ago to show some people at work -- everything had been working well. It's only seen very light test usage since then.

    Now, we want to begin using it for real, and i couldn't log on. I could verify that I was using the correct password by checking the logs on the server but I just got kicked back to the login screen every time. This happened for both the admin account and my user account on two different computers (desktop and laptop).

    I found many threads describing a similar problem:
    http://www.sugarcrm.com/forums/showthread.php?t=7827
    https://www.sugarcrm.com/forums/showthread.php?p=237750
    http://www.sugarcrm.com/forums/showthread.php?t=49530
    http://www.sugarcrm.com/forums/showthread.php?t=8035

    (decided to reply to the 2011 thread instead of the 2005 thread) None of the suggestions that I tried fixed the particular problem that I was having. No matter what, I could only see the login page.

    On a whim I fired up Internet Explorer instead of Firefox -- and I logged in to SugarCRM with no problem. Switched back to Firefox and still could not log in. Using Chrome I could log in as well. Still, could not log in using Firefox. Firefox is my primary browser, so I reasoned that perhaps there was a corrupt cookie or something? I deleted all cookies in Firefox and tried again -- this time I could log in successfully!

    That surprises me because I would expect it to be a server configuration issue, not a local issue. Especially since it failed on two different computers. Anyway, it works now. Maybe this info will help someone else.

  4. #4
    asynchronous13 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    2

    Default Re: Logon Loop

    When I got to work today, the same login loop problem continued to happen on my desktop computer. I started deleting cookies one by one until I got the right one. When I deleted the PHPSESSID cookie associated with the server, I could log in again.

    Angel, looks like you correctly identified the problem -- Sugar was experiencing a problem establishing the PHP session. It's just that the problem/solution was client side rather than server side.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I Can't Get Passed the Logon Page!
    By whatistocome in forum Help
    Replies: 109
    Last Post: 2010-12-28, 07:37 AM
  2. User logon activity
    By iagtech in forum Help
    Replies: 5
    Last Post: 2008-10-29, 02:49 PM
  3. Can't logon after installation
    By jrush7558 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-07-25, 07:12 PM
  4. error after upgrade from 4.5.1h to 5.0a, can´t logon
    By strazzabosco in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2008-03-03, 02:34 AM
  5. Users can't login / logon
    By jvvlogi in forum General Discussion
    Replies: 5
    Last Post: 2006-12-06, 05:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •