civicrm / civicrm-setup

MIT License
7 stars 5 forks source link

Adapt Drupal and Backdrop Web UI #3

Open totten opened 6 years ago

totten commented 6 years ago

The CLI-based install works on Drupal/Backdrop, but the web-based doesn't.

Why: The old civicrm/install (on Drupal/Backdrop) follows a slightly different protocol than civicrm-setup. Compare these protocols:

civicrm-setup is closer to the WP protocol for two reasons: (1) it's better -- it reduces our responsibility for bootstrap and ensures that all CMS services are available throughout installation and (2) it's convenient -- our initial go-live scenario was for WP.

How:

civicrm.module needs to fail more gracefully. In particular: if you activate civicrm.module without a pre-existing civicrm.settings.php or civicrm_*, the site should still work, and it should display a status message with a link to the install screen.

At time of writing, my local D7 build produces random errors if you activate civicrm.module without having a civicrm.settings.php file.