CRM-4200 Creates confilct with other Drupal module

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The Beta 2 and 3 version of 2.2 have a bug that creates a conflict with the Plugins_Manager module for Drupal (6.10), such that when both it and CiviCRM are installed and enabled, trying to run any of the Plugins_Manager's "install," "uninstall," and "update" functions which either downloads and extracts new modules from the repository to the website server or removes them, it returns the following error:

      Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /usr/lib/php/PEAR.php:775) in /home/username/public_html/drupal/sites/all/modules/civicrm/packages/PEAR.php on line 806

      Apparently this conflict behavior did not occur with 2.2 Alpha 3, according to a response to my post at: http://drupal.org/node/390108. I only recently installed the Plugins_Manager module with Beta 2 & 3 and didn't try it with Alpha 3 or with 2.1.7. NOTE: the original issue with the admin page breaking when enabling both Beta2 and the Plugins_Manager at the same time seems to have been fixed with Beta3, but the broken install/uninstall/update conflict still exists.

        Attachments

          Activity

          [CRM-4200] Creates confilct with other Drupal module
          Donald A. Lobo added a comment -

          you will need to diagnose and help fix this issue. We do not have the resources to ensure that CiviCRM works with all drupal modules. I'm not sure if we know of any good solutions if two modules are using PEAR (other than ensuring that your include path has only one PEAR version etc)

          shawn holt added a comment -

          I have the same issue in stable 2.2.
          Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /usr/lib/php/PEAR.php:775) in /home/commhol5/public_html/drupal-6/sites/all/modules/civicrm/packages/PEAR.php on line 806.

          I am using the Drupal plugin Manager also.

          what other diagnostic can i provide?

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              David Tessitor

              Dates

              • Created:
                Updated:
                Resolved: