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) »
  • Another Civicrm_root issue...
Pages: [1]

Author Topic: Another Civicrm_root issue...  (Read 920 times)

sweetcircus

  • Guest
Another Civicrm_root issue...
March 11, 2010, 11:47:24 am
Hello, I have tried to migrate my site to a new server, same system setup php/apache, although the only difference this one is using cpanel to manage the domain and set up the site.

It is suggesting that my civiroot is incorrect, but I dont understand why. I have SSH'ed into my machine and verified the path as this

Code: [Select]
$civicrm_root ='/home/paba/public_html/sites/all/modules/civicrm';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/paba/public_html/sites/default/files/civicrm/templates_c/' );


Permissions to the files I have set to 755. (both in sites/default and sites/all/modules/civicrm)

Is there some alternative format due to cpanel setting it up (maybe via vhosts?)

Thanks for the help..

sweetcircus

  • Guest
Re: Another Civicrm_root issue...
March 11, 2010, 11:54:04 am
additionally I am often times receiving this error too..

Code: [Select]
Fatal error: require_once() [function.require]: Failed opening required 'CRM/Utils/System.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/paba/public_html/sites/all/modules/civicrm/drupal/modules/views/civicrm.views.inc on line 4624

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Another Civicrm_root issue...
March 22, 2010, 10:48:51 am
Quote from: sweetcircus on March 11, 2010, 11:47:24 am
Hello, I have tried to migrate my site to a new server

Have you checked the migration wiki guide?

It seems that whatever is your $civicrm_root set to, it doesn’t get picked up by the include_path…
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) »
  • Another Civicrm_root issue...

This forum was archived on 2017-11-26.