Results 1 to 6 of 6

Thread: Sugar Installation

  1. #1
    lvilla is offline Junior Member
    Join Date
    Mar 2006
    Posts
    3

    Default Sugar Installation

    Hi
    I want to install sugarcrm on a hosted website. I followed the instructions, assigned file prmissions etc. When point to the sugarcrm directory I get an error 500 message, which is quite cryptic. Any ideas?

    Thanks

    Luis Villa

  2. #2
    milan is offline Junior Member
    Join Date
    Mar 2006
    Posts
    3

    Default Re: Sugar Installation

    When beginning the installation on web server appears the message:
    Fatal error: main(): Failed opening required 'include/utils.php' (include_path='.;c:\php\includes') in D:\Inetpub\webs\....SugarSuite\index.php on line 39
    Many Thanks

  3. #3
    unit156 is offline Junior Member
    Join Date
    Feb 2006
    Posts
    3

    Default Re: Sugar Installation

    I'm going to have to second the motion on the 500 internal server error. I'm also using a shared hosting server and getting the same message when I point my URL to the directory where I unzipped the package. My hosting plan does not allow me to make any of my php files 777. 755 is the most they'll let me go. Something to do with SUEXEC. I need someone to help me with what mods I need to make to which files right out of the package to get SugarCRM to the install wizard. This is a direct quote from a tutorial provided from my hosting provider:

    "This year we decided to upgrade old servers to PHP 5 and activate SuEXEC support. What is SuEXEC? This feature helps tighten security, tracks all scripts, logs activity and forces scripts to run as an actual user instead of "nobody". Most users are not affected by this upgrade."

    Here are the instructions they provided for resolving "500 error (Internal Server Error). Error_log shows "Premature end of script headers"

    1. Check your file/folders permissions. PHP/CGI scripts must be set to 755 and regular files to 644. You can also set read/write files to 666. 777 permissions won't work anymore for security reasons.

    2. Comment out .htaccess settings or delete the .htaccess files. You should create those settings in a php.ini file within each directory you are running php scripts (that have .htaccess files).

    Please remember: you cannot manipulate the php.ini settings with .htaccess when running PHP as cgi/phpsuexec. If you are using .htaccess with php_value entries within it, you would receive "Internal Server Error" (500) when attempting to access the scripts. This is because PHP is no longer running as an Apache module and Apache will not handle those directives any longer. All PHP values should be removed from your .htaccess files to avoid this issue. Placing a php.ini file in its place will solve this problem."


    The problem is, SugarCRM installation requires several directories to be set to 777 before the install wizard will work. I'm not a PHP guru and I'm afraid to start messing around with customizing the install on my own. Can someone help me with some more detailed 'sugar specific' instructions on how to mod the sugar package so it works with the above restrictions?

    Many thanks oh great gurus

  4. #4
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Sugar Installation

    See installation and upgrade guide for installation and upgrade information.

    The User/Admin Guide is another great starting place for new users.

    Cheers,

    Max

  5. #5
    merm is offline Junior Member
    Join Date
    Apr 2006
    Posts
    3

    Default Re: Sugar Installation

    I am having the exact same problem as the user above me.

    I have copied all files to my shared host, then chmod 777 to the files/directories according to the install instructions

    Then point my browser and get 500 Internal Server Error

    My server is running PHP 4.2.2

    I've spent a lot of time looking through this forum for a solution, but there doesn't seem to be any help available for those of us with this error. Can anyone help please?
    Last edited by merm; 2006-04-03 at 11:41 AM.

  6. #6
    merm is offline Junior Member
    Join Date
    Apr 2006
    Posts
    3

    Default Re: Sugar Installation

    Just got an email back from my support:

    The permissions were wrong on your php files in this directory, they need to be 644. I have corrected this for you.
    Someone really needs to just explain which files should be what permissions so that so many users don't get this error.

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
  •