Results 1 to 1 of 1

Thread: Unable to download attachment from notes section

  1. #1
    Join Date
    Feb 2009
    Posts
    13

    Default Unable to download attachment from notes section

    I have a local installation of sugarcrm. i can archive attachments to the notes section and the file appears in the cache/upload/ folder as say e.g. e4dcddef-409a-c48b-5244-4d2d809b2a82

    when i go to download the attachment from viewing the note record it attempts to load this url http://server/crm/index.php?entryPoi...a82&type=Notes and rather than downloading the attachment just redirects me to the home screen.

    The attachment is in the uploads folder and when i rename the file to say e4dcddef-409a-c48b-5244-4d2d809b2a82.png it opens up fine just unable to download from sugar.


    how can i go about troubleshooting this issue? or trace the issue in the download entry point


    i have attached the error log for viewing the note record and attempting to download it.
    I do not know when this stopped working, so i cannot determine if a logic hook or some other customisation might have caused it.

    I have tried downloading the document from the account that uploaded it as well as uploaded many using the admin account. i have done a quick repair and rebuild.


    UPDATE:

    I delete \custom\include\MVC\Controller\entry_point_registr y.php which i created a while back to allow some ajax to work in some of the modules eg looking up a postcode database. the code inside the entry point file above was:

    $entry_point_registry = array(
    'get_suburb' => array('file' => 'get_suburb.php', 'auth' => true),
    'get_steps' => array('file' => 'get_steps.php', 'auth' => true),
    'get_contact' => array('file' => 'get_contact.php', 'auth' => true),
    'get_account' => array('file' => 'get_account.php', 'auth' => true),
    );

    When i delete the entry_point_registry.php file my problem above with download attachments is fixed. Is there a reason why the above entry_point_registry.php code would have this effect? - by using the $entry_point_registry am i erasing the existing entry points and thus the download entry point?
    Attached Files Attached Files
    Last edited by marktaylor5151; 2011-01-12 at 10:03 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Notes Attachment download error -calls index.php
    By webnetin in forum Developer Help
    Replies: 1
    Last Post: 2010-02-23, 01:58 PM
  2. Replies: 0
    Last Post: 2008-01-20, 11:22 AM
  3. Email attachment and notes
    By george_bbch in forum General Discussion
    Replies: 0
    Last Post: 2006-07-25, 11:09 AM
  4. Replies: 3
    Last Post: 2005-10-31, 08:31 PM

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
  •