Disabled allow_url_fopen setting blocking directory creation

Created on 20 May 2016, almost 9 years ago
Updated 8 August 2023, over 1 year ago

I am getting the following error from Drupal\Core\File\FileSystem::mkdir() when uploading a file on an image field for the first time:
Warning: move_uploaded_file(): s3:// wrapper is disabled in the server configuration by allow_url_fopen=0 in Drupal\Core\File\FileSystem->moveUploadedFile() (line 74 of core/lib/Drupal/Core/File/FileSystem.php).

I wonder if there is anyway round this without changing php settings. By all testing so far this doesn't appear to be an issue when using the S3 api without Drupal.

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom kalpaitch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024