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

          [CRM-7318] undefined constant mb_detect_encoding (also undefined: DUPLICATE_SKIP)
          Donald A. Lobo added a comment -

          also fixed the DUPLICATE_SKIP NOTICE

          thanx for the patch

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Fen Labalme

              Dates

              • Created:
                Updated:
                Resolved: