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) »
  • fatal error when try to run installer
Pages: [1]

Author Topic: fatal error when try to run installer  (Read 962 times)

carolineb

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 2
fatal error when try to run installer
June 24, 2009, 01:31:20 pm

Hi

I am running PHP 5.2.9; SQL 5.0.4, drupal 6.12 and the version of the drupal install on the civcrm site.

I have untared the files and uploaded them to the server as described int he instructions.

When I run sites/all/modules/civicrm/install/index.php I get a white screen.

According to the error log

 PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/vhosts/edglp.co.uk/httpdocs/drupal/sites/all/modules/civicrm/CRM/Utils/System.php' (include_path='.:') in /var/www/vhosts/edglp.co.uk/httpdocs/drupal/sites/all/modules/civicrm/install/index.php on line 49

I have checked both these files do exist.

Anybody got any ideas.

Thanks Caroline

ps relative newbie to this.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: fatal error when try to run installer
June 25, 2009, 10:22:42 am
I think the empty include_path is a clue here. My understanding is that the installer updates the CiviCRM settings file - setting $civicrm_root to directory where the codebase is - and then this gets included in the path. You might check to see:

* do you have a civicrm.settings.php file in your sites/default directory (or wherever your Drupal settings.php file is for that site)?
* does the webserver have write perms on it (the installer should have checked this - but ??)
* what's the value of $civicrm_root in that file - s/b:

/var/www/vhosts/edglp.co.uk/httpdocs/drupal/sites/all/modules/civicrm/

Protect your investment in CiviCRM by  becoming a Member!

carolineb

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 2
Re: fatal error when try to run installer
July 02, 2009, 01:36:26 pm
Thanks for your reply and sorry for not checking back sooner.

I realised that somehow my crm folder had got renamed CRM  - and on a LINUX server this meant that the file the system was looking for was not there. Once I renamed it worked. I'm a newbie in case you hadn't guessed  ???

Thanks for posting a response to my query.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • fatal error when try to run installer

This forum was archived on 2017-11-26.