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 CiviCase (Moderator: Dave Greenberg) »
  • CiviCase Path
Pages: [1]

Author Topic: CiviCase Path  (Read 1812 times)

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
CiviCase Path
December 26, 2011, 12:30:08 pm
I am very confused because I have been looking at the documentation for a while here and my custom folder appears to be in the right place. 

/home/somesite/www/sites/default/files/civicrm/custom/CRM/Case/xml/configuration

When I check the directories I see /home/somesite/public_html/sites/default/files/civicrm/custom/ and if I go to the directory it is valid.

CiviCRM cannot find my configuration files.   They are all there.

-r-xr-xr-x 1 somesite somesite 1566 Dec 26 12:11 BuildProject.xml*
-r-xr-xr-x 1 somesite somesite 5075 Dec 26 12:17 HomeBuilder.mysql*
-r-xr-xr-x 1 somesite somesite 1175 Dec 26 12:11 Settings.xml*

The way I know that it is not finding the file is:

1.Notice: Trying to get property of non-object in CRM_Case_XMLProcessor_Process->getAllowMultipleCaseClients() (line 473 of /home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/XMLProcessor/Process.php).
Notice: Trying to get property of non-object in CRM_Case_XMLProcessor_Process->getAllowMultipleCaseClients() (line 473 of /home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/XMLProcessor/Process.php).
Notice: Trying to get property of non-object in CRM_Case_XMLProcessor_Process->getAllowMultipleCaseClients() (line 473 of /home/somesite/public_html/sites/all/modules/civicrm/CRM/Case/XMLProcessor/Process.php).

2.  Sorry. A non-recoverable error has occurred.
Configuration file could not be retrieved for case type = 'build_project' (learn more...).

I think I am missing something simple here but I would appreciate some help.

Thanks,
Steve
Steve Kessler
Owner and Lead Consultant of Denver DataMan

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: CiviCase Path
December 27, 2011, 01:11:32 am
I do know the spelling has to be exactly the same, and I see it is looking for a case_type 'build_project' and the file is BuildProject.xml? My first attempt without looking deeper into the issue would be to change the file name......?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase Path
December 28, 2011, 03:39:52 pm
If using a custom path it goes under "templates", not "php".

It is a bit odd.

P.S. You probably don't want your custom directories to be a subdirectory of the web-server writable sites/default/files/civicrm folder. You want it somewhere outside of the writable paths.

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
Re: CiviCase Path
December 28, 2011, 08:55:30 pm
@ demeritcowboy I am not sure what you mean it goes under templates not PHP.

In terms of another path I was going to make a new custom folder once I have it working. I did not want to change the default custom location before I had it working this way.

@Erik Hommel I changed the spelling for the file and that did not change the errors Process.php

Thank  you for all the help.

Thanks,
Steve
Steve Kessler
Owner and Lead Consultant of Denver DataMan

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: CiviCase Path
December 28, 2011, 11:23:48 pm
What demeritcowboy is referring to is that you first need to tell CiviCRM where your custom scripts and templates are in the Administration section. I assume you have done that. Then you need to make sure that your xml directory is in the directory for your custom templates, and NOT the directory for your customized scripts?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase Path
December 29, 2011, 03:51:55 pm
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCase+Configuration#CiviCaseConfiguration-1.%26nbsp%3BConfigurationFilesDirectory

denverdataman

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 2
    • Denver DataMan Website
  • CiviCRM version: Several
  • CMS version: Drupal 6/7
Re: CiviCase Path
December 31, 2011, 11:54:55 am
To clarify for others who run into this problem. 

It is important to have a templates directory and point CiviCRM to that directory to house your configuration files. 

Also make sure to name your file exactly as specified in the help documents. 
Steve Kessler
Owner and Lead Consultant of Denver DataMan

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase Path

This forum was archived on 2017-11-26.