The file could not be uploaded because the destination PATHNAME is invalid

Created on 30 August 2022, almost 2 years ago
Updated 5 April 2023, about 1 year ago

I cannot get the configuration path settings to work. I've tried multiple subpaths in my directory, but each time I attempt to upload a file, I get this message:

The file could not be uploaded because the destination "/sites/default/files" is invalid. Of course, that file directory is obviously in my tree. So what am I missing??

I've tried all variations and nothing is working. Please advise how to configure this field.

πŸ› Bug report
Status

Active

Version

3.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States arlingtonvoicellc

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.

  • πŸ‡ΊπŸ‡ΈUnited States SuperfluousApostrophe

    The solution by @Loyarc in #6 did it for me. It would be nice for the module to suggest some options such as temporary:// or public://.

  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    I have used public://sites/default/files/testing with success so I agree that the description for the

    Upload location
    

    field could include a couple examples so people don't trip up on this.

    Anyone want to create a tiny patch?

Production build 0.69.0 2024