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) »
  • help - "configuration file could not be found" error related to IDS
Pages: [1]

Author Topic: help - "configuration file could not be found" error related to IDS  (Read 1208 times)

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
help - "configuration file could not be found" error related to IDS
August 16, 2010, 06:33:52 am
I am getting a weird configuration file could not be found error when creating a new copy of my civicrm site - see below. Anyone have any thoughts on what else to try besides the "Moving an Existing Installation to a New Server or Location" advice?

Thanks!

Tobias

Code: [Select]
Fatal error: Uncaught exception 'Exception' with message 'Configuration file could not be found' in /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/packages/IDS/Init.php:134 Stack trace: #0 /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/packages/IDS/Init.php(87): IDS_Init->setConfigPath('Config.IDS.ini') #1 /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/packages/IDS/Init.php(115): IDS_Init->__construct('Config.IDS.ini') #2 /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/CRM/Core/IDS.php(134): IDS_Init::init('Config.IDS.ini') #3 /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array) #4 /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/drupal/civicrm.module(339): CRM_Core_Invoke::invoke(Array) #5 [internal function]: civicrm_invoke() #6 /var/www/vhosts/ml.kb2.org/httpdocs/includes/menu.inc(348): call_user_func_array('civicrm_invoke', Array) #7 /var/www/vhosts/ml.kb2.org/httpdocs/index.php(18): men in /var/www/vhosts/ml.kb2.org/httpdocs/sites/all/modules/civicrm/packages/IDS/Init.php on line 134
Kabissa - Space for Change in Africa http://kabissa.org

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: help - "configuration file could not be found" error related to IDS
August 16, 2010, 06:35:34 am
Did you delete the Config.IDS.ini file?
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.

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: help - "configuration file could not be found" error related to IDS
August 16, 2010, 06:36:51 am
yes I did

thanks for the quick reply!
Kabissa - Space for Change in Africa http://kabissa.org

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: help - "configuration file could not be found" error related to IDS
August 16, 2010, 07:46:33 am
still struggling, by the way - I am unable to get around this error. if anyone has any suggestions, please let me know. thanks!
Kabissa - Space for Change in Africa http://kabissa.org

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: help - "configuration file could not be found" error related to IDS
August 16, 2010, 07:49:20 am
FWIW, I don't have any other ideas offhand, aside from confirming that all the steps of the migration were indeed performed.

The only other possibility is to delete all files in the sites/default/files/civicrm directory and also the sites/default/civicrm.settings.php file and reinstall a fresh CiviCRM. Then import your existing CiviCRM database and reset the config settings and the menus. That should work.
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.

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: help - "configuration file could not be found" error related to IDS
August 16, 2010, 10:10:17 am
Thanks for the tips - I have tried installing again on another domain and have had the same result. I then deleted the database and loaded the ~civicrm/sql/civicrm.mysql file -- and it works fine. I am able to load up the civicrm interface. So it seems clear that there is something wrong with the mysql files I am trying to load, not files. What else can I try?
Kabissa - Space for Change in Africa http://kabissa.org

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Solved Re: help - "configuration file could not be found" error related to IDS
August 16, 2010, 12:12:27 pm
OK - it looks like my mysql file included the 'bad' civicrm_domain settings. In the past I have been able to go in and fix paths in from migrated settings but this time it seems not to have wanted to work. Now I have it working with the new civicrm_domain settings that were created when I browsed the site the first time before loading my civicrm data.

Nevertheless, I've now got my site working and am attempting the upgrade from 2.2.2 to 2.3.1. Cross fingers! :)

Cheers,

Tobias
Kabissa - Space for Change in Africa http://kabissa.org

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • help - "configuration file could not be found" error related to IDS

This forum was archived on 2017-11-26.