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) »
  • Installing development copy on Mac OS
Pages: [1]

Author Topic: Installing development copy on Mac OS  (Read 2539 times)

rajendra

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Installing development copy on Mac OS
November 01, 2007, 03:08:06 pm
oh CiviGurus,

i've had civicrm/drupal running on a shared host (linux) for about 2 years. now i'm trying to set up a development copy of the site on my macbook (Mac OS 10.4). so i've downloaded all the files and databases and intalled them locally. durpal is working fine, but when i enable civicrm i get the error below.

at first i had the $civicrm_root set to the wrong path. civicrm is at least working well enough to give me an error telling me that $civicrm_root is set to the wrong path. this error is given within the drupal framework; that is, within the context of my layout template. but as soon as i set $civicrm_root to the correct page i just get a page with nothing but the error below, no mater which page i attempt navigate to.

Quote
Sorry. A non-recoverable error has occurred.

Please review the CiviCRM Installation Guide and try searching the CiviCRM Mailing List Archives for information on the error below.

Error Details:

[db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::handle prefix="" info=" [DB Error: connect failed]"]

thanks for any insight on this issue.

r

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Installing development copy on Mac OS
November 01, 2007, 09:55:47 pm
Can you recheck your CiviCRM DSN. Make sure you have specified correct details.

kurund
Found this reply helpful? Support CiviCRM

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Installing development copy on Mac OS
November 02, 2007, 01:55:31 am
The new automated installer (for Drupal) has pretty good guidance on fixing things like this. I recommend it highly.
http://wiki.civicrm.org/confluence/display/CRMDOC/Automated+Installer+for+Drupal
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

rajendra

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Installing development copy on Mac OS
November 02, 2007, 02:03:22 am
Quote from: Kurund Jalmi on November 01, 2007, 09:55:47 pm
Can you recheck your CiviCRM DSN. Make sure you have specified correct details.

kurund

i've double check CIVICRM_DSN in my civicrm.settings.php setting file. it's definitely the correct username/password for my local copy of the database.

rajendra

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Installing development copy on Mac OS
November 02, 2007, 02:10:14 am
Quote from: geilhufe on November 02, 2007, 01:55:31 am
The new automated installer (for Drupal) has pretty good guidance on fixing things like this. I recommend it highly.
http://wiki.civicrm.org/confluence/display/CRMDOC/Automated+Installer+for+Drupal

the installer looks like it would be very helpful for a new install. but it doesn't seem like it can help with replicating a copy of an already existing site on another server (which is what i'm trying to set up). the site is already running on drupal 5.3 and civicrm 1.9.

roni

  • Guest
Re: Installing development copy on Mac OS
November 05, 2007, 08:48:42 am
I am also trying to install civicrm 1.9 with drupal 5.3 on my macbook, with MAMP, but haven't gotten as far as you.

What did you use for $civicrm_root? I am using
/users/me/documents/my-dir/drupal/sites/all/modules/civicrm/

But I get the white screen when civicrm is enabled.

Thanks.

rajendra

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Installing development copy on Mac OS
November 05, 2007, 11:22:23 am
Quote from: roni on November 05, 2007, 08:48:42 am
I am also trying to install civicrm 1.9 with drupal 5.3 on my macbook, with MAMP, but haven't gotten as far as you.

What did you use for $civicrm_root? I am using
/users/me/documents/my-dir/drupal/sites/all/modules/civicrm/

But I get the white screen when civicrm is enabled.

i'm not familiar with MAMP. but, using the default install of Apache on os x this was is where civicrm should be living:

/Library/WebServer/Documents/modules/civicrm/

or if you want it in your user directory it would be

/Users/your-user-name/Sites/modules/civicrm/

both these paths assume your drupal install is not in a subdirectory under Documents or Sites.

hope that helps.


roni

  • Guest
Re: Installing development copy on Mac OS
November 14, 2007, 06:01:23 am
Thanks. It turned out that I needed to increase the memory in php.ini.

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

This forum was archived on 2017-11-26.