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) »
  • civicrm_root problem
Pages: [1]

Author Topic: civicrm_root problem  (Read 1253 times)

jerrygarciuh

  • Guest
civicrm_root problem
August 11, 2009, 06:07:31 pm
Hello,

I just inherited a Drupal/CiviCRM site on a disc.  Developers have been fired by owner.

I updated the paths for $drupal_root and $civicrm_root in files including

/sites/default/settings.php
/sites/default/civicrm.settings.php
/sites/default/civicrm.settings.staging.php
/sites/default/civicrm.settings.release.php

I continue to get the error message:

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: /Library/WebServer/nola/drupal/sites/all/modules/civicrm.

It is seeing the old path...

I have verified via grep that the string "Library/WebServer" is no longer in any file on the server other than /sites/default/files/civicrm/upload/CivicCRM.log  I have checked civicrm.settings.php a dozen times both locally and in vi on the server.

I have also verified the local files do not have that string.

I saw that the single record in the `civicrm_domain` database table had references to the old path so I updated those.  The SQL file I rolled in had no other references to the old path.

In the drupal tables there are hundreds of references to the old path in the `sessions` and `watchdog` tables.  I have left these as is for now.

So what am I missing?  Where is this erroneous path information coming from?

I would be very much obliged if anyone can advise me on this.

TIA

David

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: civicrm_root problem
August 11, 2009, 06:44:18 pm

check:

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

follow all the steps in that document carefully :)

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

jerrygarciuh

  • Guest
Re: civicrm_root problem
August 12, 2009, 03:03:03 pm
Thanks Lobo!

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

This forum was archived on 2017-11-26.