Results 1 to 8 of 8

Thread: php.ini

  1. #1
    brianrhunt is offline Junior Member
    Join Date
    Feb 2011
    Posts
    4

    Wink php.ini

    I am trying to install Sugar on XAMPP, I am getting errors when go to install it

    Strict Standards: Declaration of SugarEmailAddress::save…………… All down the page.

    From what I have read so far I think the problem is my php.imi file. But here is the funny part, I don’t know where it is. Is in the Sugar CRM file? Is it in the XAMP settings, the mysql settings. The install directions say If the global_variables parameter is not set to “EGPCS”, navigate to the php.ini file located in your Sugar root directory, and change it. Restart the web server before proceeding with the installation.

    Any more detail would be appreciated. I have spent a long time trying to figure it out.

    Thank You!!!

  2. #2
    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: php.ini

    Create a simple php script containing something like that:

    PHP Code:
    <?PHP
    phpinfo
    ();
    ?>
    Save this file at root of your sugar installation and access it by browser.
    You will see all php configuration, including the path to php.ini.

    Then you need to edit the php.ini and update the attribute

    error_reporting = E_ALL

    Restart your web server and try again.

    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.

  3. #3
    brianrhunt is offline Junior Member
    Join Date
    Feb 2011
    Posts
    4

    Wink Re: php.ini

    Ok, I was able to make the file and found the line that says error_reporting it says 32767. Is this what I am changing? Where do I find that file? or how do I make that change?
    Thank You!

  4. #4
    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: php.ini

    Quote Originally Posted by brianrhunt View Post
    Ok, I was able to make the file and found the line that says error_reporting it says 32767. Is this what I am changing? Where do I find that file? or how do I make that change?
    Thank You!
    For some reason, I don´t know, your php.ini loaded the integer value related to such string, as per this site.
    You can replace such integer by E_ALL without big deal.

    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.

  5. #5
    brianrhunt is offline Junior Member
    Join Date
    Feb 2011
    Posts
    4

    Wink Re: php.ini

    I was able to open the php.ini file error_reporting is set to = E_ALL
    the install directions say that the global_variables parameter shoul be set to “EGPCS” is this the same as variables_order. I did find that and it is set to EGPCS. By the way ths is what it looks like

  6. #6
    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: php.ini

    Tro to update error_reporting to

    error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

    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.

  7. #7
    brianrhunt is offline Junior Member
    Join Date
    Feb 2011
    Posts
    4

    Smile Re: php.ini

    I think you were holding out on me, big thanks That did the trick!!! I'll pay it forward

  8. #8
    cascade.net.ua is offline Junior Member
    Join Date
    Mar 2011
    Location
    Одесса
    Posts
    2

    Default Re: php.ini

    Same issue... Yes it works properly after this trick! Thaks a lot!

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
  •