Results 1 to 3 of 3

Thread: General question about installing and removing modules

  1. #1
    rickcrites's Avatar
    rickcrites is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    468

    Default General question about installing and removing modules

    I am somewhat new to Sugar, so bear with me...

    If installing one module breaks the functionality of another module, what is the best way to handle?

    Should I uninstall the broken module and try installing it again. It seems to me that I run the risk of breaking the newly installed module by doing that. Pointless to get into a loop of breaking modules...

    Or, should I try re-installing the the previously installed, but broken, module without uninstalling first? Will Sugar even allow you to re-install a module that is already installed? It seems that this might preserve the newly installed code of the second module, and re-insert the necessary changes in the first, now broken, module.

    I hope the question is clear. I appreciate any guideance.

    Thanks,
    Rick Crites

    First Founders Financial
    Clearwater, FL USA

    SugarCRM "Fully Loaded" version 4.5.1,
    by Ken Brill (great work)!

    Linux kernel 2.6.9-023stab033
    Apache 1.3.37
    PHP 5.1.6
    MySQL 5.0.27-standard

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Wink Re: General question about installing and removing modules

    Unfortunately the way SugarCRM is designed it isn't easy to change core functionality without editing core file. No to be fair it's not all in the way SugarCRM is written, it's also just the way PHP works. You can't replace function unless you are extending a class, and some times that's just not feasible.

    If one module breaks another, all the reloading in the world won't help. The only thing that can be done is for the module authors to work together and merge the offending core file. Mr Milk used to do this internally with his mods. Alternatively you could (or you could get someone else to) merge the two modules before installing them. You would need to look at which files both the modules touch and then manually (or with the help of a program like winmerge) merge the two copies into one with both modules represented.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    rickcrites's Avatar
    rickcrites is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    468

    Default Re: General question about installing and removing modules

    Thanks, Ken.

    I was the answer I was afraid I might get. Sounds like a lot of work that I am marginally qualified to undertake.

    Oh well .....

    I installed Teams OS and it broke both PowerProspecting and OrgChart. I really NEED both Teams OS and Power Prospecting. Ironically, the one I need the most, Teams OS, isn't even working right after install, even though it broke the other two.

    Good thing it is only a test installation.

    I am really starting to like better and better the idea of an Open Source managed distribution, independent of SugarCRM, that could get some of the important modules integrated and working, and do a distribution with those modules pre-installed.

    Best,
    Rick Crites

    First Founders Financial
    Clearwater, FL USA

    SugarCRM "Fully Loaded" version 4.5.1,
    by Ken Brill (great work)!

    Linux kernel 2.6.9-023stab033
    Apache 1.3.37
    PHP 5.1.6
    MySQL 5.0.27-standard

Thread Information

Users Browsing this Thread

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

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
  •