Results 1 to 7 of 7

Thread: Error in Documents tab

  1. #1
    devpp is offline Member
    Join Date
    Mar 2008
    Posts
    6

    Default Error in Documents tab

    Hi all,

    I get this error when accessing the documents tab on sugar.


    Warning: rename(cache/upload/,cache/upload/) [function.rename]: Permission denied in C:\Inetpub\vhosts\wac.ch\httpdocs\Sugarcrm\include \upload_file.php on line 93

    I use PHP 4.4.7
    Sugarcrm community ediition 5.0b
    and MySQL 5

    Thanks for any help you can give

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Error in Documents tab

    Sounds like the IUSR_<MACHINENAME> account doesn't have sufficient privileges to the SugarCRM folder.

    Check your folder settings and make sure that user has READ & EXECUTE, MODIFY and WRITE privileges.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    consigli79 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    1

    Default Re: Error in Documents tab

    IUSR_<MACHINENAME> account has privileges to the SugarCRM folder. I can upload files with document module. But when I access the documents tab, I've the error:

    Warning: rename(cache/upload/,cache/upload/) [function.rename]: Permission denied in C:\Inetpub\vhosts\wac.ch\httpdocs\Sugarcrm\include \upload_file.php on line 93

    Please help me!
    Thanks a lot.

    Max

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Error in Documents tab

    Not sure what to tell you.

    The error message is pretty clear about there being a permissions problem(s).
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    SymonN is offline Junior Member
    Join Date
    May 2008
    Posts
    1

    Default Re: Error in Documents tab

    I had the same problem. Im a total noob at sugar but i think its a windows specific problem. In linux renaming a file to the same name returns sucess in windows it does not (I think)

    I added a function to upload_file.php like this:

    function rename2($p1,$p2) {
    if ($p1 == $p2) return 1;
    return rename($p1,$p2);
    }

    then replace the rename function in get_file_path with UploadFile::rename2. this got rid of the problem.

    I just downloaded sugar 1 day ago this is my first ever open souce project and my first ever forum post - please dont flame me 2 much

  6. #6
    nlcd is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default Re: Error in Documents tab

    Greetings from Austria,

    just applied your fix to the file. The error is gone. Just registered to say thank you.

    Yours, Andy

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

    Default Re: Error in Documents tab

    This seems to be a real bug. Does anybody have this problem in 5.0.0e?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Removing Activities Tab at the Top
    By rps1984 in forum Help
    Replies: 12
    Last Post: 2008-04-10, 10:24 AM
  2. Cannot see documents after upgrade
    By mgreis in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-07-30, 01:38 PM
  3. Replies: 0
    Last Post: 2005-12-19, 09:38 PM
  4. Replies: 2
    Last Post: 2005-11-24, 08:42 AM
  5. Checkboxes under Home Tab
    By Adamcin in forum Help
    Replies: 0
    Last Post: 2005-11-16, 12:27 AM

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
  •