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) »
  • Changing case type name in CiviCase produces error
Pages: [1]

Author Topic: Changing case type name in CiviCase produces error  (Read 558 times)

ravens

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.6
  • MySQL version: 5.5
  • PHP version: 5.4
Changing case type name in CiviCase produces error
April 08, 2014, 07:51:54 pm
I had to change some case type names, both under the Administer/CiviCase/Case Types options page and in the xml files on my server.
Now, when I try to search for cases under these new names, or try to access the client's page, I get the below error messages.
What can I do to correct this?



Warning: Invalid argument supplied for foreach() in /home/mydomain/www/www/wp-content/plugins/civicrm/civicrm/CRM/Case/XMLProcessor/Process.php on line 148

Warning: Invalid argument supplied for foreach() in /home/mydomain/www/www/wp-content/plugins/civicrm/civicrm/CRM/Case/XMLProcessor/Process.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/www/www/wp-content/plugins/civicrm/civicrm/CRM/Case/XMLProcessor/Process.php:148) in /home/mydomain/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php on line 349

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: Changing case type name in CiviCase produces error
April 08, 2014, 09:32:53 pm
Don't change them in the xml. There is a difference between name vs label. The name never changes.

I admit this is confusing. It has come up before. But the intent is the same as database keys.

ravens

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.6
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Changing case type name in CiviCase produces error
April 09, 2014, 07:19:28 am
Thanks for the response. So do you mean I can change the labels in the Administer menu and leave the xmls alone?

Regarding my current situation, should I change the xmls back to what they were before?

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: Changing case type name in CiviCase produces error
April 09, 2014, 07:35:58 am
Yes and yes.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Changing case type name in CiviCase produces error

This forum was archived on 2017-11-26.