Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Seemingly the same issue as #906756: The selected file /chroot/tmp/filevW2PsH could not be uploaded, because the destination is not properly configured. and #744560: Installation does not create required directory and CSS is saved in the wrong path which are allegedly fixed, but still present on 7.x-1.2.
Issue is dead simple, run file_prepare_directory()
before the file operations, never assume a directory exists in the case a user has deleted it, or it hasn't yet been created.
Patch incoming.
Comment | File | Size | Author |
---|---|---|---|
#2 | file_prepare_directory-2560747-2.patch | 1.5 KB | Deciphered |
Comments
Comment #2
Deciphered CreditAttribution: Deciphered at Realityloop for Monash University commentedComment #4
lamp5