Results 1 to 2 of 2

Thread: Invalid File Reference after importing data to database

  1. #1
    malcek is offline Sugar Community Member
    Join Date
    Dec 2009
    Posts
    19

    Default SOLVED:Invalid File Reference after importing data to database

    Recently I have system crash and have to setup Sugar again. Backup was two days old, so no modification or new data was made. After importing I have a problem downloading documents. All the file seems to lost reference.
    keep getting warning: Invalid File Reference

    How to fix that. I'm desperate, because I got stored about 2k documents in it

    Martin

    Solved: After I check backup zip I see that not all the files were copied. It is very difficult to find out if something is missin in 2k files. Why i don't know, but after adding missing files all the files are downloadable.
    Last edited by malcek; 2011-12-04 at 12:13 AM.

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Invalid File Reference after importing data to database

    Uploaded files are stored in cache/upload directory (per default, it can be changed in config.php, parameter 'upload_dir'). Their name is identical to the document-id (field 'id' in table 'documents'). This is the only file reference used with Sugar. The original file name is stored in the 'documents' table only.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Invalid File Reference
    By schoasch in forum Help
    Replies: 6
    Last Post: 2010-12-01, 10:26 AM
  2. Invalid File Reference
    By marcustan138 in forum Help
    Replies: 0
    Last Post: 2010-10-20, 04:42 PM
  3. Replies: 2
    Last Post: 2009-12-08, 10:26 AM
  4. Invalid file reference when opening file
    By Systems Navigator in forum Help
    Replies: 10
    Last Post: 2008-09-26, 09:41 PM
  5. Invalid File Reference
    By shivaranjani in forum Help
    Replies: 0
    Last Post: 2008-08-25, 11:11 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
  •