Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If installing CiviCRM from the install link on the profile page it goes to the correct page but disregards the folder that my install is in.
For example
something.com works
something.com/foo/ does not work
Comment | File | Size | Author |
---|---|---|---|
#10 | 1830416-sub-folder-support-4.patch | 435 bytes | kreynen |
#7 | 1830416-sub-folder-support-3.patch | 1021 bytes | kreynen |
#6 | 1830416-sub-folder-support.patch | 1022 bytes | kreynen |
#2 | 1830416-sub-folder-support.patch | 1.06 KB | kreynen |
Comments
Comment #1
skesslerI am not sure how to fix this but it appears the problem is in
modules/civicrm/drupal/civicrm.install
on line 64
-Steve
Comment #2
kreynen CreditAttribution: kreynen commentedFirst attempt at a patch. Because this is in the CiviCRM project, the final fix will need need to happen there. This patch works but could be tighter.
Comment #3
kreynen CreditAttribution: kreynen commentedIssue posted to CiviCRM project http://issues.civicrm.org/jira/browse/CRM-11216
Because the code change has to happen on the CiviCRM side, future updates about the patch should be tracked there. Until this makes it into a CiviCRM release, I will add the patch the next release of this kit and http://drupal.org/project/civicrm_starterkit.
Comment #4
skesslerThe patch works.
Comment #5
kreynen CreditAttribution: kreynen commentedhttp://drupalcode.org/project/cm_starterkit_moderate.git/commit/ad68752
Comment #6
kreynen CreditAttribution: kreynen commentedupdated patch to be relative to root civicrm dir.
Comment #7
kreynen CreditAttribution: kreynen commentedUpdating this patch to resolve #1835514: Issue with CiviCRM paths after install
Comment #9
kreynen CreditAttribution: kreynen commentedReopening for 4.3. While 4.3's install.php includes most of these changes, it still has the extra / @coderdan found to be an issue. Opened the issue in Jira...
http://issues.civicrm.org/jira/browse/CRM-12097
Going to update the patch until this is fixed.
Comment #10
kreynen CreditAttribution: kreynen commentedComment #11
kreynen CreditAttribution: kreynen commented