Results 1 to 6 of 6

Thread: URGENT problem!

  1. #1
    Krissy-D is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    41

    Default URGENT problem!

    I've moved my sugar install over to another domain (it was in development on another server and moving it to production) and its not allowing anyone to log in - the usernames and passwords are correct, but it seems to be ending the session as soon as its logged in. All the database defs etc are correct.

    Can anyone help me as to why its seemingly logging me in and straight back out? Only message anywhere is "session has expired please log in again"

    Many thanks

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

    Default Re: URGENT problem!

    Take a look at the session_dir entry in your config.php file.

    Chances are that it is pointing to a folder that existed on old server, but not the new one. The behavior that you describes matches what would happen if that were the case.
    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
    Krissy-D is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    41

    Default Re: URGENT problem!

    I've checked the session_dir on both config files and they are both blank...

    PHP Code:
    'session_dir' => ''
    Any idea?

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

    Default Re: URGENT problem!

    Check the config_override.php file for the same (if one exists).

    Also check your PHP.INI file for the setting session.save_path. Verify that the directory referenced there is fully accessible to the user under which your web server is running.
    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)
    ______________________________________________

  5. #5
    Krissy-D is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    41

    Default Re: URGENT problem!

    Quote Originally Posted by Angel View Post
    Check the config_override.php file for the same (if one exists).

    Also check your PHP.INI file for the setting session.save_path. Verify that the directory referenced there is fully accessible to the user under which your web server is running.
    config_override.php is empty...

    Save path is right, and fully accessible - still no joy

    I really don't want to have to rebuild on new server

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

    Default Re: URGENT problem!

    You might want to consider this trick...

    Edit you config.php file and change installer_locked => true to installer_locked => false. Save the changes.

    Open your browser and go to http:///your_sugar_url/install.php

    That should display the installation wizard. Proceed to the page that immediately follows the License page. That should perform a system check. Errors/problems it finds are usually more detailed here and should help track down the source of the problem.

    DO NOT proceed with the rest of the wizard as you could overwrite your database. The idea is to simply get some more verbose errors/messages that might serve as further clues as to the source of the problem.

    Once you are done, be sure to change the config.php file again so installer_locked is set to true.
    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)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Its urgent - Next page problem.
    By abulovesall in forum Developer Help
    Replies: 3
    Last Post: 2010-08-05, 08:04 AM
  2. Urgent! I need a safe solution for this problem
    By hatemweb in forum Developer Help
    Replies: 3
    Last Post: 2009-12-26, 02:53 PM
  3. URGENT Installation problem
    By garyww in forum Developer Help
    Replies: 2
    Last Post: 2008-08-25, 12:48 PM
  4. Urgent: Problem Upgrading from 4.5.1e to 4.5.1g
    By intime in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-10-24, 12:54 PM
  5. urgent: leads problem
    By manuel0081 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-02-13, 02:12 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
  •