Results 1 to 5 of 5

Thread: Warning: fopen(config_override.php) [function.fopen]: failed to open stream 103

  1. #1
    fabivomsee is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    78

    Default Warning: fopen(config_override.php) [function.fopen]: failed to open stream 103

    Hi Professionals,

    I am havint trouble in the system wide settings: I can't save data & get the errors:

    Warning: fopen(config_override.php) [function.fopen]: failed to open stream: Permission denied in /www/htdocs/w00a383b/crm/include/utils/sugar_file_utils.php on line 103

    Warning: fwrite(): supplied argument is not a valid stream resource in /www/htdocs/w00a383b/crm/modules/Configurator/Configurator.php on line 116

    Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/w00a383b/crm/modules/Configurator/Configurator.php on line 117


    I also cant modify fields in Studio or Save any Systemwide data. I think it happend after I moved the system to another ISP.
    Has anybody a solution? Thank you very much.


    // Version 5.2.0a (Build 5447)
    Linux Apache MySQL
    Last edited by fabivomsee; 2009-04-13 at 08:36 PM.

  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: Warning: fopen(config_override.php) [function.fopen]: failed to open stream 103

    You need to identify the user and group apache uses to get started, have a look on httpd.conf then run this command as root:

    chown -R <the_user>.<the_group> /www/htdocs/w00a383b/crm/

    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
    fabivomsee is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    78

    Smile Re: Warning: fopen(config_override.php) [function.fopen]: failed to open stream 103

    Thank you Andopez!
    For guys who struggle with the same problem and don't have root access:
    The User in my case was w00a383b. You may can see that in the Error URL.

    I changed the "User-Rights" in the admin menue of the Hosting Provider from User w00a383b to "PHP User" rekursively to the path /sugarcrm/. Wait 3 min and the changes will affect.

    good luck!

  4. #4
    stanum is offline Senior Member
    Join Date
    Nov 2009
    Posts
    21

    Default Re: Warning: fopen(config_override.php) [function.fopen]: failed to open stream 103

    I have the same problem like this one too..

    The error messaged appeared like this

    Warning: fopen(config_override.php) [function.fopen]: failed to open stream: Permission denied in C:\Domains\hatching.com.my\wwwroot\crm\include\uti ls\sugar_file_utils.php on line 103

    Warning: fwrite(): supplied argument is not a valid stream resource in C:\Domains\hatching.com.my\wwwroot\crm\modules\Con figurator\Configurator.php on line 136

    Warning: fclose(): supplied argument is not a valid stream resource in C:\Domains\hatching.com.my\wwwroot\crm\modules\Con figurator\Configurator.php on line 137
    Then i want to follow the instruction as andopes suggested

    You need to identify the user and group apache uses to get started, have a look on httpd.conf then run this command as root:

    chown -R <the_user>.<the_group> /www/htdocs/w00a383b/crm/
    But, unfortunately, i dont know where to start as instructed by andopes, where do i need to find the group apache, httpd.conf then run the command?

    And i stumbled upon the instruction by fabivomsee

    Thank you Andopez!
    For guys who struggle with the same problem and don't have root access:
    The User in my case was w00a383b. You may can see that in the Error URL.

    I changed the "User-Rights" in the admin menue of the Hosting Provider from User w00a383b to "PHP User" rekursively to the path /sugarcrm/. Wait 3 min and the changes will affect.

    good luck!
    Unfortunately too, i am not sure where do i headed first,

    So, expert and professional out there, care to assist me on this matter? The thread is old, and i just re-up again. Hope it wont do any harm for anyone.

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

    Default Re: Warning: fopen(config_override.php) [function.fopen]: failed to open stream 103

    Just see http://www.sugarcrm.com/wiki/index.p...sions_on_Linux in WIKI.

    In your case read the section starting with "However, some hosting providers..." what means that you have no chance but to set the chmod permissions to 777.
    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


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 5.2 Install error:: [function.fopen]: failed to open stream:
    By vinriver in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2009-03-20, 09:17 AM
  2. error message: Warning: fopen(LICENSE.txt) etc..
    By sloan in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2007-03-23, 05:51 AM
  3. Replies: 0
    Last Post: 2007-03-07, 08:38 AM
  4. Replies: 4
    Last Post: 2006-04-07, 03:49 PM
  5. Replies: 4
    Last Post: 2004-12-30, 09:45 PM

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
  •