Results 1 to 4 of 4

Thread: Bug Report - Download attach from note

  1. #1
    proyectoz is offline Junior Member
    Join Date
    Oct 2006
    Location
    Cochabamba
    Posts
    1

    Thumbs up Bug Report - Download attach from note

    I see sugarCRM 4.5.0f (Build 1202)
    have a bug, when download a file from NOTE
    and i see the solution is
    ===============================================
    in file download.php
    in line 49
    have this:

    $query = "SELECT *,filename FROM notes WHERE id = '" . $_REQUEST['id'] ."'";

    you can change with this line

    $query = "SELECT *,filename AS name FROM notes WHERE id = '" . $_REQUEST['id'] ."'";

    and solution problem download filename
    Last edited by proyectoz; 2006-10-31 at 05:32 PM.

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

    Default Re: Bug Report - Download attach from note

    Great - works here!
    Cheers Pascal
    Simplicity GmbH

  3. #3
    Sorb is offline Member
    Join Date
    Nov 2006
    Location
    Sweden
    Posts
    7

    Default Re: Bug Report - Download attach from note

    Thanks a lot proyectoz, that definitely helped me as well! I had to enable Zlib compression in php.ini in order to get downloads to work in the first place though.

  4. #4
    tbivans's Avatar
    tbivans is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Ayden, NC
    Posts
    224

    Default Re: Bug Report - Download attach from note

    I am having this problem and the posted solution is not working for me. I have checked the Zlip compression in php.ini and it is on. Are there any other ideas.

    Hope so!

    Thanks,


    tim

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
  •