No Code Attached Yet Information Required bug
avatar seamlink-aalves
seamlink-aalves
30 Jan 2024

I've upgraded to the latest version of Joomla from version 3.x but I no longer can list the image folder content in Media Manager. I'm also using JCE File Manager in articles and it has no problem listing folders and files.

I've checked the response from index.php?option=com_media&format=json&mediatypes=0,1,2,3&task=api.files&path=local-images:/ but the response is empty.

In the empty Media Manager I can create and list a folder. It is correctly created in the server. If I do it the other way arround, creating the folder in the server, it is not listed in the Media Manager. I checked the owner and permitions (755) are exactly the same either when creating in the server or creating through Media Manager.

The path to images folder is configured correctly in configurations. My setting is currently "images".

Steps to reproduce the issue

I navigate to Media Manager and is does not list files or folders

Expected result

I should see files or folders that are available in the server.

Actual result

System information (as much as possible)

Joomla version: 4.4.2
PHP: 8.3.1

Additional comments

avatar seamlink-aalves seamlink-aalves - open - 30 Jan 2024
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Jan 2024
avatar richard67
richard67 - comment - 30 Jan 2024

How did you do the upgrade and from which 3.x starting version exactly?

avatar richard67 richard67 - change - 30 Jan 2024
Labels Added: Information Required
avatar richard67 richard67 - labeled - 30 Jan 2024
avatar seamlink-aalves
seamlink-aalves - comment - 30 Jan 2024

The update was done from version 3.10.12 using the update process documented in Joomla site. I had to update the template and several plugins, components and modules to make it work of course. This issue is one that I haven't been able to solve.

avatar dgrammatiko
dgrammatiko - comment - 31 Jan 2024

I'm also using JCE File Manager in articles and it has no problem listing folders and files.

Unistall JCE and report back if that solved the problem

avatar seamlink-aalves
seamlink-aalves - comment - 31 Jan 2024

I uninstalled JCE and still the Media manager is blank.

avatar richard67
richard67 - comment - 31 Jan 2024

Is the plugin „Filesystem - Local“ enabled and does it point to the right folder in its configuration options?

avatar seamlink-aalves
seamlink-aalves - comment - 1 Feb 2024

I had previously checked this plugin. It is enabled and points to the correct folder. I also added another path and it shows in the left panel where the tree was supposed to appear.

Please note that the left panel shows the entry for the image folder, but the right panel is empty.

avatar Quy
Quy - comment - 1 Feb 2024

In the browser's developer tools under Network>Response, I assume data is empty.

42731-media-manager

avatar seamlink-aalves
seamlink-aalves - comment - 2 Feb 2024

I've checked the response from index.php?option=com_media&format=json&mediatypes=0,1,2,3&task=api.files&path=local-images:/ but the response is empty.

The response is empty and there is a javascript error trying to do a JSON.parse of an empty or undefined variable.

avatar Hackwar
Hackwar - comment - 17 Feb 2024

Can you see what the response is that the browser gets?

avatar seamlink-aalves
seamlink-aalves - comment - 19 Feb 2024

The request get a status 200 but the reponse is empty.

avatar Hackwar
Hackwar - comment - 19 Feb 2024

Can you enabled debug mode and set error reporting to maximum and see again what it says?

avatar Quy
Quy - comment - 5 Mar 2024

The response is empty and there is a javascript error trying to do a JSON.parse of an empty or undefined variable.

@seamlink-aalves Please post the javascript error.

avatar Hackwar Hackwar - change - 26 Mar 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 26 Mar 2024
avatar Quy Quy - change - 30 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-30 19:42:31
Closed_By Quy
avatar Quy Quy - close - 30 Mar 2024
avatar Quy
Quy - comment - 30 Mar 2024

Closing due to no response.

Add a Comment

Login with GitHub to post a comment