Skip to content
Snippets Groups Projects
Select Git revision
  • 8.x-4.x
  • 5.0.x
  • 2.x
  • 8.x-3.x
  • 8.x.3.x
  • 8.x-2.x
  • 8.x-1.x
  • 5.1.0
  • 2.0.0
  • 5.0.0
  • 8.x-4.0
  • 8.x-4.0-alpha7
  • 8.x-4.0-alpha6
  • 8.x-4.0-alpha5
  • 8.x-4.0-alpha4
  • 8.x-3.0-alpha3
  • 8.x-1.1-alpha1
  • 8.x-2.0-alpha2
  • 8.x-1.0-alpha1
19 results

skip_temp_file_warnings

  • Clone with SSH
  • Clone with HTTPS
  • Sonal Gyanani's avatar
    Issue #3320626: Replace README.txt with README.md
    Sonal Gyanani authored and keshav committed
    95139b7f
    History

    Skip temp file warnings

    Drupal deletes unused temporary managed files automatically in file_cron. However if the file has already been deleted from disk, then Drupal generates an error message:

    The error message repeats on every cron cycle and there is no obvious way to recover from the UI.

    It seems that this error message is unnecessary and unhelpful. This module will help to skip this warning.

    For a full description of the module, visit the project page.

    Submit bug reports and feature suggestions, or track changes in the issue queue.

    Table of contents

    • Requirements
    • Installation
    • Configuration

    Requirements

    This module requires no modules outside of Drupal core.

    Installation

    Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

    Configuration

    1. Enable the module configure the string at admin -> config -> development -> logging and errors.
    2. Configure the string present in file URI.
      • Example: public is the string in the below log message
      • Could not delete temporary file "public://sample.jpg" during garbage collection
    3. Multiple types of file URI can also be configured by adding the strings in comma separated values.
      • Example: public is the string in the below first log message.
      • youtube is the string in the second log message.
      • Could not delete temporary file "public://sample.jpg" during garbage collection.
      • Could not delete temporary file "youtube://sample.mo4" during garbage collection.
    4. You can provide the values in comma separated like: public,youtube in case of above multiple type of file uri errors.