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

Cannot use Drupal module "htmlpurifier" as conflicts with CiviCRM

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.2.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'd like to use the Drupal module "htmlpurifier", but when enabling I get the error: "PHP Fatal error: Cannot redeclare class HTMLPurifier_Bootstrap" as CiviCRM is already packaging it internally.

      Possible fix: CiviCRM could maintain a patch to HTML purifier and rename the classes so they don't conflict.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              stuart.green Stuart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: