Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By sts

Thread: multiple sugar instance same server

  1. #1
    g_paschoal is offline Sugar Community Member
    Join Date
    Mar 2011
    Posts
    13

    Default multiple sugar instance same server

    Guys I need to run 2 sugarcrm application on the same server. I was able to install it very good. I chose different directories, different port numbers for httpd and mysql. Now what happen is that when I log in one instance it logs me out of the other one....

    how do I fix this?


    thanks

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: multiple sugar instance same server

    SugarCRM uses a session cookie. It is possible to use two installations on the same server if they use different sessions.
    If you use two different browsers it should work. If you want to use two windows or tabs of the same browser this is not always possible. I have tested with Firefox and Google Chrome. They do not support different sessions as far as I see. With Internet Explorer you can use "New Session" to open the second application and then you are able to use both applications parallel.
    PanJun likes this.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    g_paschoal is offline Sugar Community Member
    Join Date
    Mar 2011
    Posts
    13

    Default Re: multiple sugar instance same server

    I need to host 2 sugarcrm for 2 different clients on the same server....

    it doens't matter what browser they will use.

    They will be in different locations... so... I need to configure this



    Thanks

  4. #4
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: multiple sugar instance same server

    I don't understand your problem. If one user logs in into both applications at the same time he will get the problems as you described and what I answered. If two different people log in they shouldn't get those problems as far as they use different user accounts or use different installation.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  5. #5
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: multiple sugar instance same server

    OK, I already did it some time ago.
    I fixed this issue, allows a kind of single-sign-on between sugar instances.
    I didn't know how to do that with a safe upgrade techniques, but you can just overwrite the file MVC/include/SugarApplication.php with the attached file.
    Attached Files Attached Files
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  6. #6
    mattt is offline Sugar Community Member
    Join Date
    May 2011
    Location
    Brisbane, Australia
    Posts
    19

    Default Re: multiple sugar instance same server

    Why not just use subdomains (ie: http://sugara.domain.com and http://sugarb.domain.com)?

    I do this all the time...

    Cheers,
    Mattt.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. session issue while logout with multiple instance
    By rishavraj in forum Developer Help
    Replies: 2
    Last Post: 2011-05-16, 05:26 AM
  2. Multiple Sugarcrm instance on one Virtual Machine Server
    By qwerty20 in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2010-12-06, 05:47 PM
  3. Replies: 5
    Last Post: 2008-07-18, 06:58 PM
  4. one instance of sugar for multiple organizations?
    By Murkes in forum Developer Help
    Replies: 4
    Last Post: 2007-08-28, 11:05 AM
  5. Replies: 1
    Last Post: 2005-11-26, 07:24 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
  •