Answers.Body: <p>I'm seeing your path has three <code>civicrm</code>s in it - that seems like it's not correct, normally there are two with Wordpress.</p>
  
  <p>Second - if you're using Ubuntu, there's really no need for XAMPP.  You can just install your LAMP stack using <code>apt-get</code> or <code>synaptic</code>.  This is much closer to the standard setup, and you're likely to find better assistance that way!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-03T15:14:27.433Z
Answers.Text: I used gitify to setup my environment, at what level am I supposed to run the gitify command, the first or second level of the civicrm directory after installatio ie /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/  or /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm  ?
Answers.UserDisplayName: Ayuk Etta
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-03T04:43:50.393Z
Answers.LastActivityDate: 2015-08-03T04:43:50.393Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I am new trying to setup my development environment with the build kit tool. I am using <a href="https://www.apachefriends.org/i" rel="nofollow">XAMPP</a> on Ubuntu 14.04 . I have problems with the <code>civibuild</code> command accessing my XAMPP MySQL via the command line to create the database so I have used the <code>gitify</code> command to set up, but when try to run <code>GenCode.php</code>, I get this error:</p>
  
  <blockquote>
    <p>civicrm_domain.version := 4.7.alpha1</p>
    
    <p>Parsing schema description schema/Schema.xml<br>
        Extracting database information<br>
        Extracting table information<br>
        PHP Fatal error:  Uncaught exception 'Exception' with message 'Failed to locate template for civicrm.config.php' in /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Config.php:34<br>
        Stack trace:<br>
        #0 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Config.php(10): CRM_Core_CodeGen_Config->setupCms()<br>
        #1 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Main.php(115): CRM_Core_CodeGen_Config->run()<br>
        #2 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Main.php(100): CRM_Core_CodeGen_Main->runAllTasks()<br>
        #3 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/xml/GenCode.php(38): CRM_Core_CodeGen_Main->main()<br>
        #4 {main}
          thrown in /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Config.php on line 34  </p>
  </blockquote>
  
  <p>What could be the problem?</p>
  
Tags: <wordpress><developer>
Title: "Failed to locate template" error when building development environment
ThreadText: # "Failed to locate template" error when building development environment
  
  (Asked by: username_0 on 2015-07-31)
  
  I am new trying to setup my development environment with the build kit tool. I am using [XAMPP](https://www.apachefriends.org/i) on Ubuntu 14.04 . I have problems with the `civibuild` command accessing my XAMPP MySQL via the command line to create the database so I have used the `gitify` command to set up, but when try to run `GenCode.php`, I get this error:
  
  > civicrm\_domain.version := 4.7.alpha1
  >
  > Parsing schema description schema/Schema.xml  
  > Extracting database information  
  > Extracting table information  
  > PHP Fatal error: Uncaught exception 'Exception' with message 'Failed to locate template for civicrm.config.php' in /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Config.php:34  
  > Stack trace:  
  > #0 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Config.php(10): CRM\_Core\_CodeGen\_Config->setupCms()  
  > #1 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Main.php(115): CRM\_Core\_CodeGen\_Config->run()  
  > #2 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Main.php(100): CRM\_Core\_CodeGen\_Main->runAllTasks()  
  > #3 /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/xml/GenCode.php(38): CRM\_Core\_CodeGen\_Main->main()  
  > #4 {main}
  > thrown in /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm/civicrm/CRM/Core/CodeGen/Config.php on line 34
  
  What could be the problem?
  
  **Tags:** wordpress, developer
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-03. Score: 1
  
  I'm seeing your path has three `civicrm`s in it - that seems like it's not correct, normally there are two with Wordpress.
  
  Second - if you're using Ubuntu, there's really no need for XAMPP. You can just install your LAMP stack using `apt-get` or `synaptic`. This is much closer to the standard setup, and you're likely to find better assistance that way!
  
  > **Comments:**
  > **username_0**: I used gitify to setup my environment, at what level am I supposed to run the gitify command, the first or second level of the civicrm directory after installatio ie /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/  or /opt/lampp/htdocs/civisocialdev/wp-content/plugins/civicrm/civicrm  ?  
  
  ---
  
  