Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68459 Fix problems reported in apache logs before 3.9 release
  3. MDL-68962

Problem F: Missing contentbank strings in external (sortbyx, sortbyxreverse). It happens 8-10 times.

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68962-master
    • Hide
      1. In a console window, tail your web server's logs, i.e. (system-dependant): 

        tail -f /var/log/apache2/error.log

      2. Login as admin.
      3. Access to the Content bank.
      4. Upload the attached H5P file.
      5. View the H5P file.
      6. Go to the Content bank.
      7. Confirm that there were no errors in the log you are tailing.
      8. Change the view to "Display content bank with file details".
      9. Click the "Sort" icon in the "Content name" column.
      10. Inspect the HTML code (using the browser inspector, Ctrl + Shift + i).
      11. Check the button in the "Content name" column has as title "Sort by Content name descending". 
      Show
      In a console window, tail your web server's logs, i.e. (system-dependant):  tail -f /var/log/apache2/error.log Login as admin. Access to the Content bank. Upload the attached H5P file. View the H5P file. Go to the Content bank. Confirm that there were no errors in the log you are tailing. Change the view to "Display content bank with file details". Click the "Sort" icon in the "Content name" column. Inspect the HTML code (using the browser inspector, Ctrl + Shift + i). Check the button in the "Content name" column has as title "Sort by Content name descending". 

      Can be reproduced with the "Admins can upload .h5p extension files to content bank" scenario.

      52320:[Sat Jun 06 17:30:18.476690 2020] [php7:notice] [pid 516] [client 172.22.0.5:39824] Debugging: Invalid get_string() identifier: 'sortbyx' or component 'contentbank'. Perhaps you are missing $string['sortbyx'] = ''; in lang/en/contentbank.php? in

      • line 353 of /lib/classes/string_manager_standard.php: call to debugging()
      • line 117 of /lib/external/externallib.php: call to core_string_manager_standard->get_string()
      • line 255 of /lib/externallib.php: call to core_external::get_string()
      • line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
      • line 33 of /lib/ajax/service-nologin.php: call to require_once()
        , referer: http://run43c1f73b3e13e6a1/behatrun3/contentbank/index.php?contextid=1

      52321:[Sat Jun 06 17:30:18.477006 2020] [php7:notice] [pid 516] [client 172.22.0.5:39824] Debugging: Invalid get_string() identifier: 'sortbyxreverse' or component 'contentbank'. Perhaps you are missing $string['sortbyxreverse'] = ''; in lang/en/contentbank.php? in

      • line 353 of /lib/classes/string_manager_standard.php: call to debugging()
      • line 117 of /lib/external/externallib.php: call to core_string_manager_standard->get_string()
      • line 255 of /lib/externallib.php: call to core_external::get_string()
      • line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
      • line 33 of /lib/ajax/service-nologin.php: call to require_once()
        , referer: http://run43c1f73b3e13e6a1/behatrun3/contentbank/index.php?contextid=1

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Amaia Anabitarte Amaia Anabitarte
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 50 minutes
                50m

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