octobercms/october · error · ApplicationException

File access halted

Error message

File access halted

What it means

Error "File access halted" thrown in octobercms/october.

Source

Thrown at modules/backend/controllers/Files.php:210

        /**
         * @event backend.files.get
         * Fires before a file is output.
         *
         * Example usage:
         *
         *     Event::listen('backend.files.get', function ((\System\Models\File) $file) {
         *         // Block access to this file
         *         return false;
         *
         *         // Or signal access denied
         *         throw new \ForbiddenException;
         *     });
         *
         */
        $response = Event::fire('backend.files.get', [$file], true);
        if ($response === false) {
            throw new ApplicationException('File access halted');
        }

        return $file;
    }
}

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/controllers/Files.php:210 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21). Data as JSON: /api/errors/5933ee37de0e16f4. Report an issue: GitHub.