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) »
  • Internal server error 500
Pages: [1]

Author Topic: Internal server error 500  (Read 1438 times)

Geoffrey

  • Guest
Internal server error 500
November 12, 2010, 02:08:13 am
Hello,

I tried to configure my own cases... but it doesn't work... I get an internal server error 500 when trying to open a new case.

I have followed the installation guide and I have put my configuration files in the directory: <custom templates path>/CRM/Case/xml/configuration

I have made an xml for any case type I have defined. I have entered a row in the civicrm_option_value table as said in the configuration guide for every case type.

When I remove the configuration folder (so, in fact without a configuration) the page does load (but of course I can't make cases then).

I want to set up very basic case types, without specific activities nor roles... a sample xml file I use looks like:

Code: [Select]
<?xml version="1.0" encoding="iso-8859-1" ?>

<CaseType>
  <name>SVK</name>
  <ActivityType>
      <name>Open Case</name>
      <max_instances>1</max_instances>
     </ActivityType>
        <ActivityType>
      <name>Change Case Type</name>
    </ActivityType>
    <ActivityType>
      <name>Change Case Status</name>
    </ActivityType>
        <ActivityType>
      <name>Follow up</name>
    </ActivityType>
</CaseType>

Could somebody please help me with this!!

Thanks.

 :)

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: Internal server error 500
November 13, 2010, 10:26:04 am
Does your web server log give any hints about where the 500 error is coming from?

Also your case type above is missing a standard_timeline section.

Geoffrey

  • Guest
Re: Internal server error 500
November 15, 2010, 11:49:56 pm
Thanks for your answer.

I have changed the xml to:

Code: [Select]
<?xml version="1.0" encoding="iso-8859-1" ?>

<CaseType>
  <name>SVK</name>
  <ActivityType>
      <name>Open Case</name>
      <max_instances>1</max_instances>
     </ActivityType>
        <ActivityType>
      <name>Change Case Type</name>
    </ActivityType>
    <ActivityType>
      <name>Change Case Status</name>
    </ActivityType>
        <ActivityType>
      <name>Follow up</name>
    </ActivityType>
    <ActivitySets>
    <ActivitySet>
      <name>standard_timeline</name>
      <label>Standard Timeline</label>
      <timeline>false</timeline>
      <ActivityTypes>
        <ActivityType>
          <name>Open Case</name>
          <status>Completed</status>
      </ActivityTypes>
    </ActivitySet>
    </ActivitySets>
    <CaseRoles />
</CaseType>

But nothing has changed, I still get the HTML 500 error. There are no PHP-errors for the page I requested (/drupal/index.php?q=civicrm/case/add&reset=1&action=add&atype=13&context=standalone).

It seems to me as some folders are inaccessable to the webserver, but I checked and as far as I can see everything is OK with the folder rights.

I just don't know what I could do to make it work...

Thanks for any advice!!

 :)

Geoffrey

  • Guest
Re: Internal server error 500
November 16, 2010, 03:06:44 am
Well, I have found the problem... I hade a made a mistake in the Settings.xml file...

Now it works.

Thanks!

 :)

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

This forum was archived on 2017-11-26.