Results 1 to 5 of 5

Thread: Crazy list of errors all at once.

  1. #1
    lanx is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    37

    Question Crazy list of errors all at once.

    CentOS
    PHP Version 4.3.11
    MySQL Version: 4.1.20

    I get the following at the top of pages in my sugarCRM OS. They also on some pages (such as leads, contacts) isn't just at the very very top of the page but also in the middle of the page.

    This all started happening when I was working on the leadCapture.php and ExampleLeadCapture.php (for example, when I go to ExampleLeadCapture.php and click submit, it sends me to leadCapture.php and gives me the below list of errors.

    I changed one file, "ExampleLeadCapture.php" to show $GLOBALS['sugarEntry'] = true;. That is all I can think of that was changed. Any idea's or help? Thanks!

    Code:
    Warning: mkdir(cache/dynamic_fields/Contacts): Permission denied in /var/www/html/crm/include/utils/file_utils.php on line 49
    
    Warning: fopen(cache/dynamic_fields/Contacts/fields.php): failed to open stream: No such file or directory in /var/www/html/crm/modules/DynamicFields/DynamicField.php on line 719
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/html/crm/modules/DynamicFields/DynamicField.php on line 720
    
    Warning: fclose(): supplied argument is not a valid stream resource in /var/www/html/crm/modules/DynamicFields/DynamicField.php on line 721
    
    Warning: mkdir(cache/dynamic_fields/Contacts): Permission denied in /var/www/html/crm/include/utils/file_utils.php on line 49
    
    Warning: fopen(cache/dynamic_fields/Contacts/fields.php): failed to open stream: No such file or directory in /var/www/html/crm/modules/DynamicFields/DynamicField.php on line 719
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/html/crm/modules/DynamicFields/DynamicField.php on line 720
    
    Warning: fclose(): supplied argument is not a valid stream resource in /var/www/html/crm/modules/DynamicFields/DynamicField.php on line 721
    Last edited by lanx; 2006-12-23 at 08:07 AM.

  2. #2
    pblag's Avatar
    pblag is offline Sugar Community Member
    Join Date
    Jul 2006
    Location
    Ukraine (Chernivtsy)
    Posts
    347

    Wink Re: Crazy list of errors all at once.

    Hello!

    I think that you have permission error.
    I think you need change permission for folders /cache and /cache/dynamic_fields to 777 and try it again.

    If you have any questions you can have a chat with me just click on link bellow
    Live Help
    If I'll be online i hope i'll give you the answers for your questions.

    Thank you,
    Petro Blagodir.
    blagodir@gmail.com
    Blagodir Software - SugarCRM customizing
    Last edited by pblag; 2007-02-28 at 03:06 PM.

  3. #3
    lanx is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    37

    Question Re: Crazy list of errors all at once.

    Quote Originally Posted by pblag
    Hello!

    I think that you have permission error.
    I think you need change permission for folders /cache and /cache/dynamic_fields to 777 and try it again.

    If you have any questions you can have a chat with me just click on link bellow
    Live Help
    If I'll be online i hope i'll give you the answers for your questions.

    Thank you,
    Petro Blagodir.
    blagodir@gmail.com
    Petro,

    You are amazing!!! I changed those two folders to 777 and it worked. I thank you!

    I do have a question though, why would this start happening out of no where?

    Anyway, you are awesome!!! Happy Holidays

  4. #4
    cywolf's Avatar
    cywolf is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Toronto, Canada
    Posts
    223

    Default Re: Crazy list of errors all at once.

    My guess is that somebody added a custom field to the Contacts module using the Studio.
    Andrew Whitehead
    The Long Reach Corporation
    http://infoathand.com

  5. #5
    pblag's Avatar
    pblag is offline Sugar Community Member
    Join Date
    Jul 2006
    Location
    Ukraine (Chernivtsy)
    Posts
    347

    Default Re: Crazy list of errors all at once.

    Hello All!

    I think that it is because SugarCRM installation.
    may be folder "cache" was copied from another computer
    And as you may know SugarCRM set up rights for folders so Sugar didn't have rights to write in these folders.



    Thank you,
    Petro Blagodir
    blagodir@gmail.com
    Blagodir Software - SugarCRM customizing
    Last edited by pblag; 2007-02-28 at 03:06 PM.

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
  •