CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Install from SVN copy
Pages: [1]

Author Topic: Install from SVN copy  (Read 909 times)

jbroccoli

  • Guest
Install from SVN copy
October 14, 2009, 10:55:24 am
Hello,

I'm attempting to work on a Drupal site with a colleague and we're using SVN to keep our versions straight.  We've hit a problem with $civicrm_root in the civicrm.settings.php file.
She is the one who did the initial install and $civicrm_root= 'C:/wamp/www/..." for her Windows setup.  However, I'm getting errors on my install because 'C:/wamp/...' obviously does not work on a MAC.  Instead, I have the CiviCRM module installed at Users/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm
I've played around with multiple variations to get $civicrm_root to point to the right place, including adding slashes before and after the address, and I still get the error:

    * warning: include_once(CRM/Core/Config.php) [function.include-once]: failed to open stream: No such file or directory in Users/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm/drupal/civicrm.module on line 250.
    * warning: include_once() [function.include]: Failed opening 'CRM/Core/Config.php' for inclusion (include_path='.:Users/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm/:/jUsers/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm//packages:.:/Applications/MAMP/bin/php5/lib/php') in /Users/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm/drupal/civicrm.module on line 250.

Oops! - The path for including CiviCRM code files is not set properly. Most likely there is an error in the civicrm_root setting in your CiviCRM settings file (sites/default/civicrm.settings.php).

» civicrm_root is currently set to: Users/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm/.

Please review the Drupal Installation Guide and the Trouble-shooting page for assistance. If you still need help installing, you can often find solutions to your issue by searching for the error message in the installation support section of the community forum.

Does anyone else know how best to specify my directory to make this error go away?

Thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Install from SVN copy
October 14, 2009, 08:14:28 pm

try setting it to:

/Users/[Mac username]/Sites/[site_name]/sites/all/modules/civicrm/

note the / before Users

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Install from SVN copy

This forum was archived on 2017-11-26.