Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8921

php PEAR conflict with other drupal modules

    Details

      Description

      Using:

      CiviCRM 4.0.5
      Drupal 7.8
      Ubuntu 11.04

      I have came across an incompatibility between CiviCRM's PEAR packages, and another system-installed PEAR package. The package in question is "Services Atlassian Crowd", and the conflict appears to be between the PEAR_Exception class being called independently by both packages.

      /var/log/apache/error.log provides:

      [error] [client 180.76.5.111] PHP Fatal error: Cannot redeclare class PEAR_Exception in /var/www/dev_OSMsite/sites/all/modules/civicrm/packages/PEAR/Exception.php on line 389

      Services_Atlassian_Crowd is used by the drupal / crowd interconnect module, which provides authentication for drupal against the Atlassian stack (Confluence, Jira).

      Accessing any page in the /civicrm directory results in an HTTP 500 Internal Server Error, and more log entries to /var/log/apache/errors regarding the PEAR_Exception class.

      Can this be patched on the civicrm side?

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              shalrath Jason Marsh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified