Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Accessing the Documents Error

  1. #1
    Respecte is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    17

    Default Accessing the Documents Error

    While attempting to access an attached document from the Documents tab, I get an error, "Invalid File Reference" Any help will be appreciated, Sugar 4.5

  2. #2
    Respecte is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    17

    Default Re: Accessing the Documents Error

    Is anyone here that knows how to resolve this issue, please help. I cannot access any documents that I have uploaded into the Documents menu/tab/folder

  3. #3
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: Accessing the Documents Error

    Hi Respecte, details please.

    ** Is there a pattern to the files in error? Same extension?
    ** Do all files cause an error?
    ** Does error occur to all users of the system
    ** Does this occur with all browsers?

    Even a picture may help. Details please.

    Thanks,

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  4. #4
    Respecte is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    17

    Default Re: Accessing the Documents Error

    Hi Andydreisch,

    ** Is there a pattern to the files in error? Same extension?
    No it happens to pdf, doc etc
    ** Do all files cause an error?
    Yes
    ** Does error occur to all users of the system
    I have 2 users testing now, and yes even to the admin.
    ** Does this occur with all browsers?
    It happens with Firefox and IE
    >>Even a picture may help. Details please.
    Please see attachment.

    Thanks for all the help.
    Attached Files Attached Files

  5. #5
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: Accessing the Documents Error

    Hi Respecte, I've asked the Dev-ers to look into this.

    I could not find any bugs regarding this problem.

    Created a new bug to track.

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  6. #6
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: Accessing the Documents Error

    Hi Respecte

    What is upload_max_filesize set to in php.ini? I think another user had the same problem (but only with some documents). After he increased the upload_max_filesize it worked.

    Is upload_dir set in <sugarroot>/config.php?
    Cheers Pascal
    Simplicity GmbH

  7. #7
    Respecte is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    17

    Default Re: Accessing the Documents Error

    Quote Originally Posted by simple
    Hi Respecte

    What is upload_max_filesize set to in php.ini? I think another user had the same problem (but only with some documents). After he increased the upload_max_filesize it worked.

    Is upload_dir set in <sugarroot>/config.php?
    Hi Pascal,

    I increased the max size to 100MB from 40mb, even though the two file sizes are less than 1mb. I was looking at the upload_dir, and here is the setting in config.php in /sugarcm/ dir,

    'upload_dir' => 'cache/upload/',

    In inspecting the dir, the files in question were not uploaded there. I tried again, and recieved this error;

    ERROR: can't move_uploaded_file to cache/upload/22843e70-06ec-8c3c-8753-4561d2573bd4. You should try making the directory writable by the webserver

    Question, 1. where is the destination of the files? 2. And how do you make the dir writable in Windows? This is the admin uploading the file.


    Any help will be appreciated.

  8. #8
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: Accessing the Documents Error

    Hi
    Question, 1. where is the destination of the files?
    The files shoud be uploaded (moved after upload) to the cache/upload dir.

    2. And how do you make the dir writable in Windows? This is the admin uploading the file.
    Actually I have no idea what to do on Windows to make a dir writable by the webserver. What are the settings? Has "everybody" write access to the dir cache/upload?
    Cheers Pascal
    Simplicity GmbH

  9. #9
    Respecte is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    17

    Default Re: Accessing the Documents Error

    Quote Originally Posted by simple
    Hi

    The files shoud be uploaded (moved after upload) to the cache/upload dir.


    Actually I have no idea what to do on Windows to make a dir writable by the webserver. What are the settings? Has "everybody" write access to the dir cache/upload?

    Hi Pascal,

    That is why I am befuddled. I am the admin on my box, uploading the files, and that error occurs. There is probably a switch to mimic *unix' chmod. Is there a placebo for apache here?

    Regards,

  10. #10
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Accessing the Documents Error

    Simple,

    The Wiki has a document on permissions for IIS here. There is one additional note about windows permissions. A deny will override permit so make sure that the default deny permisson for writing is unchecked.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



Page 1 of 2 12 LastLast

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
  •