Answers.Body: <p>I'm not sure this is an answer to your question, since you seem to have a specific error. Nevertheless, we've had a similar problem and so it may be helpful to hear our solution: When the file browser gives a blank screen for our users, the problem seems to arise from slow internet connections causing some problems in the computer's DNS cache. If we clear the browser cache completely AND also the computer's DNS cache then it magically works again. </p>
  
  <p>This is for us in Civicrm 5.10 and Drupal 7 latest, so again, our situation may be different to yours. For instructions on clearing computer's DNS caches we used links like <a href="http://osxdaily.com/2017/12/18/reset-dns-cache-macos-high-sierra/" rel="nofollow noreferrer">this for mac</a> and <a href="https://documentation.cpanel.net/display/CKB/How+To+Clear+Your+DNS+Cache#HowToClearYourDNSCache-Windows%C2%AE7" rel="nofollow noreferrer">this for Windows 10</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-19T20:54:37.733Z
Answers.LastActivityDate: 2019-04-19T20:54:37.733Z
Answers.UserDisplayName: Andyg8
Answers.Body: <p>Yet another completely different approach to the above answers that has helped us, is to be aware of the number of files in the folder you are asking CKEditor's KCFinder to browse.</p>
  <p>We accumulate 1,000 images per year, and so when the popup has to show all these images it has to download thumbnails for them all. If a user has slow internet it's interminable. And sometimes seems to make the whole process balk.</p>
  <p>We've overcome this by making new folders for images every year. Eg ../images/emails-2022, ../images/events-2023, etc etc.</p>
  <p>Also, if you set your window to search a list rather than as thumbnails it dramatically speeds up the process if your folder has many images.</p>
  <p>We've also had to use all the methods above!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-03T20:01:25.383Z
Answers.LastActivityDate: 2023-02-03T20:01:25.383Z
Answers.UserDisplayName: Andyg8
Answers.Body: <p>There are a variety of reasons this can happen - but a good first step is to disable asset caching on <strong>Administer menu » System Settings » Debug and Backtrace</strong>.  This only creates a modest performance hit, will often work around the problem immediately, and is an excellent troubleshooting step for finding the permanent solution.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-03T20:25:10.497Z
Answers.LastActivityDate: 2020-01-03T20:25:10.497Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>I too have struggled with this issue. For lack of a better term I've found that it's a corruption in the browser's cookie cache. If I open my developer tools and check my Application Storage and then clear my cookies for the site, after I re log-in to the site I am able to browse the server.</p>
  <p>Drupal 7
  CiviCRM / 5.19.3</p>
  <p><strong>Update:</strong> Prompted by another answer I found here <a href="https://civicrm.stackexchange.com/a/29355/140">https://civicrm.stackexchange.com/a/29355/140</a>, I set directory 755 for /civicrm/packages/kcfinder in a Drupal 7 / CiviCRM 5.57.0 site and it appears to have done the job after I deleted the session cookie in my browser and then logged in again.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-04T00:52:18.873Z
Answers.LastActivityDate: 2023-02-02T19:57:42.920Z
Answers.LastEditDate: 2023-02-02T19:57:42.920Z
Answers.UserDisplayName: Andrew Wasson
Body: <p>This weekend I updated our test environment to CivCRM 5.10.0 running on Wordpress 5.0.3 and PHP 7.2.</p>
  
  <p>I now find that if I use the CKEditor in e.g. Message Templates and click the Image button in the toolbar, then click Browse Server, the popup window comes back completely blank. </p>
  
  <p>Likewise, if I try to upload a file, I get a popup saying "Incorrect Server Response" and the JS console shows</p>
  
  <p><code>ckeditor.js:19 [CKEDITOR] Error code: filetools-response-error. {responseText: ""}</code></p>
  
  <p>Similar errors I have found seem to suggest a file path or permissions error, but that they all seem to be correct as far as I can tell (and working fine on the production machine). PHP.ini memory limit is 2Gb, post_max_size is 1Gb and upload_max_filesize is 1Gb. I can't find any other errors being logged by the system. </p>
  
  <p>Any thoughts as to where I can look next?</p>
  
  <p>Steve</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-19T22:00:21.860Z
Comments.Text: I would also look at paths/permissions. I had a similar problem a while back but should not apply to the version you are using. See https://civicrm.stackexchange.com/questions/21019/adding-images-in-ckeditor/29355#29355
Comments.UserDisplayName: Mick Kahn
Tags: <ckeditor>
Title: Unable to upload or view files through the CKEditor
ThreadText: # Unable to upload or view files through the CKEditor
  
  (Asked by: username_0 on 2019-02-11)
  
  This weekend I updated our test environment to CivCRM 5.10.0 running on Wordpress 5.0.3 and PHP 7.2.
  
  I now find that if I use the CKEditor in e.g. Message Templates and click the Image button in the toolbar, then click Browse Server, the popup window comes back completely blank.
  
  Likewise, if I try to upload a file, I get a popup saying "Incorrect Server Response" and the JS console shows
  
  `ckeditor.js:19 [CKEDITOR] Error code: filetools-response-error. {responseText: ""}`
  
  Similar errors I have found seem to suggest a file path or permissions error, but that they all seem to be correct as far as I can tell (and working fine on the production machine). PHP.ini memory limit is 2Gb, post\_max\_size is 1Gb and upload\_max\_filesize is 1Gb. I can't find any other errors being logged by the system.
  
  Any thoughts as to where I can look next?
  
  Steve
  
  **Tags:** ckeditor
  
  > **Comments:**
  > **username_1**: I would also look at paths/permissions. I had a similar problem a while back but should not apply to the version you are using. See https://civicrm.stackexchange.com/questions/21019/adding-images-in-ckeditor/29355#29355  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_2 on 2019-04-19. Score: 2
  
  I'm not sure this is an answer to your question, since you seem to have a specific error. Nevertheless, we've had a similar problem and so it may be helpful to hear our solution: When the file browser gives a blank screen for our users, the problem seems to arise from slow internet connections causing some problems in the computer's DNS cache. If we clear the browser cache completely AND also the computer's DNS cache then it magically works again.
  
  This is for us in Civicrm 5.10 and Drupal 7 latest, so again, our situation may be different to yours. For instructions on clearing computer's DNS caches we used links like [this for mac](http://osxdaily.com/2017/12/18/reset-dns-cache-macos-high-sierra/) and [this for Windows 10](https://documentation.cpanel.net/display/CKB/How+To+Clear+Your+DNS+Cache#HowToClearYourDNSCache-Windows%C2%AE7).
  
  
  ---
  
  ### Answer by username_2 on 2023-02-03. Score: 1
  
  Yet another completely different approach to the above answers that has helped us, is to be aware of the number of files in the folder you are asking CKEditor's KCFinder to browse.
  
  We accumulate 1,000 images per year, and so when the popup has to show all these images it has to download thumbnails for them all. If a user has slow internet it's interminable. And sometimes seems to make the whole process balk.
  
  We've overcome this by making new folders for images every year. Eg ../images/emails-2022, ../images/events-2023, etc etc.
  
  Also, if you set your window to search a list rather than as thumbnails it dramatically speeds up the process if your folder has many images.
  
  We've also had to use all the methods above!
  
  
  ---
  
  ### Answer by username_3 on 2020-01-03. Score: 1
  
  There are a variety of reasons this can happen - but a good first step is to disable asset caching on **Administer menu » System Settings » Debug and Backtrace**. This only creates a modest performance hit, will often work around the problem immediately, and is an excellent troubleshooting step for finding the permanent solution.
  
  
  ---
  
  ### Answer by username_4 on 2019-12-04. Score: 1
  
  I too have struggled with this issue. For lack of a better term I've found that it's a corruption in the browser's cookie cache. If I open my developer tools and check my Application Storage and then clear my cookies for the site, after I re log-in to the site I am able to browse the server.
  
  Drupal 7
  CiviCRM / 5.19.3
  
  **Update:** Prompted by another answer I found here <https://civicrm.stackexchange.com/a/29355/140>, I set directory 755 for /civicrm/packages/kcfinder in a Drupal 7 / CiviCRM 5.57.0 site and it appears to have done the job after I deleted the session cookie in my browser and then logged in again.
  
  
  ---
  
  