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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM suddenly unavaialble
Pages: [1]

Author Topic: CiviCRM suddenly unavaialble  (Read 5571 times)

tgeller

  • Guest
CiviCRM suddenly unavaialble
September 15, 2008, 04:07:38 pm
Hey, folks. I installed CiviCRM and it seemed to work O.K.. Then I launched it a few days later and got the following error when I tried to go to localhost/civicrm. I switched themes between the successful and unsuccessful launches, but otherwise didn't do anything significant.

---begin---

Fatal error: Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php:217 Stack trace: #0 /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php(108): IDS_Filter_Storage->getFilterFromXML() #1 /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/packages/IDS/Monitor.php(167): IDS_Filter_Storage->__construct(Object(IDS_Init)) #2 /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/CRM/Core/IDS.php(113): IDS_Monitor->__construct(Array, Object(IDS_Init)) #3 /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array) #4 /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/drupal/civicrm.module(315): CRM_Core_Invoke::invoke(Array) #5 /Users/tgeller/Sites/civicrm/includes/menu.inc(346): civicrm_invoke() #6 /Users/tgeller/Sites/civicrm/index.php(18): menu_execute_active_handler() #7 {main} throw in /Users/tgeller/Sites/civicrm/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php on line 217

---end---
Any ideas for a fix?

Thanks,

--Tom

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM suddenly unavaialble
September 15, 2008, 05:16:36 pm
can u try upgrading to the latest beta and see if the problem still occurs. I think we might have upgraded the IDS library in between.

Also i will post this issues on forum.php-ids.org and see if the folks there can help us out. The topic at the php-ids forum is: http://forum.php-ids.org/comments.php?DiscussionID=169

lobo
« Last Edit: September 15, 2008, 05:20:10 pm by Donald Lobo »
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rampkrm

  • Guest
Re: CiviCRM suddenly unavaialble
September 16, 2008, 07:28:58 am
i also got the same error can any one fixed plz let me also know how to resolve this issue.

i have upgraded civicirm from 2.0.5 to 2.1 beta 4.
« Last Edit: September 16, 2008, 07:32:47 am by rampkrm »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM suddenly unavaialble
September 16, 2008, 08:21:16 am

can u try deleting the file: files/civicrm/upload/Config.IDS.ini

if in joomla: media/civicrm/upload/Config.IDS.ini

can u please report back if this worked

thanx

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rampkrm

  • Guest
Re: CiviCRM suddenly unavaialble
September 17, 2008, 04:22:05 am
Mine is drupal version 6.4. deleting the file config.IDS.ini doesn't solves my problem. i tried to debug this error i found that $upload->uploadDir is emplty due to this the file is unable to write in upload folder. i hard coded the upload directory path then the problem dis appear. where  as i got serveral other problems like

Smarty error: unable to read resource: "CRM/fatal.tpl" in /sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1092.

can you give me an idea why uploadDir is empty and the second thing is how to resolve this smarty error.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: CiviCRM suddenly unavaialble
September 17, 2008, 05:05:02 am
Quote
Smarty error: unable to read resource: "CRM/fatal.tpl" in /sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1092.
Its a know issue which has been fixed in latest 2.1 beta ver. This happens for cases where there has been 2.0 -> 2.1 upgrade and config still has some old values. You can fix it by :
- appending "configReset=1" to any of the civicrm url e.g http://example.com/civicrm/admin?reset=1&configReset=1
OR
- by resetting config_backend column (to NULL) of civicrm_domain table.

Quote
can you give me an idea why uploadDir is empty
Check if your settings are correct for "Global Settings >> Upload Directories".
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

udaydahale

  • Guest
Re: CiviCRM suddenly unavaialble
January 30, 2010, 01:15:38 am
sir,

I have problem with my joomla web site


Fatal error: Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in D:\xampp\htdocs\nrana\administrator\components\com_civicrm\civicrm\packages\IDS\Filter\Storage.php:217 Stack trace: #0 D:\xampp\htdocs\nrana\administrator\components\com_civicrm\civicrm\packages\IDS\Filter\Storage.php(108): IDS_Filter_Storage->getFilterFromXML() #1 D:\xampp\htdocs\nrana\administrator\components\com_civicrm\civicrm\packages\IDS\Monitor.php(189): IDS_Filter_Storage->__construct(Object(IDS_Init)) #2 D:\xampp\htdocs\nrana\administrator\components\com_civicrm\civicrm\CRM\Core\IDS.php(141): IDS_Monitor->__construct(Array, Object(IDS_Init)) #3 D:\xampp\htdocs\nrana\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php(78): CRM_Core_IDS->check(Array) #4 D:\xampp\htdocs\nrana\administrator\components\com_civicrm\admin.civicrm.php(75): CRM_Core_Invoke::invoke(Array) #5 D:\xampp\htdocs\nrana\administrator\components\com_civicrm\admin.civicrm.php(44): civicrm_invoke() #6 D:\ in D:\xampp\htdocs\nrana\administrator\components\com_civicrm\civicrm\packages\IDS\Filter\Storage.php on line 217



please fixed that issue



regards,
uday
« Last Edit: January 30, 2010, 02:33:08 am by udaydahale »

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: CiviCRM suddenly unavaialble
January 31, 2010, 09:09:11 am
uday,

Try visiting http://<joomla_site>/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1.

And if that doesn't work, follow instructions from here - http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM suddenly unavaialble

This forum was archived on 2017-11-26.