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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Could not load the settings file
Pages: 1 [2]

Author Topic: Could not load the settings file  (Read 2708 times)

ChrisChinchilla

  • I post occasionally
  • **
  • Posts: 104
  • Karma: 3
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 6 & 7
Re: Could not load the settings file
May 21, 2014, 07:36:50 pm
Strange,

I had the same problem and looking in versions of administrator/components/com_civicrm/civicrm/civicrm.config.php from 4.4.4 and 4.4.5 (non alt download) they both had mentions of Drupal and nothing else. I changed it's contents to the code you pasted above and all works now, but that seems rather strange and I don't remember having to do that before.

Chris
Melbourne CiviCRM meetup group - http://www.meetup.com/MelbourneCiviCRM/

funkyblue

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Joomla
  • MySQL version: Latest
  • PHP version: Latest
Re: Could not load the settings file
May 21, 2014, 09:06:41 pm
Same problem here going from whatever version was before 4.4.4 to 4.4.5 with Joomla.
Causing so many issues and I'm not sure how to fix.


ChrisChinchilla

  • I post occasionally
  • **
  • Posts: 104
  • Karma: 3
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 6 & 7
Re: Could not load the settings file
May 21, 2014, 10:42:39 pm
I fixed it by copying in the values above and replacing with my path details.
Melbourne CiviCRM meetup group - http://www.meetup.com/MelbourneCiviCRM/

pratik.joshi

  • I’m new here
  • *
  • Posts: 9
  • Karma: 2
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.34
  • PHP version: 5.3.10
Re: Could not load the settings file
May 22, 2014, 02:07:06 am
Hi,

I tried installing civicrm 4.4.5 version for joomla (not the alt version), and the 'civicrm.config.php' is proper according to Joomla CMS i.e. like below:

Quote
<?php
define('CIVICRM_SETTINGS_PATH', '/home/pratik/public_html/joomla/administrator/components/com_civicrm/civicrm.settings.php');
$error = @include_once( '/home/pratik/public_html/joomla/administrator/components/com_civicrm/civicrm.settings.php' );
if ( $error == false ) {
    echo "Could not load the settings file at: /home/pratik/public_html/joomla/administrator/components/com_civicrm/civicrm.settings.php
";
    exit( );
}

// Load class loader
require_once $civicrm_root . '/CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();

I did CiviCRM installation according to 'Install from Directory' technique of Extension Installation for Joomla.

NOTE: before installing civicrm, the 'civicrm tarball' consists of 'civicrm.config.php' coded for all the 3 CMS'es i.e Drupal, Joomla and Wordpress. But after installing, the path '/home/pratik/public_html/joomla/administrator/components/com_civicrm/civicrm/' consists of proper Joomla based 'civicrm.config.php' file.

johnnybgoodwin

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: Joomla 2.5.5
  • MySQL version: 5.5
  • PHP version: 5.2.17
Re: Could not load the settings file - Solved
May 22, 2014, 02:18:51 am
This is my story about it.....
The 4.4.4 version I downloaded earlier in the year had the wrong files in the archive, and presumably caused the problem.
I downloaded 4.4.5 and did a new install as normal, including the database update script and the problem is solved.
Appreciate the help on this one.
« Last Edit: May 22, 2014, 02:20:56 am by johnnybgoodwin »

funkyblue

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Joomla
  • MySQL version: Latest
  • PHP version: Latest
Re: Could not load the settings file
May 22, 2014, 04:43:41 am
I reinstalled with the latest version and it fixed the issues. I'm glad :D Looks like we had a dodgy source file at one point.

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Could not load the settings file

This forum was archived on 2017-11-26.