Results 1 to 4 of 4

Thread: Invalid File Reference when loading PDF Document

  1. #1
    siliconcty is offline Sugar Community Member
    Join Date
    Jan 2005
    Posts
    26

    Default Invalid File Reference when loading PDF Document

    sugarcrm 4.5.0d

    After creating a document which contains a pdf (pdf is a good valid document and can be opened and viewed on the local machine using pdf reader and from within the ie6 browser), I receive a Invalid File Reference within a new brower window when attempting to retrieve the pdf document from the list documents application.

    .txt, .doc. xls documents seem to work ok. it's pdf's that seem to be a roblem

    is what comes up as the URL
    http://www.xxx.yyy/crm/download.php?...type=Documents

    and I get an Invalid File Reference when I try to retrieve the pdf document

    Did I mis a post on this?
    Last edited by siliconcty; 2006-10-20 at 03:00 AM.

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

    Default Re: Invalid File Reference when loading PDF Document

    What is your max file upload size set to in php.ini?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



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

    Default Re: Invalid File Reference when loading PDF Document

    Hi

    Does the file exist? Sugar is looking for the file:

    cache/upload/425fabc4-1f78-473b-b1c2-45383180b0cd

    Actually "cache/upload" depends on your settings in config.php, key upload_dir.
    Cheers Pascal
    Simplicity GmbH

  4. #4
    siliconc is offline Junior Member
    Join Date
    Sep 2006
    Posts
    1

    Default Re: Invalid File Reference when loading PDF Document

    upload_max_filesize = 2M

    changed that to 128M

    config.php
    'upload_maxsize' = '9000000',

    I changed both to 128 mb

    Seems to be working now.

    Thanks

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
  •