Body: <p>I'm using CiviCRM 4.6.8 on Wordpress 4.3.1. When using composing an HTML message template, I am unable to upload images into the email, using KC finder. I get these warnings:</p>
  
  <blockquote>
    <p>Warning: Invalid argument supplied for foreach() in
    /home/mysite/public_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php
    on line 23</p>
    
    <p>Warning: Cannot modify header information - headers already sent by
    (output started at
    /home/mysite/public_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php:23) in
    /home/mysite/public_html/crm/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/class/browser.php
    on line 112</p>
    
    <p>Warning: Cannot modify header information - headers already sent by
    (output started at
    /home/mysite/public_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php:23) in
    /home/mysite/public_html/crm/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/class/browser.php
    on line 113</p>
  </blockquote>
  
  <p>Then when I try to upload an image, I browse for the image on my local machine and then it gives me this warning: </p>
  
  <blockquote>
    <p>Cannot write to upload folder.</p>
  </blockquote>
  
  <p>Where does Civi upload images by default?
  How can I resolve this issue?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-20T08:25:15.573Z
Comments.Text: I find this working on wp demo site wp46.demo.civicrm.org. Can you recheck if you have write permission set for the upload folder ?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-24T10:06:33.650Z
Comments.Text: Thanks, I can check the write permissions, but how do I know which is the upload folder?
Comments.UserDisplayName: Sudesh
Tags: <civimail>
Title: CiviMail - KC Finder Cannot Upload Images in CiviCRM 4.6.8
ThreadText: # CiviMail - KC Finder Cannot Upload Images in CiviCRM 4.6.8
  
  (Asked by: username_0 on 2015-10-17)
  
  I'm using CiviCRM 4.6.8 on Wordpress 4.3.1. When using composing an HTML message template, I am unable to upload images into the email, using KC finder. I get these warnings:
  
  > Warning: Invalid argument supplied for foreach() in
  > /home/mysite/public\_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php
  > on line 23
  >
  > Warning: Cannot modify header information - headers already sent by
  > (output started at
  > /home/mysite/public\_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php:23) in
  > /home/mysite/public\_html/crm/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/class/browser.php
  > on line 112
  >
  > Warning: Cannot modify header information - headers already sent by
  > (output started at
  > /home/mysite/public\_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php:23) in
  > /home/mysite/public\_html/crm/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/class/browser.php
  > on line 113
  
  Then when I try to upload an image, I browse for the image on my local machine and then it gives me this warning:
  
  > Cannot write to upload folder.
  
  Where does Civi upload images by default?
  How can I resolve this issue?
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: I find this working on wp demo site wp46.demo.civicrm.org. Can you recheck if you have write permission set for the upload folder ?  
  > **username_0**: Thanks, I can check the write permissions, but how do I know which is the upload folder?  
  
  ---
  
  ## 0 answers
  
  