I'm encountering an issue when trying to navigate to Media > Media Gallery in the Magento admin panel. It's displaying an error like this
Does anyone have any suggestions on what might be causing this issue or how I can resolve it? Any help would be highly appreciated.
PS: before 404 error i got something like this
The path is not allowed: index.php/admin/media_gallery/media/index/key/21cc6a13bf2736996
Make sure the URL you are using to access the Media Gallery is correct. It should typically be in the format: http://yourdomain.com/admin/media_gallery/index/
Clear the cache in Magento to ensure that you're viewing the most up-to-date version of the admin panel. You can do this by navigating to System > Cache Management and selecting "Flush Magento Cache."
Try running reindexing command
Ensure that the necessary files and directories have the correct permissions. The web server needs appropriate read and write permissions to access and modify files in the Magento installation. You can consult Magento's documentation or contact your hosting provider for specific file permission requirements.
If you have recently installed or updated any modules, there might be a conflict causing the issue. Try disabling recently installed or updated modules one by one to identify if any of them is causing the problem.
Examine the server logs (e.g., Apache error logs or Magento logs) to see if any specific error messages are being generated when you encounter the 404 error. These logs can provide valuable information about the cause of the issue.
Thank you for your reply!
I am sorry I am new to Mangeto Can you explain a little bit more about step 01 ->
(Make sure the URL you are using to access the Media Gallery is correct. It should typically be in the format
Did you mean this on Stores -> Configuration like this
or do I have to create folders as admin/media_gallery/