CiviCRM is finally installing without any errors and all the files from other open source packages are being recreated in the right place. But as soon as you load the CiviCRM dashboard, clicking on any of the CiviCRM links results in this error...
Oops! CiviCRM is Already Installed
CiviCRM has already been installed in this Drupal site.
To start over, you must delete or rename the existing CiviCRM settings file - civicrm.settings.php - from [your Drupal root directory]/sites/default.
To upgrade an existing installation, refer to the online http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades.
The URL is /profiles/cm_starterkit_moderate/modules/civicrm//install/index.php/civicrm/admin/domain?action=update&reset=1&civicrmDestination=%2Fprofiles%2Fcm_starterkit_moderate%2Fmodules%2Fcivicrm%2F%2Finstall%2Findex.php%2Fcivicrm%2Fdashboard%3Freset%3D1
Might be related to #1830416: CiviCRM Install link does not work if in folder
Comments
Comment #1
kreynen commentedComment #2
kreynen commentedThis is actually an easy manual fix. For some reason, the CIVICRM_UF_BASEURL is wrong in the civicrm.settings.php file...
Should be...
Once that is changed, everything works as expected. Would be nice to get this right on install.
Comment #3
coderdan commented@kreynen -
The root of this problem appears to stem from the fact that the link to install CiviCRM on the Drupal requirement check page has an extra "/" in the URL. For instance during my tests the URL was (cm_starterkit_moderate via drush make):
Modifying the civicrm.install file, line 65, I changed this:
$url = $base_url . '/' . $civicrm_path . '/install/index.php';to this:
$url = $base_url . '/' . $civicrm_path . 'install/index.php';This seems to solve the issue writing the correct 'CIVICRM_UF_BASEURL' value in civicrm.settings.php. I attempted a patch. Please let me know if you find any issues.
Comment #4
coderdan commentedComment #5
kreynen commentedThis patch worked for me. I will commit this along with a few version updates and jquery tweaks today.
Comment #6
kreynen commentedclosing old issues