Answers.Body: <p>This should be resolved as of 4.6.4 (<a href="https://issues.civicrm.org/jira/browse/CRM-16499" rel="nofollow">issue CRM-16499</a>).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-18T15:47:44.590Z
Answers.LastActivityDate: 2015-08-18T15:47:44.590Z
Answers.UserDisplayName: Nicholai
Body: <p>I'm having a problem attaching files to activities.  I've done the basic checks (write permission to directories, Drupal permissions) .  I notice that the file gets placed in the Custom Files folder "[site root]\sites\default\files\civicrm\custom" </p>
  
  <p>However, the process doesn't seem to finish, and the system hangs with the egg timer showing and ultimately i have to escape out of adding the activity, for the system to 'un-freeze'.  </p>
  
  <p>I'm feel it's just a small tweak somewhere but i'm getting stupped what the exact issue is, and my searches are not pulling up anything related to this.   </p>
  
  <p>Any help would be much appreciated. </p>
  
  <p>UPDATE: when i right click new activity and attach the file i get the following error </p>
  
  <blockquote>
    <p>Sorry but we are not able to provide this at the moment. Could not
    move custom file to custom upload directory Uncaught
    CRM_Core_Exception: [0: Transaction integrity error: Expected to find
    active frame thrown in –</p>
  </blockquote>
  
  <p>UPDATE 2:
   it looks like there is a 500 error; </p>
  
  <blockquote>
    <p>Failed to load resource: the server responded with a status of 500
    (Internal Server Error).</p>
  </blockquote>
  
  <p>this is followed by another errror; </p>
  
  <blockquote>
    <p>Failed to clear temp storage: It was determined that certain files are
    unsafe for access within a Web application, or that too many calls are
    being made on file resources. SecurityError –</p>
  </blockquote>
  
  <p>UPDATE #3
  It looks like the ultimate cause of this problem is the issue with relative angular paths in windows <a href="https://github.com/civicrm/civicrm-core/pull/5863" rel="nofollow">CRM-16499</a>.  I'm going to upgrade to 4.6.4 from 4.6.2 as this issues is fixed in the 4.6.4 version. </p>
  
  <p>If it works i'll add an answer</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-26T21:23:31.133Z
Comments.Text: Can you verify that your file permisions are correct (usually this means www-data user ought to have rw permission on the sites/default/files/* directory)
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-02T16:02:09.397Z
Comments.Text: Bruce it looks like there are two of you! Which one is the real Bruce?
Comments.UserDisplayName: Coleman
Tags: <activities>
Title: Attaching file to activity
ThreadText: # Attaching file to activity
  
  (Asked by: username_0 on 2015-06-23)
  
  I'm having a problem attaching files to activities. I've done the basic checks (write permission to directories, Drupal permissions) . I notice that the file gets placed in the Custom Files folder "[site root]\sites\default\files\civicrm\custom"
  
  However, the process doesn't seem to finish, and the system hangs with the egg timer showing and ultimately i have to escape out of adding the activity, for the system to 'un-freeze'.
  
  I'm feel it's just a small tweak somewhere but i'm getting stupped what the exact issue is, and my searches are not pulling up anything related to this.
  
  Any help would be much appreciated.
  
  UPDATE: when i right click new activity and attach the file i get the following error
  
  > Sorry but we are not able to provide this at the moment. Could not
  > move custom file to custom upload directory Uncaught
  > CRM\_Core\_Exception: [0: Transaction integrity error: Expected to find
  > active frame thrown in –
  
  UPDATE 2:
  it looks like there is a 500 error;
  
  > Failed to load resource: the server responded with a status of 500
  > (Internal Server Error).
  
  this is followed by another errror;
  
  > Failed to clear temp storage: It was determined that certain files are
  > unsafe for access within a Web application, or that too many calls are
  > being made on file resources. SecurityError –
  
  UPDATE #3
  It looks like the ultimate cause of this problem is the issue with relative angular paths in windows [CRM-16499](https://github.com/civicrm/civicrm-core/pull/5863). I'm going to upgrade to 4.6.4 from 4.6.2 as this issues is fixed in the 4.6.4 version.
  
  If it works i'll add an answer
  
  **Tags:** activities
  
  > **Comments:**
  > **username_1**: Can you verify that your file permisions are correct (usually this means www-data user ought to have rw permission on the sites/default/files/* directory)  
  > **username_1**: username_0 it looks like there are two of you! Which one is the real username_0?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-08-18. Score: 1
  
  This should be resolved as of 4.6.4 ([issue CRM-16499](https://issues.civicrm.org/jira/browse/CRM-16499)).
  
  
  ---
  
  