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: Uncaught exception 'Exception' (RESOLVED)
Pages: [1]

Author Topic: Fatal error: Uncaught exception 'Exception' (RESOLVED)  (Read 2143 times)

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Fatal error: Uncaught exception 'Exception' (RESOLVED)
January 31, 2010, 07:59:37 am
3.1.1 Install procedure on server results in the following error:

Fatal error: Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in /home/[sitename]/public_html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php:220 Stack trace: #0 /home/[sitename]/public_html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php(111): IDS_Filter_Storage->getFilterFromXML() #1 /home/[sitename]/public_html/sites/all/modules/civicrm/packages/IDS/Monitor.php(189): IDS_Filter_Storage->__construct(Object(IDS_Init)) #2 /home/[sitename]/public_html/sites/all/modules/civicrm/CRM/Core/IDS.php(141): IDS_Monitor->__construct(Array, Object(IDS_Init)) #3 /home/[sitename]/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(78): CRM_Core_IDS->check(Array) #4 /home/[sitename]/public_html/sites/all/modules/civicrm/drupal/civicrm.module(335): CRM_Core_Invoke::invoke(Array) #5 [internal function]: civicrm_invoke('admin', 'configtask') #6 /home/[sitename]/public_html/includes/menu.inc(348): call_user_func_array('civicrm_invoke', Array) #7 /home/[sitename] in /home/[sitename]/public_html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php on line 220

This is migration from sandbox to host. Pre-deployed site had Civi disabled and a fresh database.

This is a complete show-stopper - dead in the water over here. Suggestions most welcome!

UPDATE: I uploaded the Civi database and by setting config_backend to empty (not NULL) and editing default/files/civicrm/templates_c/en_US/ConfigAndLog/Config.IDS.ini to reflect the deployed configuration, I was able to get Civi to work.

FURTHER UPDATE: What I neglected to do was remove the sites/default/files/civicrm directory when I deployed so the install wasn't "fresh" - I'd bet that had the install been truly clean and Civi had recreated the files, everything would have been OK.

This is the first time I've actually been able to upload a sandbox configuration (as opposed to recreating it from scratch) - I'll leave this here in case others run into the same issue when migrating a site from sandbox to production. Problem solved.
« Last Edit: February 01, 2010, 04:22:31 pm by Dave Greenberg »

cactus_pup

  • Guest
Re: Fatal error: Uncaught exception 'Exception' (RESOLVED)
March 02, 2010, 04:40:49 pm
This can also be an issue when Uninstalling and Re-installing, and stumped me for a while also.

Thank you for posting this, it resolved a nagging issue for me.


mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
Re: Fatal error: Uncaught exception 'Exception' (RESOLVED)
March 15, 2010, 06:21:28 pm
Just wanted to add my thanks for posting your resolution. Had the exact same scenario, and you saved me tons of trouble!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Fatal error: Uncaught exception 'Exception' (RESOLVED)

This forum was archived on 2017-11-26.