No Code Attached Yet
avatar o-joomla-issues
o-joomla-issues
15 Apr 2024

Steps to reproduce the issue

Upload image
Mark/check image
Click delete button

Expected result

File deleted

Actual result

Error message "Error deleting the item."
Image not deleted

System information (as much as possible)

Joomla! ‎5.0.3
PHP 8.3.4 as fpm-fcgi on nginx

Additional comments

Folder owner/rights were checked and are ok
Happens in either images root folder or any sub folder
Image can be deleted with third party file(media manager like the one from Joomla Content Editor

avatar o-joomla-issues o-joomla-issues - open - 15 Apr 2024
avatar o-joomla-issues o-joomla-issues - change - 15 Apr 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Apr 2024
avatar brianteeman
brianteeman - comment - 15 Apr 2024

Is it a specific image or any image?

avatar o-joomla-issues o-joomla-issues - change - 15 Apr 2024
Title
cannot deelte image in media manager
cannot delete image in media manager
avatar o-joomla-issues
o-joomla-issues - comment - 15 Apr 2024

Fixed typo in title


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43280.

avatar Kubik-Rubik
Kubik-Rubik - comment - 15 Apr 2024

Check the browser console for errors. Also, check the server response from the action for more information in the network tab of the developer tools. Increase the error level and enable the debug mode to get a more detailed error message and the error stack.

avatar o-joomla-issues
o-joomla-issues - comment - 15 Apr 2024

Hi Victor,

checking the console actually helped: server was configured to reject DELETE requests as suggested by some Joomla hardening tips for J3.

Problem solved, it's not a Joomla issue.

Sorry for causing inconvenience and thank you supporting the Joomla project so very much.

avatar Kubik-Rubik
Kubik-Rubik - comment - 15 Apr 2024

Awesome! It's my pleasure to support the Joomla! project.

Please close the issue.

avatar alikon alikon - change - 16 Apr 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-04-16 06:10:31
Closed_By alikon
avatar alikon alikon - close - 16 Apr 2024
avatar o-joomla-issues
o-joomla-issues - comment - 22 Apr 2024

In case anyone stumbles across similar problems: do not block any of GET|HEAD|POST|DELETE request methods for Joomla 4.x+


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43280.

Add a Comment

Login with GitHub to post a comment