Results 1 to 7 of 7

Thread: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTION

  1. #1
    nkendrick is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    109

    Default 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTION

    This is just to highlight the endpoint of a couple of other threads about problems after a 4.0->4.0.1 upgrade and the ultimate solution(s) (Disclaimer: Your Mileage May Vary etc..)

    In both cases, the OS involved was CentOS 4.2, which is a community-built version of Red Hat Enterprise Linux 4, so these notes may apply to RHEL as well. After the upgrade, both installations of SugarCRM kept segfaulting in the 'Opportunities' module (users got blank screens) and you couldn't edit or create new users. The other common factor was that both systems were running PHP 4.3.9

    ncobley reported the problem in the following thread and deserves credit for 'discovering' the fix:

    http://www.sugarcrm.com/forums/showthread.php?t=8921

    The fix was to install PHP 5.0.5

    My thread is here:

    http://www.sugarcrm.com/forums/showthread.php?t=8936

    I downloaded and compiled PHP 4.4.2 from the official PHP web site. There were quite a few dependencies to resolve by installing various other packages during the compilation and this forum thread helped greatly:

    http://www.vbulletin.com/forum/archi.../t-114170.html

    Note that this thread refers to an older version of PHP but the notes about the other modules that needed to be downloaded with 'yum install...' are quite valid.

    Hope this helps, and thanks to all those who also suggested possible fixes and things to test along the way.

    NK

  2. #2
    smueller72 is offline Sugar Community Member
    Join Date
    Jan 2005
    Posts
    125

    Default Re: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTIO

    Running into this same issue but on a fresh install of 4.0.1. Has anyone found a solution other than doing a PHP upgrade. Doing such an upgrade is pretty dicey as it may 'break' other apps/sites on the same box. If this is truly the only solution then I could see this causing major issues throughout the install base of Sugar. Any ideas from the Sugar Team?
    Steve Mueller
    President
    Marathon Technology Services, LLC.
    An Authorized SugarCRM Business Partner
    providing SugarCRM support, migration and hosting services.
    smueller@marathontechservices.com
    http://www.marathontechservices.com
    http://www.sugaraddicts.org

  3. #3
    nkendrick is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    109

    Default Re: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTIO

    For what it's worth, I have submitted a bug report and also a Private Message to Clint.

  4. #4
    nkendrick is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    109

    Default Re: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTIO

    Further to my original post, I had to do a couple of 'clean-up' things after upgrading to 4.4.2:

    1) During the 'make install' for PHP, I received a warning about the version of some PEAR modules and so did the following:

    pear clear-cache
    pear upgrade --alldeps PEAR

    2) The cache clear threw up a message that my version of eAcclerator was compiled for PHP 4.3.9 so I downloaded the source again, re-compiled and re-installed it.

    3) I restarted Apache:

    service httpd restart

    NK

    PS: The lack of any 'official' response to the PHP / Sugar 4.0.1 issue is disappointing but kudos to the community for diving in to help.

  5. #5
    doctorlard is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    26

    Angry Re: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTIO

    GREAT! Now I have CentOS 4.2 with PHP 5.0.4 from the CentosPlus repo, and PHP now doesn't work at all. The browser wants to download .php files. Fantastic suggestion!

  6. #6
    doctorlard is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    26

    Default Re: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working: SOLUTIO

    So sorry, my bad... overlooked a DirectoryIndex setting in httpd.conf...
    I have had a really awful terrible day of chasing this nasty bug for about 6 hours. FWIW, upgrading to PHP 5.0.4 FIXED IT!!! YAY!!!

  7. #7
    eugenevdm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    48

    Default Re: 4.0->4.0.1 upgr: segfaults, user edit errors & opportunities not working

    Just to let you know the default Trixbox 1.0 install which comes with SugarCRM and PHP 4.3.9 also produces this error.
    Last edited by jwhitcraft; 2011-08-12 at 02:36 PM.

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
  •