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 »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Database recovery PHP Fatal error: Failed opening required 'CRM/Core/Config.php'
Pages: [1]

Author Topic: Database recovery PHP Fatal error: Failed opening required 'CRM/Core/Config.php'  (Read 475 times)

joomla_savac

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Joomla
  • MySQL version: 5.5.38
  • PHP version: 5.6.2
Database recovery PHP Fatal error: Failed opening required 'CRM/Core/Config.php'
March 18, 2015, 10:55:50 am
I'm trying to recover the membership records from a site that was created using Joomla 1.5.26. The membership extension used to create the records was CiviCRM. I've set up the old site locally using Joomla 1.5.26, MAMP & Akeeba Backup to restore the myoldsite.jpa file. Everything is working fine except for CiviCRM. When I click on it from the Components menu there is a message in the Console for a split second that reads 'GET http://localhost:8888/mysite/administrator/index.php?option=com_civicrm 500 (Internal Server Error)' & it leads me to a blank screen.

In my MAMP logs php_error.log I get:
PHP Fatal error:  require_once(): Failed opening required 'CRM/Core/Config.php' (include_path='.:/home/savac/public_html/administrator/components/com_civicrm/civicrm:/home/savac/public_html/administrator/components/com_civicrm/civicrm/packages:.:/Applications/MAMP/bin/php/php5.6.2/lib/php') in /Applications/MAMP/htdocs/Joomla_1.5.26-Savac/administrator/components/com_civicrm/admin.civicrm.php on line 40

What do you suggest for getting CiviCRM to work? Can I manually add/fix the Config.php? Or is there an alternative way to export my old membership database in CSV format?

Many thanks :)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Database recovery PHP Fatal error: Failed opening required 'CRM/Core/Config.php'
March 19, 2015, 12:39:01 am
You could retrieve the data directly from the database? Depending on what exactly you would need you'd have to take a look at the tables civicrm_contact, civicrm_membership and all civicrm_membership_xxxxx tables. Possibly that might give you enough data?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Database recovery PHP Fatal error: Failed opening required 'CRM/Core/Config.php'
March 19, 2015, 05:31:45 am
You could try installing CiviCRM into a fresh, empty database and that way confirm that the code is correct and the settings file etc. Then edit the settings file to point to your real DB.

Or consider upgrading the DB on a different working install, if you have one.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Database recovery PHP Fatal error: Failed opening required 'CRM/Core/Config.php'

This forum was archived on 2017-11-26.