Answers.Body: <p>When setting up a new environment, sometimes Apache's mod_rewrite is disabled. This breaks in Drupal -- creating a symptom where the home page opens, but logins do nothing. Try enabling mod_rewrite.</p>
  
  <p>I've filed an issue about this: <a href="https://github.com/totten/amp/issues/23" rel="nofollow">https://github.com/totten/amp/issues/23</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-28T16:43:55.477Z
Answers.LastActivityDate: 2015-04-28T16:43:55.477Z
Answers.UserDisplayName: Tim Otten
Body: <p>This is how I created my site</p>
  
  <pre><code>civibuild create demo8 \
   --type drupal-clean \
   --web-root /sites/demo8 \
   --title demo8 \
   --url http://demo8.roiaws.com \
   --admin-user admin --admin-pass 12345
  </code></pre>
  
  <p>and this is what I get after I try to log on using admin/12345 or demo/demo (in short - it doesn't login):</p>
  
  <p><img src="https://i.sstatic.net/IXkCl.jpg" alt="enter image description here">
  Additional info: when looking for problems in the civibuild output, this is the only interesting thing I saw:</p>
  
  <pre><code>+ pushd /sites/demo8/sites/all/modules/civicrm/./bin/..
  /sites/demo8/sites/all/modules/civicrm /sites/demo8/sites/all/modules/civicrm
  + php bin/cli.php -e System -a flush --triggers 1 --session 1
  Failed to bootstrap CMS
  Died during initialization+ mysql -udemo8civi_k31lr -poNammLP06izIxkcx -h 127.0.0.1 -P 3306 demo8civi_k31lr -e 'UPDATE civicrm_domain SET config_backend = NULL; UPDATE civicrm_setting SET value = NULL WHERE name = '\''userFrameworkResourceURL'\'';'
  + popd
  </code></pre>
  
Tags: <drupal><drupal-7>
Title: can't log into a site build using civibuild
ThreadText: # can't log into a site build using civibuild
  
  (Asked by: username_0 on 2015-04-28)
  
  This is how I created my site
  civibuild create demo8 \
   --type drupal-clean \
   --web-root /sites/demo8 \
   --title demo8 \
   --url http://demo8.username_0aws.com \
   --admin-user admin --admin-pass 12345
  
  and this is what I get after I try to log on using admin/12345 or demo/demo (in short - it doesn't login):
  
  Additional info: when looking for problems in the civibuild output, this is the only interesting thing I saw:
  + pushd /sites/demo8/sites/all/modules/civicrm/./bin/..
  /sites/demo8/sites/all/modules/civicrm /sites/demo8/sites/all/modules/civicrm
  + php bin/cli.php -e System -a flush --triggers 1 --session 1
  Failed to bootstrap CMS
  Died during initialization+ mysql -udemo8civi_k31lr -poNammLP06izIxkcx -h 127.0.0.1 -P 3306 demo8civi_k31lr -e 'UPDATE civicrm_domain SET config_backend = NULL; UPDATE civicrm_setting SET value = NULL WHERE name = '\''userFrameworkResourceURL'\'';'
  + popd
  
  **Tags:** drupal, drupal-7
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-04-28. Score: 3 | Accepted answer
  
  When setting up a new environment, sometimes Apache's mod\_rewrite is disabled. This breaks in Drupal -- creating a symptom where the home page opens, but logins do nothing. Try enabling mod\_rewrite.
  
  I've filed an issue about this: <https://github.com/totten/amp/issues/23>
  
  
  ---
  
  