No Code Attached Yet
avatar cloudfaction
cloudfaction
7 Aug 2024

Steps to reproduce the issue

i have several png images that result in this error. and halt. nothing is shown.

Expected result

have the media manager show all images.

Actual result

for some reason the system halts, if there is only 1 image it cannot process, nothing is shown. it should only not show the image that it has issues with, but should show all other images.

System information (as much as possible)

PHP 7.4.33
MySQLi 8.0.36
J 4.4.6

Additional comments

media-manager.min.js?8e3a78d4ae3e1ccce3bedff2c951a25009d8e086:5 Uncaught (in promise) Error: [object XMLHttpRequest]
at media-manager.min.js?8e3a78d4ae3e1ccce3bedff2c951a25009d8e086:5:21404

avatar cloudfaction cloudfaction - open - 7 Aug 2024
avatar joomla-cms-bot joomla-cms-bot - change - 7 Aug 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Aug 2024
avatar cloudfaction cloudfaction - change - 7 Aug 2024
The description was changed
avatar cloudfaction cloudfaction - edited - 7 Aug 2024
avatar brianteeman
brianteeman - comment - 7 Aug 2024

Without being able to test with your png it will be impossible to test

avatar Fedik
Fedik - comment - 7 Aug 2024

It is very likely the PNG resolution is high, or server memory limit is low, or both.
In general, PHP GD need a lot of memory for large images.

avatar Fedik Fedik - change - 7 Aug 2024
Labels Added: Information Required
avatar Fedik Fedik - labeled - 7 Aug 2024
avatar Fedik
Fedik - comment - 7 Aug 2024

Without detailed information it is hard to tell what is going on. There can be 1000 reasons.
Addittionaly to "Uncaught (in promise) Error" the browser may show actual error, sometimes.

it should only not show the image that it has issues with, but should show all other images.

I do not think it is realy possible in Media manager.

avatar cloudfaction
cloudfaction - comment - 7 Aug 2024

ov002_03
this was the png in question.

avatar Quy Quy - change - 7 Aug 2024
Labels Removed: Information Required
avatar Quy Quy - unlabeled - 7 Aug 2024
avatar fgsw
fgsw - comment - 8 Aug 2024

Can't confirm:
Ohne Titel

avatar brianteeman
brianteeman - comment - 9 Aug 2024

Unfortunately github probably changes the image when you upload it so we cant test with it. Perhaps you can zip the image and then share the zip - that might work

avatar cloudfaction
cloudfaction - comment - 9 Aug 2024

ov002_02.png.zip
This is the zipped png file

avatar brianteeman
brianteeman - comment - 9 Aug 2024

Thanks for doing that. Unfortunately I am unable to replicate your error. The only thing I can think of to check at this time is to see if you have the php extensions gd and fileinfo

You can determine this by checking the system information available fropm the system dashboard

image

avatar fgsw
fgsw - comment - 9 Aug 2024

@cloudfaction also using the new uploaded file i'm unable to reproduce the error you have reported:
Untitled

avatar cloudfaction
cloudfaction - comment - 9 Aug 2024

ov002_03.png.zip

my bad, it was this file.

avatar cloudfaction
cloudfaction - comment - 9 Aug 2024

Thanks for doing that. Unfortunately I am unable to replicate your error. The only thing I can think of to check at this time is to see if you have the php extensions gd and fileinfo

You can determine this by checking the system information available fropm the system dashboard

image

both are the same as your screenshot.

avatar brianteeman
brianteeman - comment - 9 Aug 2024

Still no problem with 003

If you open and save the file with another graphic program do you still have the problem?

avatar cloudfaction
cloudfaction - comment - 9 Aug 2024

no, it shows, but you can see that the bottom of the image is gone. the png is not faulty. but still it should not block my entire media manager, in my opinion.

avatar brianteeman
brianteeman - comment - 9 Aug 2024

image

I have opened the png in multiple programs and in 003 there is empty space in the bottom 2/3

avatar cloudfaction
cloudfaction - comment - 9 Aug 2024

yep it is. but that is not the point. i have a joomla install with the mediamanager stalling on this image. but if no one can reproduce this, i guess closing the issue is the best. thank you all for your efforts!

avatar brianteeman
brianteeman - comment - 9 Aug 2024

Can someone close this as has been requested - thanks

avatar Quy Quy - change - 9 Aug 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-08-09 15:18:54
Closed_By Quy
avatar Quy Quy - close - 9 Aug 2024

Add a Comment

Login with GitHub to post a comment