Answers.Body: <p>CiviCRM Starterkit is installed as a Drupal installation profile, so it's got the civicrm module directory inside /profiles/civicrm_starterkit/modules rather than /sites/all/modules.  CiviCRM is assuming that you can go up two levels from the folder where it's currently running and then over to the <code>default</code> folder to find civicrm.settings.php.  That's not the case here.</p>
  
  <p>A couple of things to do, then:</p>
  
  <ol>
  <li><p>To deal with this in the short run, you might copy your settings file into code/profiles/default as a short-term hack.</p></li>
  <li><p>File a bug report because obviously something's making an inaccurate assumption.</p></li>
  <li><p>Consider whether using Pantheon and civicrm-starterkit is giving you any benefit.  Just because something <em>can</em> work doesn't mean it's worth the extra effort dealing with a quirky host and an unmaintained distribution.</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T22:09:50.593Z
Answers.Text: Oh, and for my real opinions about Pantheon, see http://civicrm.stackexchange.com/a/4467/44
Answers.UserDisplayName: Andie Hunt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-16T07:05:43.280Z
Answers.Text: Hey @Andrew Hunt. I pasted a copy of civicrm.settings.php in a defaut folde in civicrm_starterkit directory. The same message seems to show up.
Answers.UserDisplayName: Yossi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-16T11:03:18.820Z
Answers.Text: Another option is that you could create a settings_location.php file and set  the variable CIVICRM_CONFDIR , this can specify where your civicrm.settings.php is
Answers.UserDisplayName: Seamus Lee
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-16T12:05:03.367Z
Answers.Text: Sorry, I think i got tripped up on relative paths, and it should be code/profiles/default (corresponding to sites/default when you're in sites/all/modules). Edited the answer above.
Answers.UserDisplayName: Andie Hunt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T22:08:53.467Z
Answers.LastActivityDate: 2015-08-16T12:03:23.180Z
Answers.LastEditDate: 2015-08-16T12:03:23.180Z
Answers.UserDisplayName: Andie Hunt
Answers.Body: <p>I had this same error message pop up while trying to run the scheduled jobs via url. Si I dug a little deeper and I was able to fix this by adding the custom code from the civicrm starterkit which is in these files:</p>
  
  <p>Config.civicrm.php
  session.php
  Drupal.php</p>
  
  <p>It's a little lengthy to describe each edit but if you download the starte
  rkit and a regular version of civicrm 4.4.7 you can vimdiff those files I mentioned and paste the custom starterkit code in your civicrm files it should work. 
  A little messy but it did the trick</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-31T07:06:48.470Z
Answers.LastActivityDate: 2015-08-31T07:06:48.470Z
Answers.UserDisplayName: Yossi
Body: <p>I get this error when I try to upload an image in the email wysiwyg...</p>
  
  <p>Could not load the settings file at: /srv/bindings/34923847/code/profiles/civicrm_starterkit/modules/civicrm/../..//default/civicrm.settings.php</p>
  
  <p>I have no problem uploading images for contacts.
  All my directories and resource urls seem to be good. 
  I'm running civicrm 4.6.5 on D7. 
  I started having this problem once I upgraded from civicrm 4.4.7 to 4.6</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T20:49:38.220Z
Comments.Text: Is your site under /sites/default or a specific folder like /sites/mysite.org?
Comments.UserDisplayName: Nicholai
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T20:51:15.820Z
Comments.Text: No. I don't quite see how that would work though... mysite.org/sites/default ... is what i have.
Comments.UserDisplayName: Yossi
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T21:01:38.087Z
Comments.Text: if you go into a terminal session and run `nano /srv/bindings/34923847/code/profiles/civicrm_starterkit/modules/civicrm/../..//default/civicrm.settings.php` does it open the file? Just trying to narrow down potential causes.
Comments.UserDisplayName: Nicholai
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T21:08:01.950Z
Comments.Text: Thank you. It does open but it seems empty though. I don't see text.
Comments.UserDisplayName: Yossi
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T21:18:47.600Z
Comments.Text: So the exact steps are: click Image icon, click Upload tab, click Choose file and select an image, click "Send it to the server" button, receive error immediately upon clicking that button?
Comments.UserDisplayName: Nicholai
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T21:20:49.603Z
Comments.Text: correct. If I click on image info > browse server, I get the same message
Comments.UserDisplayName: Yossi
Tags: <civimail><drupal><wysiwyg><ckeditor><pantheon>
Title: Error uploading an image in email wysiwyg
ThreadText: # Error uploading an image in email wysiwyg
  
  (Asked by: username_0 on 2015-08-14)
  
  I get this error when I try to upload an image in the email wysiwyg...
  
  Could not load the settings file at: /srv/bindings/34923847/code/profiles/civicrm\_starterkit/modules/civicrm/../..//default/civicrm.settings.php
  
  I have no problem uploading images for contacts.
  All my directories and resource urls seem to be good.
  I'm running civicrm 4.6.5 on D7.
  I started having this problem once I upgraded from civicrm 4.4.7 to 4.6
  
  **Tags:** civimail, drupal, wysiwyg, ckeditor, pantheon
  
  > **Comments:**
  > **username_1**: Is your site under /sites/default or a specific folder like /sites/mysite.org?  
  > **username_0**: No. I don't quite see how that would work though... mysite.org/sites/default ... is what i have.  
  > **username_1**: if you go into a terminal session and run `nano /srv/bindings/34923847/code/profiles/civicrm_starterkit/modules/civicrm/../..//default/civicrm.settings.php` does it open the file? Just trying to narrow down potential causes.  
  > **username_0**: Thank you. It does open but it seems empty though. I don't see text.  
  > **username_1**: So the exact steps are: click Image icon, click Upload tab, click Choose file and select an image, click "Send it to the server" button, receive error immediately upon clicking that button?  
  > **username_0**: correct. If I click on image info > browse server, I get the same message  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-08-14. Score: 2
  
  CiviCRM Starterkit is installed as a Drupal installation profile, so it's got the civicrm module directory inside /profiles/civicrm\_starterkit/modules rather than /sites/all/modules. CiviCRM is assuming that you can go up two levels from the folder where it's currently running and then over to the `default` folder to find civicrm.settings.php. That's not the case here.
  
  A couple of things to do, then:
  
  1. To deal with this in the short run, you might copy your settings file into code/profiles/default as a short-term hack.
  2. File a bug report because obviously something's making an inaccurate assumption.
  3. Consider whether using Pantheon and civicrm-starterkit is giving you any benefit. Just because something *can* work doesn't mean it's worth the extra effort dealing with a quirky host and an unmaintained distribution.
  
  > **Comments:**
  > **username_2**: Oh, and for my real opinions about Pantheon, see http://civicrm.stackexchange.com/a/4467/44  
  > **username_0**: Hey @Andrew Hunt. I pasted a copy of civicrm.settings.php in a defaut folde in civicrm_starterkit directory. The same message seems to show up.  
  > **username_3**: Another option is that you could create a settings_location.php file and set  the variable CIVICRM_CONFDIR , this can specify where your civicrm.settings.php is  
  > **username_2**: Sorry, I think i got tripped up on relative paths, and it should be code/profiles/default (corresponding to sites/default when you're in sites/all/modules). Edited the answer above.  
  
  ---
  
  ### Answer by username_0 on 2015-08-31. Score: 0
  
  I had this same error message pop up while trying to run the scheduled jobs via url. Si I dug a little deeper and I was able to fix this by adding the custom code from the civicrm starterkit which is in these files:
  
  Config.civicrm.php
  session.php
  Drupal.php
  
  It's a little lengthy to describe each edit but if you download the starte
  rkit and a regular version of civicrm 4.4.7 you can vimdiff those files I mentioned and paste the custom starterkit code in your civicrm files it should work.
  A little messy but it did the trick
  
  
  ---
  
  