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

Missing lang string "filename" from tiny_media

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-81556-main
    • Hide
      1. Tail your web server logs. e.g. on Apache in Ubuntu
        • tail -f /var/log/apache2/error.log
      2. Make sure debugging is turned on.
      3. Make sure your editor is set to TinyMCE
      4. Go to a page with the TinyMCE editor. e.g. your profile page.
      5. On the editor, click on the Image button.
      6. Check the web server logs.
      7. Confirm that there are no errors related to missing strings.
      8. Drag and drop an image to the drop zone. The "Image details" modal dialogue should come up.
      9. Confirm that the file name is shown on the footer of the dialogue.
      10. Check the web server logs.
      11. Confirm that there are no errors related to missing strings.
      Show
      Tail your web server logs. e.g. on Apache in Ubuntu tail -f /var/log/apache2/error.log Make sure debugging is turned on. Make sure your editor is set to TinyMCE Go to a page with the TinyMCE editor. e.g. your profile page. On the editor, click on the Image button. Check the web server logs. Confirm that there are no errors related to missing strings. Drag and drop an image to the drop zone. The "Image details" modal dialogue should come up. Confirm that the file name is shown on the footer of the dialogue. Check the web server logs. Confirm that there are no errors related to missing strings.

      1. Tail your web server logs. e.g. on Apache in Ubuntu
        • tail -f /var/log/apache2/error.log
      2. Make sure debugging is turned on.
      3. Make sure your editor is set to TinyMCE
      4. Go to a page with the TinyMCE editor. e.g. your profile page.
      5. On the editor, click on the Image button.
      6. Check the web server logs.
      7. Expected: There should be no errors.
      8. Actual: The following errors are logged

        AH01071: Got error 'PHP message: Debugging: Invalid get_string() identifier: 'filename' or component 'tiny_media'. Perhaps you are missing $string['filename'] = ''; in /Users/jun/Work/moodles/stable_main/moodle/lib/editor/tiny/plugins/media/lang/en/tiny_media.php? in 
        * line 355 of /lib/classes/string_manager_standard.php: call to debugging()
        * line 209 of /lib/classes/output/mustache_template_source_loader.php: call to core_string_manager_standard->get_string()
        * line 184 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
        * line 203 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
        * line 135 of /lib/classes/output/external.php: call to core\\output\\mustache_template_source_loader->load_with_dependencies()
        * line ? of unknownfile: call to core\\output\\external::load_template_with_dependencies()
        * line 253 of /lib/external/classes/external_api.php: ...', referer: http://192.168.50.7/stable_main/course/edit.php?id=4
        

      AH01071: Got error 'PHP message: Debugging: Invalid get_string() identifier: 'core' or component 'addfilesdrop'. Perhaps you are missing $string['core'] = ''; in mod/addfilesdrop/lang/en/addfilesdrop.php? in 
      * line 355 of /lib/classes/string_manager_standard.php: call to debugging()
      * line 108 of /lib/external/externallib.php: call to core_string_manager_standard->get_string()
      * line ? of unknownfile: call to core_external::get_string()
      * line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()
      * line 83 of /lib/ajax/service.php: call to core_external\\external_api::call_external_function()
      * line 33 of /lib/ajax/service-nologin.php: call to require_once()', referer: http://192.168.50.7/stable_main/course/edit.php?id=4
      

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Paul Holden Paul Holden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 57 minutes
                1h 57m

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