Answers.Body: <p>I had the same problem in civicrm 4.6 drupal 7.50.</p>
  
  <p>I made this patch to fix the issue, i hope that will be useful.
  <a href="https://github.com/rubofvil/civicrm-packages/commit/563a422384ae20cc0077225bebb748813fa6b22d.patch" rel="nofollow">https://github.com/rubofvil/civicrm-packages/commit/563a422384ae20cc0077225bebb748813fa6b22d.patch</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-25T11:26:56.717Z
Answers.Text: https://github.com/rubofvil/civicrm-packages/commit/24a39648a2660e26baf8fe463d6a34a32d593548.patch
Answers.UserDisplayName: rubofvil
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-06T14:02:08.020Z
Answers.LastActivityDate: 2016-10-06T14:02:08.020Z
Answers.UserDisplayName: rubofvil
Body: <p>We are having some issues being unable to upload images to CiviMail. This only seems to happen on Chrome (52 on OSX, but perhaps not exclusively), while the same user has no issues in Safari. Seems to affect some users all the time, but not others with similar setups, and other users intermittently.</p>
  
  <p>These two messages are logged for user Anonymous (though the user is obviously logged in):</p>
  
  <p>LOCATION    <a href="https://secure.wildsight.ca/sites/secure.wildsight.ca/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&amp;type=images&amp;CKEditor=crmUiId_1&amp;CKEditorFuncNum=3&amp;langCode=en" rel="nofollow">https://secure.wildsight.ca/sites/secure.wildsight.ca/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&amp;type=images&amp;CKEditor=crmUiId_1&amp;CKEditorFuncNum=3&amp;langCode=en</a>
  REFERRER<br>
  MESSAGE $Fatal Error Details = Array ( [message] => You must be logged in with proper permissions to edit, add, or delete uploaded images. [code] => )</p>
  
  <p>LOCATION    <a href="https://secure.wildsight.ca/sites/secure.wildsight.ca/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&amp;type=images&amp;CKEditor=crmUiId_1&amp;CKEditorFuncNum=3&amp;langCode=en" rel="nofollow">https://secure.wildsight.ca/sites/secure.wildsight.ca/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&amp;type=images&amp;CKEditor=crmUiId_1&amp;CKEditorFuncNum=3&amp;langCode=en</a>
  REFERRER<br>
  MESSAGE $backTrace = #0 /var/www/civicrm/4.6/CRM/Core/Error.php(364): CRM_Core_Error::backtrace("backTrace", TRUE) #1 /var/www/civicrm/4.6/packages/kcfinder/integration/civicrm.php(68): CRM_Core_Error::fatal("You must be logged in with proper permissions to edit, add, or delete uploade...") #2 /var/www/civicrm/4.6/packages/kcfinder/integration/civicrm.php(140): checkAuthentication() #3 /var/www/civicrm/4.6/packages/kcfinder/core/bootstrap.php(39): require("/var/www/civicrm/4.6/packages/kcfinder/integration/civicrm.php") #4 /var/www/civicrm/4.6/packages/kcfinder/upload.php(15): require("/var/www/civicrm/4.6/packages/kcfinder/core/bootstrap.php") #5 {main}</p>
  
  <p>Civi 4.6.18, Drupal 7.44</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-23T18:28:56.663Z
Comments.Text: Turns out that one user in question has their IP address changing very frequently (on a timespan of minutes) and has now found the same problem in Safari.
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-30T06:01:39.460Z
Comments.Text: I am facing the same issue in the Drupal 7 and CiviCRM 5.9.1. After applying this patch also it is not working. It is giving this error. Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. You must be logged in with proper permissions to edit, add, or delete uploaded images.
Comments.UserDisplayName: sharaths
Tags: <civimail><kcfinder>
Title: CiviMail - KCFinder upload issues - "You must be logged in with proper permissions", Chrome only
ThreadText: # CiviMail - KCFinder upload issues - "You must be logged in with proper permissions", Chrome only
  
  (Asked by: username_0 on 2016-08-23)
  
  We are having some issues being unable to upload images to CiviMail. This only seems to happen on Chrome (52 on OSX, but perhaps not exclusively), while the same user has no issues in Safari. Seems to affect some users all the time, but not others with similar setups, and other users intermittently.
  
  These two messages are logged for user Anonymous (though the user is obviously logged in):
  
  LOCATION <https://secure.wildsight.ca/sites/secure.wildsight.ca/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=images&CKEditor=crmUiId_1&CKEditorFuncNum=3&langCode=en>
  REFERRER  
  MESSAGE $Fatal Error Details = Array ( [message] => You must be logged in with proper permissions to edit, add, or delete uploaded images. [code] => )
  
  LOCATION <https://secure.wildsight.ca/sites/secure.wildsight.ca/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=images&CKEditor=crmUiId_1&CKEditorFuncNum=3&langCode=en>
  REFERRER  
  MESSAGE $backTrace = #0 /var/www/civicrm/4.6/CRM/Core/Error.php(364): CRM\_Core\_Error::backtrace("backTrace", TRUE) #1 /var/www/civicrm/4.6/packages/kcfinder/integration/civicrm.php(68): CRM\_Core\_Error::fatal("You must be logged in with proper permissions to edit, add, or delete uploade...") #2 /var/www/civicrm/4.6/packages/kcfinder/integration/civicrm.php(140): checkAuthentication() #3 /var/www/civicrm/4.6/packages/kcfinder/core/bootstrap.php(39): require("/var/www/civicrm/4.6/packages/kcfinder/integration/civicrm.php") #4 /var/www/civicrm/4.6/packages/kcfinder/upload.php(15): require("/var/www/civicrm/4.6/packages/kcfinder/core/bootstrap.php") #5 {main}
  
  Civi 4.6.18, Drupal 7.44
  
  **Tags:** civimail, kcfinder
  
  > **Comments:**
  > **username_0**: Turns out that one user in question has their IP address changing very frequently (on a timespan of minutes) and has now found the same problem in Safari.  
  > **username_1**: I am facing the same issue in the Drupal 7 and CiviCRM 5.9.1. After applying this patch also it is not working. It is giving this error. Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. You must be logged in with proper permissions to edit, add, or delete uploaded images.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-10-06. Score: 2
  
  I had the same problem in civicrm 4.6 drupal 7.50.
  
  I made this patch to fix the issue, i hope that will be useful.
  <https://github.com/username_2/civicrm-packages/commit/563a422384ae20cc0077225bebb748813fa6b22d.patch>
  
  > **Comments:**
  > **username_2**: https://github.com/username_2/civicrm-packages/commit/24a39648a2660e26baf8fe463d6a34a32d593548.patch  
  
  ---
  
  