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

undefined constant mb_detect_encoding (also undefined: DUPLICATE_SKIP)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.4.alpha
    • Component/s: None
    • Labels:
      None

      Description

      During import, I got a lot of these notices:

      Notice: Use of undefined constant mb_detect_encoding - assumed 'mb_detect_encoding' in CRM_Utils_String::isAscii() (line 188 of /home/fen/workspace/civicrm/v3.3.2/CRM/Utils/String.php).

      The attached patch (to v3.3.2) fixes this.

      I also see this Notice:

      Notice: Use of undefined constant DUPLICATE_SKIP - assumed 'DUPLICATE_SKIP' in CRM_Import_Form_DataSource->postProcess() (line 298 of /home/fen/workspace/civicrm/v3.3.2/CRM/Import/Form/DataSource.php).

      I don't have a patch for this (yet) as I'm not sure where this should be defined.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              fen Fen Labalme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: