No Code Attached Yet
avatar joelis10
joelis10
10 Apr 2025

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):

Image

Successful upload example (Image @ ~6.6KB):

Image

avatar joelis10 joelis10 - open - 10 Apr 2025
avatar joomla-cms-bot joomla-cms-bot - change - 10 Apr 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Apr 2025
avatar brianteeman
brianteeman - comment - 10 Apr 2025

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

avatar joelis10
joelis10 - comment - 10 Apr 2025

Image

avatar richard67
richard67 - comment - 10 Apr 2025

@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

avatar richard67
richard67 - comment - 10 Apr 2025

@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.

avatar exlemor
exlemor - comment - 11 Apr 2025

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

avatar joelis10
joelis10 - comment - 11 Apr 2025

@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.

avatar fgsw
fgsw - comment - 11 Apr 2025

@joelis10 Nightly builds at developer.joomla.org:

Image

avatar joelis10
joelis10 - comment - 11 Apr 2025

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.

avatar brianteeman
brianteeman - comment - 11 Apr 2025

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

Image

If that doesnt resolve the problem for you then the problem is something else

avatar joelis10
joelis10 - comment - 11 Apr 2025

I increased the max size to 20MB but still run into the same issue. The blue progress bar appears for a second, then disappears.

avatar brianteeman
brianteeman - comment - 11 Apr 2025

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

avatar joelis10
joelis10 - comment - 11 Apr 2025

I'm not sure why I didn't look in the console before, but you are correct:

Image

However, the Response tab is empty.

avatar joelis10
joelis10 - comment - 14 Apr 2025

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:

Image

Clicking the first reference takes me here:

Image

Hope this helps.

avatar joelis10 joelis10 - change - 16 Apr 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-04-16 08:21:12
Closed_By joelis10
avatar joelis10 joelis10 - close - 16 Apr 2025
avatar joelis10
joelis10 - comment - 16 Apr 2025

Hi all, 5.3.0 stable (released today/yesterday) seems to have fixed our upload issue. Closing.

Add a Comment

Login with GitHub to post a comment