Results 1 to 4 of 4

Thread: Got past mySQL now getting permission issues

  1. #1
    rtmtek is offline Member
    Join Date
    Jan 2006
    Posts
    6

    Question Got past mySQL now getting permission issues

    I've done just about everything I could permission wise. I noticed that when I brought up "properties" on the php scripts Windows had a "block" on the files. I removed all the blocks.

    I have set "read/write" on everything. I've tried to create all the sub-directories but I keep getting the following:

    This is before it starts dropping and creating the tables:

    Installation is proceeding... the output will appear below once it is complete. Please wait.

    Warning: mkdir() [function.mkdir]: Permission denied in c:\Inetpub\wwwroot\SugarCRM\include\utils\file_uti ls.php on line 22

    Warning: fopen(cache/dynamic_fields/modules.php) [function.fopen]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\SugarCRM\modules\DynamicFields\ DynamicField.php on line 677

    Warning: fwrite(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\SugarCRM\modules\DynamicFields\ DynamicField.php on line 678

    Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\SugarCRM\modules\DynamicFields\ DynamicField.php on line 679
    Dropping table relationships if exists...done


    ** Then after the tables I get about 500+ pages of:

    Warning: fopen(cache/modules/Relationships/relationships.cache.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 204

    Warning: fwrite(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 205

    Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 206

    Warning: Relationship::include(cache/modules/Relationships/relationships.cache.php) [function.include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 188

    Warning: Relationship::include() [function.include]: Failed opening 'cache/modules/Relationships/relationships.cache.php' for inclusion (include_path='.;C:\php5\pear') in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 188

    Notice: Undefined variable: relationships in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 189

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 171

    Warning: fopen(cache/modules/Relationships/relationships.cache.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 204

    Warning: fwrite(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 205

    Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\SugarCRM\modules\Relationships\ Relationship.php on line 206


    **I noticed that the script is mentioning (include_path='.;C:\php5\pear') so out of desparation I created a copy of my PHP directory and named it PHP5.

    Any thoughts on what I'm doing wrong?

    Thanks for your help,
    -Mike

  2. #2
    sugarchris's Avatar
    sugarchris is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    San Francisco, CA
    Posts
    861

    Default Re: Got past mySQL now getting permission issues

    Your perms are still incorrect.

    You need to add the IUSR_WEBSERVER to the authorized list to allow it to create files and directories.

    In the explorer, right-click on the sugarcrm folder, and click "Properties".

    Click on the Security tab.

    Add IUSR_WEBSERVER (that's the name IIS runs under in Win2003 Server, not sure what it will be on your machine). Make sure it has Read/Write/Create perms for that folder.

    Make sure to check off "Cascade permissions to subfolder and files".

    Click ok, and try to reinstall again.

  3. #3
    rtmtek is offline Member
    Join Date
    Jan 2006
    Posts
    6

    Default Re: Got past mySQL now getting permission issues

    Chris - thanks for the response.

    I'm feeling really stupid right now because I'm running XP Pro with IIS installed (v. 5). I know the settings you're talking about because I have managed many servers but I'm not seeing that on my XP box. All I get is the wimpy XP security stuff that doesn't have all the options like the servers do.

    I tried doing different settings in IIS and promptly locked myself out of the directory with 403 forbidden errors. Got that all put back and I'm still getting the permission problem. My only options on the directories at the OS level is checking Read Only or unchecking it. I set Read Only off and cascade it down. Then I go back and it's set again. I remember being able to turn off inherit from parent on the server but it's escaping me here.

    Any other suggestions?

    Thanks for your help so far,
    -Mike

  4. #4
    rtmtek is offline Member
    Join Date
    Jan 2006
    Posts
    6

    Smile Re: Got past mySQL now getting permission issues

    Finally got past all the permission issues. I turned off Anonymous access and left the Windows authentication on. I reran the install file and everything flew through - even loaded the sample data.

    Thanks again for the help.

    -Mike

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
  •