Results 1 to 10 of 10

Thread: crm not working after php upgrade

  1. #1
    lrojas is offline Senior Member
    Join Date
    Apr 2009
    Posts
    24

    Default crm not working after php upgrade

    Hi guys hopefully you guys can help me resolve this issue. I am running a linux server with apache 2.2.3, mysql 5.0.77, running sugar 5.2.0d I just updated my php from 5.1.6 to 5.2.11 and it broke my crm. what could be causing this issue? how can I fix it? thanks for the help

  2. #2
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: crm not working after php upgrade

    Here's some ideas that may help.

    1. Create a file phpinfo.php and make sure you can get PHP to display.

    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    2.) Check the compatibility of your new PHP version with the SugarCRM install docs.

    3.) Check and double check the DB connection, user and user permissions to that database.

    If that doesn't work, pray that Andre' (Andopes) comes along and helps with your issue. Good luck,

    Jeff
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  3. #3
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: crm not working after php upgrade

    Can you describe in detail what you mean by "broke"?
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  4. #4
    lrojas is offline Senior Member
    Join Date
    Apr 2009
    Posts
    24

    Default Re: crm not working after php upgrade

    Quote Originally Posted by jjwdesign View Post
    Here's some ideas that may help.

    1. Create a file phpinfo.php and make sure you can get PHP to display.

    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    2.) Check the compatibility of your new PHP version with the SugarCRM install docs.

    3.) Check and double check the DB connection, user and user permissions to that database.

    If that doesn't work, pray that Andre' (Andopes) comes along and helps with your issue. Good luck,

    Jeff
    What should I be looking for in the php info? I dont have the install docs, is there a place where I can find them?

    Quote Originally Posted by kuske View Post
    Can you describe in detail what you mean by "broke"?
    well the login page is not working. take a look for your self. http://crm.cantorque.com. Thanks for the help.

    Does any one know if this version of sugar is not compatible with php 5.2.11? Thanks for the help.

  5. #5
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: crm not working after php upgrade

    A workaround is:
    Edit the file include/utils.php
    Go to function "setPhpIniSettings"
    Comment the code:
    PHP Code:
    if(function_exists('gzclose') && headers_sent() == false) {
    ini_set('zlib.output_compression'1);

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  6. #6
    lrojas is offline Senior Member
    Join Date
    Apr 2009
    Posts
    24

    Default Re: crm not working after php upgrade

    Quote Originally Posted by andopes View Post
    A workaround is:
    Edit the file include/utils.php
    Go to function "setPhpIniSettings"
    Comment the code:
    PHP Code:
    if(function_exists('gzclose') && headers_sent() == false) {
    ini_set('zlib.output_compression'1);

    Cheers
    Andopes, you are a life saver. If I could I would buy you a beer. Thanks alot.

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

    Default Re: crm not working after php upgrade

    You should really upgrade to 5.2.k at your earliest. PHP 5.2.11 is not supported by 5.2.d

    As Andopes indicated, the solution you obtained is a workaround. Given that version of PHP is not supported by that version of Sugar, other issues may pop up unexpectedly.
    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
    lrojas is offline Senior Member
    Join Date
    Apr 2009
    Posts
    24

    Default Re: crm not working after php upgrade

    Quote Originally Posted by Angel View Post
    You should really upgrade to 5.2.k at your earliest. PHP 5.2.11 is not supported by 5.2.d

    As Andopes indicated, the solution you obtained is a workaround. Given that version of PHP is not supported by that version of Sugar, other issues may pop up unexpectedly.
    Angel, Thanks for the info. should I do the silentUpgrade CE 5.2.0k.zip? why not just upgrade to 5.5.1? is it still buggy? Thanks again.

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

    Default Re: crm not working after php upgrade

    The silent upgrade or the upgrade wizard should both work.

    As for upgrading to 5.5.1, I would strongly urge you not to do that. It is a beta release, so there are bound to be problems with it.

    5.5 is production ready, but as a general rule of thumb, I always advise people to not upgrade until a few months after release (*regardless* of software or vendor, please don't interpret it as a knock on Sugar).

    That being said, it seems as though the vast majority of "gotchas" related to 5.5 have been flushed out and solutions have been discovered, so you'd probably be pretty safe upgrading. Upgrade a cloned instance first though, especially if you have custom modules within your instance.
    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)
    ______________________________________________

  10. #10
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: crm not working after php upgrade

    Here's the 5.2 Compatibility Matrix Link

    http://developers.sugarcrm.com/docs/....2.0d.2.4.html

    It's always best to stick with the matrix, as it's almost impossible to keep up with all the version differences.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to upgrade and not working!
    By Plus1 in forum Help
    Replies: 3
    Last Post: 2008-12-24, 03:47 PM
  2. Upgrade Wizard not working post 5.1 install when attempting 5.1a upgrade
    By jwm4 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-10-06, 07:28 PM
  3. Upgrade from 4.0 to 4.0.1 not working
    By sanjaykatiyar1 in forum General Discussion
    Replies: 1
    Last Post: 2006-02-07, 01:38 AM
  4. Upgrade wizard not working
    By ldebernardini in forum Help
    Replies: 0
    Last Post: 2005-09-30, 09:52 AM

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
  •