Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7334

Configuarable Reports uses deprecated function pix_url

    XMLWordPrintable

    Details

    • Plugin Version:
      2016020103
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE

      Description

      1. Click on manage reports
      2. Click on Add report button
      3. Give the report a name
      4. Choose SQL Report under 'Type of report'
      5. Click on Add button
      6. In the main text box type some SQL (substituting the table name and prefix (i.e. moodlel.mdl) with prefix, for example select c.id, c.shortname, c.fullname, IF(c.startdate>0, FROM_UNIXTIME(startdate,'%b %d %Y %h:%m:%s %p'), c.startdate) AS starts from prefix_course AS c where shortname like '%PRD3%' and shortname like '%2017-18' 7. Click Save changes button pix_url is deprecated. Use image_url for images and pix_icon for icons.line 267 of /lib/outputrenderers.php: call to debugging()line 140 of /blocks/configurable_reports/managereport.php: call to renderer_base->pix_url()

       

      1. Click on manage reports
        # Click on a report link (under heading name)

        # Click on permissions tab

        # Under Add choose 'Any user in the current report course'

        # Click update

        # Log in as another user and check access pix_url is deprecated. Use image_url for images and pix_icon for icons.line 267 of /lib/outputrenderers.php: call to debugging()line 140 of /blocks/configurable_reports/managereport.php: call to renderer_base->pix_url()

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/18