Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kreynen’s picture

kreynen’s picture

changes default extensions dir to sites/all/extensions

kreynen’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kreynen’s picture

Component: Code » Installing
FileSize
3.59 KB
kreynen’s picture

Status: Closed (fixed) » Needs review
FileSize
3.58 KB
nubeli’s picture

Updated patch for CiviCRM 4.6 (works with Kalabox now and includes settings for Redis).

nubeli’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

nubeli’s picture

I updated the settings file slightly but you will need to manually update your file directory if you're also updating your settings file:

1. Have a fallback site URL if the Drupal global $base_url doesn't exist (happens when using CiviMail, cron, IPN and so on):

At line 103 change

define( 'CIVICRM_UF_BASEURL', $base_url . '/');

to

    if (!empty($base_url)) {
      define( 'CIVICRM_UF_BASEURL'      , $base_url . '/');
    } else {
      define( 'CIVICRM_UF_BASEURL'      , 'http://YOURWEBSITE.COM/');
    }

Make sure http://YOURWEBSITE.COM/ is your actual live website with a slash at the end. (And use https if you've got it!)

2. Image uploads don't need to be in the private folder. WARNING: you will need to move any image files you've got on your site from sites/default/files/private/civicrm/persist/contribute/ to sites/default/files/civicrm/persist/contribute/.

If you have path for imageUploadDir change it so it looks like:

$civicrm_setting['Directory Preferences']['imageUploadDir'] = '/srv/bindings/' . $binding . '/files/civicrm/persist/contribute/';