Results 1 to 4 of 4

Thread: Please help fast! clicked Repair Custom Fields once and now getting lots of warnings

  1. #1
    jasonsot is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    70

    Exclamation Please help fast! clicked Repair Custom Fields once and now getting lots of warnings

    we are using Sugar 4.5.1

    OK, i was just in studio rearranging the leads layout (display & edit views) as well as adding a new custom field. Nothing new. The only thing that I can think of that would have caused this was clicking on Repair Custom Fields. It said no changes were made except for clearing the cache. but...

    Now when I try to access the CRM, I am getting these warnings at the top and in the inner frame:


    --------
    Warning: mkdir() [function.mkdir]: Permission denied in /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php on line 49

    Warning: fopen(cache/dynamic_fields/Leads/fields.php) [function.fopen]: failed to open stream: No such file or directory in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 744

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 745

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 746

    Warning: mkdir() [function.mkdir]: Permission denied in /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php on line 49

    Warning: fopen(cache/dynamic_fields/Leads/fields.php) [function.fopen]: failed to open stream: No such file or directory in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 744

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 745

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 746

    Warning: mkdir() [function.mkdir]: Permission denied in /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php on line 49

    Warning: fopen(cache/dynamic_fields/Leads/fields.php) [function.fopen]: failed to open stream: No such file or directory in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 744

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 745

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sotcrm/public_html/SugarCRM451/modules/DynamicFields/DynamicField.php on line 746

    Warning: Cannot modify header information - headers already sent by (output started at /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php:49) in /home/sotcrm/public_html/SugarCRM451/index.php on line 597

    Warning: Cannot modify header information - headers already sent by (output started at /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php:49) in /home/sotcrm/public_html/SugarCRM451/index.php on line 602

    Warning: Cannot modify header information - headers already sent by (output started at /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php:49) in /home/sotcrm/public_html/SugarCRM451/index.php on line 607
    ---------------------



    Any ideas on how to fix this?? This is a live system
    Last edited by jasonsot; 2008-10-01 at 05:31 PM.

  2. #2
    jasonsot is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    70

    Default Re: Please help fast! clicked Repair Custom Fields once and now getting lots of warnings

    I have checked the permissions on /home/sotcrm/public_html/SugarCRM451/include/utils/file_utils.php and it is 777 ...not sure why permission is being denied

  3. #3
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Please help fast! clicked Repair Custom Fields once and now getting lots of warnings

    No no no that's not the same thing. Permission is denied to mkdir() (make directory), not file_utils.php itself.

    1. DON'T ever have any file or directory on 777.
    2. DO execute a "chmod -R 775 cache/" and make the Apache user (www-data?) either the owner or the groupowner of cache. (chown -R www-data cache/)
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  4. #4
    jasonsot is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    70

    Default Re: Please help fast! clicked Repair Custom Fields once and now getting lots of warnings

    ahhhh... i see. ok, that fixed it!! thank you VERY much!!

    Im afraid a lot of our directories are 777. should they all be at least 775?

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
  •