Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24235

Fatal error: Call to undefined function mb_strlen() in /moodle/web/lib/bennu/iCalendar_rfc2445.php on line 57

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.9, 1.9.17, 2.3
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide

      Test that the calendar still works as expected:

      1. Create an assignment with start/finish dates and make sure events are created
      2. Create a couple of different event types as an admin (user, site, etc)
      3. Export the calendar and make sure that works
      Show
      Test that the calendar still works as expected: Create an assignment with start/finish dates and make sure events are created Create a couple of different event types as an admin (user, site, etc) Export the calendar and make sure that works
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-24235-master

      Description

      We happen to have a moodle server running without the mb_string extension installed, and the calendar feature uses the mb_strlen() function without checking that it actually exists.

      If the requirement for mb_string were a "MUST" have this would be ok, but it is listed as "SHOULD" be installed.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                7 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12