One of our sites updated to 5.3.0-rc1
and despite our maximum upload limit being 10MB, some files are being rejected from upload with no warning. Other sites on 5.2.5
or 5.2.6
are unaffected, so I can only assume that the issue is with the new(?) file/media manager. The issue is not limited to any specific file type from what I can see, it's happening with .png
and .pdf
files and isn't specific to any browser either. Since smaller images upload, the issue could be related to an upload time out.
Unsuccessful upload example (Image @ ~5.7MB):
Successful upload example (Image @ ~6.6KB):
Labels |
Added:
No Code Attached Yet
|
@joelis10 Could you check and report back if PR #44848 solves your issue? It is for J6, so you can't test on 5.x, and it can't be tested with the patchtester. It would need to make a new installation on the same environment where you have the issue, e.g. in a subfolder or a subdomain, with the patched installation package which you can find here: https://artifacts.joomla.org/drone/joomla/joomla-cms/6.0-dev/44848/downloads/84008/Joomla_6.0.0-alpha1-dev+pr.44848-Development-Full_Package.zip
@joelis10 Not related to your issue, but I see the PHP setting "Maximum Input Variables" (max_input_vars) is 1000. That is a little bit small and could make problems on large sites with many articles or many users. I'd recommend 5000. But as said, it would not fix your issue here.
Hi @joelis10, I took your image and uploaded into a Joomla 5.3.0. website (Stable version) without any problems.
It shows :
432381575-3203dd93-aa20-4b58-8434-2bc36df28662.jpeg
Folder: local-images:/
Type: File
Date Created: 2025-04-11 05:32
Date Modified: 2025-04-11 05:32
Dimensions: 5184px * 3456px
Size: 5580.71 KB
MIME Type: image/jpeg
Extension: jpeg
At the moment, I have these settings in my PHP settings:
Setting Value
Upload Max Filesize 1000M
Post Max Size. 1000M
Memory Limit 512M
@richard67 - I'd love to see if that Joomla 6 package works, but it would be deployed to a live environment and unfortunately we can't have the risk of more than just the Media page breaking. We do have a test site to deploy to, but again, there's still the risk of more breaking and unfortunately we can't have that.
@exlemor - where did you get 5.3.0 stable? From what I can see, 5.2.6 is the latest Joomla 5 stable version, released the other day.
@joelis10 Nightly builds at developer.joomla.org:
Thanks @fgsw but that does not look like a 'stable' version as @exlemor says, so unless it's confirmed to fix the Media issue, I'd rather not update our live environment. I'm not sure how we managed to get on the Release Candidate channel in the first place, but a Stable channel release is ideally what I'd prefer to upgrade to from here.
Quick test that would pseudo replicate the effects of the code change that @richard67 referred to would be to change the maximum upload size to 20mb
If that doesnt resolve the problem for you then the problem is something else
I increased the max size to 20MB but still run into the same issue. The blue progress bar appears for a second, then disappears.
So that confirms that the changes @richard67 was referring to will not resolve this for you.
In your browser console there should be an error message displayed when the upload fails
I've generated a .har
dump too, in case that helps: HAR GDrive link
Also, I tried the same upload in Chrome and got a more detailed error in the console:
Clicking the first reference takes me here:
Hope this helps.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-04-16 08:21:12 |
Closed_By | ⇒ | joelis10 |
Hi all, 5.3.0 stable (released today/yesterday) seems to have fixed our upload issue. Closing.
Please can you go to system>system information and on the second tab for php settings check the values for
Upload Max Filesize
Post Max Size