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

[5.0.0-beta.10]: User photo "upload a photo" and Asset index "Upload files" button are broken #14638

Closed
kylecotter opened this issue Mar 20, 2024 · 5 comments
Labels

Comments

@kylecotter
Copy link

What happened?

Description

Two issues, seemingly related.

When trying to upload a user photo, the button does not do anything.

When trying to upload files to a volume from the asset index page, the "Upload files" button does not work. Dragging a file in works.

Steps to reproduce

  1. Click the "upload a photo" button on a user account
  2. Click "upload files" on a volume

Expected behavior

A file modal opens

Actual behavior

Nothing happens

Craft CMS version

5.0.0-beta.10

PHP version

8.2.17

Operating system and version

Linux 6.6.16-linuxkit

Database type and version

MySQL 8.0.30

Image driver and version

Imagick 3.7.0 (ImageMagick 7.1.1-13)

Installed plugins and versions

  • All plugins disabled
@kylecotter kylecotter added the bug label Mar 20, 2024
@i-just
Copy link
Contributor

i-just commented Mar 21, 2024

Hi, thanks for getting in touch! I’m unable to replicate this. Could you please let me know the following:

  • can you see any errors in the console
  • what’s your Settings > Users > Settings > User Photo Location set to
  • your Filesystem and Volume settings

@kylecotter
Copy link
Author

So, was able to track this down to just being an issue in Chrome - Safari worked fine. Weird part was there was no console logs or any indication of an error.

After realizing I had a Chrome update available (though the version of Chrome this was happening on was not very out of date) and updating, everything started working. So, guess we're good - sorry to waste your time!

@brettburwell
Copy link

Hey y'all. Came here with the same issue (I'm on Craft 4.7.4).

Nothing changed on the site, and seemingly overnight the ability to upload files stopped working. And similar to @kylecotter, dragging and dropping to upload still works.

As a quick test, I tried using a different browser (Firefox), and it magically worked. So I believe the issue is actually with a recent Chrome release.

@brettburwell
Copy link

@kylecotter beat me to it. Jinx!

@i-just
Copy link
Contributor

i-just commented Mar 21, 2024

Thanks for the update! Glad to hear it’s all working now :)
I checked this in Firefox and Chrome on Craft v4 and v5 before asking for more details. My Chrome version must have been pre or post that buggy one. I just updated to the latest Chrome and it still works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants