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) »
  • Error when opening new case
Pages: [1]

Author Topic: Error when opening new case  (Read 937 times)

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Error when opening new case
January 17, 2011, 06:59:49 am
hi

i just activated civicase. dashboard seems to work fine, but when i click on new case i get the following error:

Fatal error: Class 'CRM_Case_Form_Activity_' not found in /kunden/251568_1030/webseiten/crm/sites/all/modules/civicrm/CRM/Case/Form/Case.php(174) : eval()'d code on line 1

any ideas/solutions?

thanks
conte
http://www.aidboard.com

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error when opening new case
January 17, 2011, 07:51:42 am
Looks like this line (~145) which sets activityTypeFile to OpenCase.php is failing:
Code: [Select]
        if ( $this->_activityTypeFile =
             CRM_Activity_BAO_Activity::getFileForActivityTypeId($this->_activityTypeId,
                                                                 'Case') ) {

Not sure if it's an i18n issue (are you running the site in German?), or if the expected Activity Types for CiviCase aren't present. You can check the 2nd possibility by going to Administer > Option Lists > Activity Types and checking the under "Component" = "Case", you see "Open Case" as well as Follow up, Change Case Status, etc.

If those are present, I think you'll need to debug the above call and see what's returned etc.
Protect your investment in CiviCRM by  becoming a Member!

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Re: Error when opening new case
January 24, 2011, 06:32:08 am
thanks dave. pointed me in the right directions.

the activities for civicase were deactivated.

nevertheless the error message looks "hardcore" for such a problem :)

thanks
conte
http://www.aidboard.com

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error when opening new case
January 24, 2011, 04:18:37 pm
Yeah, error message is not too helpful. I've cleaned this up a bit for 3.4 / 4.0:
:http://issues.civicrm.org/jira/browse/CRM-7442
Protect your investment in CiviCRM by  becoming a Member!

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

This forum was archived on 2017-11-26.