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

Media Manager empty #42731

Open
seamlink-aalves opened this issue Jan 30, 2024 · 8 comments
Open

Media Manager empty #42731

seamlink-aalves opened this issue Jan 30, 2024 · 8 comments

Comments

@seamlink-aalves
Copy link

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

@richard67
Copy link
Member

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

@seamlink-aalves
Copy link
Author

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.

@dgrammatiko
Copy link
Contributor

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

@seamlink-aalves
Copy link
Author

I uninstalled JCE and still the Media manager is blank.

@richard67
Copy link
Member

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

@seamlink-aalves
Copy link
Author

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.

@Quy
Copy link
Contributor

Quy commented Feb 1, 2024

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

42731-media-manager

@seamlink-aalves
Copy link
Author

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.

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

No branches or pull requests

5 participants