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) »
  • Is this a civicrm_root error, or permissions? Ready to throw in the towel...
Pages: [1]

Author Topic: Is this a civicrm_root error, or permissions? Ready to throw in the towel...  (Read 1524 times)

nihow

  • Guest
Is this a civicrm_root error, or permissions? Ready to throw in the towel...
April 23, 2009, 04:33:31 am
I've moved from my prod server to a live site. I'm getting the error below. The path is correct, as far as I can tell, if by 'absolute' you mean the absolute path from the root level of the domain's folder, and not the absolute path from the root level of the host server (I have a VPS). I've tried using the server's absolute path and that produces a DB error.
Is this a permission error? What is going on here? What steps can I take to solve it?


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: /public_html/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.

* warning: include_once(CRM/Core/Config.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxxx/public_html/sites/all/modules/civicrm/drupal/civicrm.module on line 257.
* warning: include_once() [function.include]: Failed opening 'CRM/Core/Config.php' for inclusion (include_path='.:/public_html/sites/all/modules/civicrm/:/public_html/sites/all/modules/civicrm//packages:.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/sites/all/modules/civicrm/drupal/civicrm.module on line 257.



Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Is this a civicrm_root error, or permissions? Ready to throw in the towel...
April 23, 2009, 11:59:25 pm
Quote from: nihow on April 23, 2009, 04:33:31 am
I'm getting the error below. The path is correct, as far as I can tell, if by 'absolute' you mean the absolute path from the root level of the domain's folder, and not the absolute path from the root level of the host server (I have a VPS).

By ‘absolute’ we mean the path from the server’s filesystem root; PHP will look for CiviCRM’s files in $civicrm_root.

Quote
I've tried using the server's absolute path and that produces a DB error.

What is the error exactly?

Quote
Is this a permission error? What is going on here? What steps can I take to solve it?

Check whether you don’t have open basedir restrictions in effect.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Is this a civicrm_root error, or permissions? Ready to throw in the towel...

This forum was archived on 2017-11-26.