Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.X]: Uploads in File Field not possible #14291

Closed
shpfive opened this issue Feb 5, 2024 · 2 comments
Closed

[4.X]: Uploads in File Field not possible #14291

shpfive opened this issue Feb 5, 2024 · 2 comments
Assignees

Comments

@shpfive
Copy link

shpfive commented Feb 5, 2024

What happened?

Description

I can't upload any Files in my Fields of Type File. They don't show the Upload / Select Buttons anymore.

Bildschirmfoto 2024-02-05 um 12 27 13

There are no Buttons in the SourceCode:

Bildschirmfoto 2024-02-05 um 12 39 59

And not issues in the console.

Steps to reproduce

  1. I have updated Craft CMS from 4.6.0 to 4.7.0 and just now to 4.7.1 and in the progress of the update from 4.6 to 4.7 the fields lost the Buttons.

Expected behavior

Craft shows the Buttons for Upload and Select from Media Library

Actual behavior

No Buttons visible. Drag and Drop is working, but thats not helpfull for some clients.

Craft CMS version

4.7.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

  • Freeform | 4.1.13
  • Instagram Feed | 2.2.1
  • Navigation | 2.0.25
  • Neo | 4.0.3
  • Redactor | 3.0.4
  • SEO | 4.2.1
  • Typed link field | 2.1.5
  • Vite | 4.0.8
@i-just i-just self-assigned this Feb 5, 2024
@i-just
Copy link
Contributor

i-just commented Feb 5, 2024

Hi, thanks for reaching out!

This is most likely caused by the changes in 4.7.0, where we prevent the use of the volume set as a temporary upload location for anything other than storing the temporary uploads. More details can be found at #14141 and #14246.

You have a few options here:

  • you can change the Temp Uploads Location (control panel > settings > assets > settings) to include a path to a subfolder that should be dedicated to temporary uploads
  • you can set up a separate volume to store your Temp Uploads
  • or switch to In the local temp folder if your hosting setup allows for this option to work

I hope this helps!

@shpfive
Copy link
Author

shpfive commented Feb 5, 2024

Thank you for the quick support.
I created a new volume for the temp uploads and the buttons show up again.

@shpfive shpfive closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants