Results 1 to 9 of 9

Thread: Being redirected to Login screen repeatedly!

  1. #1
    robear is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Default Being redirected to Login screen repeatedly!

    Is anyone else experiencing an issue of being repeatedly redirected to the Login screen while navigating between screens like Accounts, Contacts...even Admin & studio?

    Does any one know why sugarCRM behaves this way?

    Is there a fix for this issue?

    This is very annoying and occurs on at 2 least other Web Hosted installs.

    robear

  2. #2
    lpaumier's Avatar
    lpaumier is offline Senior Member
    Join Date
    Nov 2009
    Posts
    28

    Default Re: Being redirected to Login screen repeatedly!

    Could be a problem with browser and cookies. try to empty cache of your browser and delete cookies, or even try with another browser...it is the way you must investigate because i don't think it's a sugarcrm problem.

  3. #3
    robear is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Default Re: Being redirected to Login screen repeatedly!

    Same issue across several browsers (Firefox, Safari, IE...), and browser cache is always disabled (set to 0).

    Also worth noting, this behavior was not present in v520k and only became present after the upgrade to v520j.

    Thank you for the effort.

    robear
    Last edited by robear; 2009-12-02 at 04:11 PM.

  4. #4
    sapmin is offline Sugar Community Member
    Join Date
    Sep 2007
    Location
    USA
    Posts
    69

    Default Re: Being redirected to Login screen repeatedly!

    Do you have any installs that work ok? You mention 'at least two other' installs. Are the two web installs on the same server?

    If you haven't already, I'd look into settings / versions of PHP, especially if you have any that are ok.

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

    Default Re: Being redirected to Login screen repeatedly!

    This sounds like a problem with your sessions. Either the timeout value for sessions within PHP has been set too low or PHP is having a problem accessing the session.save_path setting to manipulate the session files.
    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)
    ______________________________________________

  6. #6
    robear is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Default Re: Being redirected to Login screen repeatedly!

    Quote Originally Posted by Angel View Post
    This sounds like a problem with your sessions. Either the timeout value for sessions within PHP has been set too low or PHP is having a problem accessing the session.save_path setting to manipulate the session files.
    Hi Angel

    Pleasant surprise, as this is occurring on the site with UDFs.

    Are the time out values for sessions in the PHP.ini (on the web host)?

    Is the save_session path setting part of some sugar config file or also PHP.ini?

    Where should I be looking for these session settings?

    Rene
    winnipeg

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

    Default Re: Being redirected to Login screen repeatedly!

    Ha...pleasant surprise. I didn't recognize you.

    Try this..

    Create a PHP file and put the following code in it:

    Code:
    <?php
    
    phpinfo();
    
    ?>
    Save that file on the web server and then pull it up in the browser. That'll spit out all the PHP settings. You'll want to look at the session.gc_maxlifetime and session.save_path settings.

    Ironic that you mention this because when I was working with the UDF stuff via PHPMyadmin, I noticed the same behavior there too. It just started within the last day or two because it wasn't happening before.
    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)
    ______________________________________________

  8. #8
    robear is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Default Re: Being redirected to Login screen repeatedly!

    Hi Angel

    Attached are phpinfo for both the hosted (with issue) and localhost (no issue) for comparison:







    rene/robear
    Last edited by robear; 2009-12-03 at 05:26 AM.

  9. #9
    robear is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Default Re: Being redirected to Login screen repeatedly!

    Issue resolved!

    Special thanks to Angel Magana for identifying the specific session setting which ultimately led to the solution.

    The web host had an .htaccess file with a session_save_path that was different from the phpinfo setting. Once the .htaccess file was changed the issue disappeared.

    The session_maxliftime setting was also doubled to 2880.

    Thanks to all for your efforts.

    robear

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-12-16, 04:36 AM
  2. Login Screen
    By biplob in forum Help
    Replies: 3
    Last Post: 2009-04-01, 11:35 AM
  3. Login Screen
    By biplob in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2009-04-01, 11:33 AM
  4. Thrown to login screen
    By kerryjohnreynolds in forum Help
    Replies: 9
    Last Post: 2007-08-30, 03:52 AM
  5. Blanc screen after login
    By pabloferre in forum Help
    Replies: 0
    Last Post: 2007-01-24, 02:27 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
  •