I'm attempting to install CiviCRM 4.6.19 in order to perform a migration and am completely stumped on something. This is going into a Drupal 7 site and the entire thing is being put together with Drush make.

I am attempting to load the installer at /sites/all/modules/civicrm/install/index.php, which throws an error back at me - Fatal error: require_once(): Failed opening required 'Log.php' from path/to/civicrm/CRM/Core/Config.php on line 39, which brings me to here - https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Core/Config.php#L39

As you can see from the rest of that directory there is no Log.php or Mail.php. I have been trying to figure out for the last two days is something is wrong with an autoloader somewhere, and those files should already have been loaded somehow, but I am wondering if anyone knows what the heck is going on.

Many thanks in advance.

  • I think the Log file should be in your packages directory - if you installed from git or similar it might be missing. (I am pretty out of the loop on anything related to 4.6 though as I haven't used that version for years) – user4278 May 9 '18 at 21:58

@jGrubb a number of files like Log.php and Mail.php will be from the civicrm-packages repo. This is a repo of 3rd party Packages which civicrm needs to work with. https://github.com/civicrm/civicrm-packages/tree/4.6

  • Thank you Seamus. I'm guessing I need to clone this repo into $pkgPath? Do the version tags track the civi-core version as well (ie, should I target the 4.6.19 release for the packages?) – JGrubb May 9 '18 at 22:18
  • 1
    @jgrubb Unless there's an excellent reason I would install CiviCRM from the tarball. Installing from git is non-trivial, especially if you don't want to set up civicrm-buildkit. – Jon G - Megaphone Tech May 10 '18 at 0:06
  • I agree with Jon here but also @JGrubb yes the tags are the same, however if you do go down the path you are going you will need to make sure the server has a) composer and b) bower install (bower is installed using npm) then run composer install and bower install within the civicrm folder. Packages should download in to civicrm folder/packages – Seamus Lee May 10 '18 at 0:41
  • Thanks both. I'd prefer to go whichever route is easiest/recommended. Safe to assume that you are you referring to this tarball? github.com/civicrm/civicrm-core/releases/tag/4.6.19 (The filesystem looks the same at a glance) – JGrubb May 10 '18 at 16:10
  • I missed my edit window, but it looks like Sourceforge would be the place for the fully integrated D7 builds (yes?). Thank you both for the pointers. – JGrubb May 10 '18 at 16:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.