Answers.Body: <p>In looking at this further, it appears on any external call or via cron, in version 4.7.0 CiviCRM looked for the settings file ONLY in the directory wp-content/plugins/civicrm if the CMS was WordPress.   </p>
  
  <p>In 4.7.1, this was changed to look in both '/<em>/uploads/civicrm' and '/</em>/plugins/civicrm'</p>
  
  <p>Therefore on 4.7.0 with the civicrm.settings.php file in wp-content/uploads/civicrm you could get the failure on cron that you describe.  </p>
  
  <p>I would try updating to CiviCRM 4.7.1</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-09T17:28:40.960Z
Answers.Text: Thanks again Kevin.  Your comments match my findings.  Unfortunately the upgrade instructions say to back up your settings file, so I had to find it and solve this first.  Glad to hear that it has been fixed in 4.7.1.  Now if only I can find a way to get the official documentation updated to list both locations it will save someone else this confusion...I'll keep looking into how to do that.
Answers.UserDisplayName: Stephen Wilkey
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-09T17:59:26.047Z
Answers.Text: Can you share the link to that documentation and I'll update (or get it updated if I cannot)
Answers.UserDisplayName: Kevin Cristiano
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-10T04:08:00.280Z
Answers.Text: Hi Kevin, I'm sorry, I keep upvoting your answer but it says I can't as I don't have enough reputation yet as I'm too new here.
  
  the link is https://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CIVICRM+for+Wordpress and the section is 6. Locate and backup the civicrm settings file
Answers.UserDisplayName: Stephen Wilkey
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-10T23:02:10.283Z
Answers.Text: Stephen, I updated the docs.  There is also another wiki page https://wiki.civicrm.org/confluence/display/CRMDOC/CMS+Standard+Directories+and+File+locations now.
Answers.UserDisplayName: Kevin Cristiano
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-09T04:20:15.270Z
Answers.LastActivityDate: 2016-02-09T04:20:15.270Z
Answers.UserDisplayName: Kevin Cristiano
Body: <p>Using civicrm 4.7.0 on the latest wordpress.
  could not setup cron to run scheduled jobs because the settings file is missing.  did a fresh install of wordpress in a different path on the server and a fresh install of civicrm to try to see if it would create a settings file after the installation steps were complete.  it did not.</p>
  
  <p>so i took the settings template file and created a settings file from that by hand, then with that in place it is possible to setup cron for scheduled jobs.</p>
  
  <p>now, when i go to the civicrm dashboard nothing is displayed and the civicrm menubar in wordpress is missing.  i can make it work again by deleting my settings file but then cron doesn't work.</p>
  
  <p>do you have any suggestions what in settings would cause civicrm not to work but cron to work?  thanks in advance.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-09T01:27:06.893Z
Comments.Text: Which method of running cron are you using?   wp-cli, php or url method?   The doc on this is here:  https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs   I do recommend the wp-cli method if you have it as that is the most reliable.
Comments.UserDisplayName: Kevin Cristiano
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-09T03:17:41.273Z
Comments.Text: Thanks for your thoughts, I've been using the php method to run all scripts at 15minute intervals.  If I use the wp-cli method can I delete the settings file or is it still needed?
Comments.UserDisplayName: Stephen Wilkey
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-09T03:58:29.577Z
Comments.Text: On a fresh install of CiviCRM 4.7.x the civicrm.settings.php file is placed in {wp-content}/uploads/civicrm   you'll need that file to run CiviCRM.   It will also look in wp-content/plugins/civicrm (for upgraded sites).  You should only need one copy of the settings file.
Comments.UserDisplayName: Kevin Cristiano
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-09T16:48:09.813Z
Comments.Text: Thanks so much Kevin!  Your information is completely different to the documentation that assures me that it will always be in wp-content/plugins/civicrm, but you are completely correct.  So it seems that cron doesn't look in the {wp-content}/uploads/civicrm folder and only looks in the wp-content/plugins/civicrm folder, so copying the file from the location you suggested to the location the documentation identifies fixes cron and keeps the site working! thank you.  now if only I could find a way to submit this as a correction to the documentation...
Comments.UserDisplayName: Stephen Wilkey
Tags: <settings><cron>
Title: Install problem civicrm with wordpress
ThreadText: # Install problem civicrm with wordpress
  
  (Asked by: username_0 on 2016-02-08)
  
  Using civicrm 4.7.0 on the latest wordpress.
  could not setup cron to run scheduled jobs because the settings file is missing. did a fresh install of wordpress in a different path on the server and a fresh install of civicrm to try to see if it would create a settings file after the installation steps were complete. it did not.
  
  so i took the settings template file and created a settings file from that by hand, then with that in place it is possible to setup cron for scheduled jobs.
  
  now, when i go to the civicrm dashboard nothing is displayed and the civicrm menubar in wordpress is missing. i can make it work again by deleting my settings file but then cron doesn't work.
  
  do you have any suggestions what in settings would cause civicrm not to work but cron to work? thanks in advance.
  
  **Tags:** settings, cron
  
  > **Comments:**
  > **username_1**: Which method of running cron are you using?   wp-cli, php or url method?   The doc on this is here:  https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs   I do recommend the wp-cli method if you have it as that is the most reliable.  
  > **username_0**: Thanks for your thoughts, I've been using the php method to run all scripts at 15minute intervals.  If I use the wp-cli method can I delete the settings file or is it still needed?  
  > **username_1**: On a fresh install of CiviCRM 4.7.x the civicrm.settings.php file is placed in {wp-content}/uploads/civicrm   you'll need that file to run CiviCRM.   It will also look in wp-content/plugins/civicrm (for upgraded sites).  You should only need one copy of the settings file.  
  > **username_0**: Thanks so much Kevin!  Your information is completely different to the documentation that assures me that it will always be in wp-content/plugins/civicrm, but you are completely correct.  So it seems that cron doesn't look in the {wp-content}/uploads/civicrm folder and only looks in the wp-content/plugins/civicrm folder, so copying the file from the location you suggested to the location the documentation identifies fixes cron and keeps the site working! thank you.  now if only I could find a way to submit this as a correction to the documentation...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-02-09. Score: 0 | Accepted answer
  
  In looking at this further, it appears on any external call or via cron, in version 4.7.0 CiviCRM looked for the settings file ONLY in the directory wp-content/plugins/civicrm if the CMS was WordPress.
  
  In 4.7.1, this was changed to look in both '/*/uploads/civicrm' and '/*/plugins/civicrm'
  
  Therefore on 4.7.0 with the civicrm.settings.php file in wp-content/uploads/civicrm you could get the failure on cron that you describe.
  
  I would try updating to CiviCRM 4.7.1
  
  > **Comments:**
  > **username_0**: Thanks again Kevin.  Your comments match my findings.  Unfortunately the upgrade instructions say to back up your settings file, so I had to find it and solve this first.  Glad to hear that it has been fixed in 4.7.1.  Now if only I can find a way to get the official documentation updated to list both locations it will save someone else this confusion...I'll keep looking into how to do that.  
  > **username_1**: Can you share the link to that documentation and I'll update (or get it updated if I cannot)  
  > **username_0**: Hi Kevin, I'm sorry, I keep upvoting your answer but it says I can't as I don't have enough reputation yet as I'm too new here.  the link is https://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CIVICRM+for+Wordpress and the section is 6. Locate and backup the civicrm settings file  
  > **username_1**: Stephen, I updated the docs.  There is also another wiki page https://wiki.civicrm.org/confluence/display/CRMDOC/CMS+Standard+Directories+and+File+locations now.  
  
  ---
  
  