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

errors in view.php, chapterlib.php, mod_form.php,

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.10
    • Fix Version/s: 1.9.11
    • Component/s: Module: Presenter
    • Labels:
      None
    • Environment:
      Win XP Pro sp3, Mozilla Firefox browser, PHP version 5.1.6
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      The presenter Module displays the picture and plays the mp3 file. The page is not laid out according to the template. I get errors with view.php and chapterlib.php files:
      Notice: Undefined variable: presentationWidth in /srv/moodle/web/mod/presenter/view.php on line 120

      Notice: Undefined variable: ch in /srv/moodle/web/mod/presenter/chapterlib.php on line 81

      Notice: Trying to get property of non-object in /srv/moodle/web/mod/presenter/chapterlib.php on line 81

      Notice: Undefined variable: ch in /srv/moodle/web/mod/presenter/chapterlib.php on line 82

      Notice: Trying to get property of non-object in /srv/moodle/web/mod/presenter/chapterlib.php on line 82

      Notice: Undefined variable: slideHeightDiv in /srv/moodle/web/mod/presenter/view.php on line 534

      Notice: Undefined variable: pageWidth in /srv/moodle/web/mod/presenter/view.php on line 658

      When I edit the presenter, I get an error in the mod_form.php file:
      Notice: Undefined property: stdClass::$completion_factor in /srv/moodle/web/mod/presenter/mod_form.php on line 348

      I attached a screenshot of the output when the presenter plays which displays the errors

        Attachments

        1. Capture.PNG
          Capture.PNG
          421 kB
        2. First_Try_20110212_3.zip
          627 kB
        3. PresenterModuleV2.zip
          297 kB

          Activity

            People

            Assignee:
            alexcontis Alex Contis
            Reporter:
            dfenske Daniel Fenske
            Participants:
            Component watchers:
            Alex Contis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Feb/11