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

Zend Framework Bug-Fix for PHP 5.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.9
    • Libraries, Web Services
    • MOODLE_28_STABLE, MOODLE_29_STABLE

      Reference: https://tracker.moodle.org/browse/MDL-49526

      This patch is for the Zend Framework being out of date on Moodle, some plugins that use the Zend Framework on PHP 5.6 servers will experience an issue with the iconv_get and iconv_set parameters caled by the legacy framework.

      The patch changes are in: moodle/lib/zend/Zend/Validate/Hostname.php

      Comment out lines 513 & 514
      add (below 514):
      $origenc = mb_internal_encoding();
      mb_internal_encoding('UTF-8');

      Comment out line 611.
      add (below 611): mb_internal_encoding($origenc);

      This replicates the changed code with the new call mb_internal_encoding()

            Unassigned Unassigned
            dustin.brisebois Dustin Brisebois
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.