-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Internal server error when choosing an image #43510
Comments
I have the same problem. Here last log from everything.php: 2024-05-22T10:40:52+00:00 CRITICAL XXX.XXX.XXX.XXX error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse() This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
I have absolutely the same problem at two websites on two different server since 17th of May. "Internal Server Error" when trying to select intro image or trying to insert image into an Article or Category. Before 17th of May both of them worked without any problem. There was not any changes on the websites (nor Joomla/Component update nor any new plugin/component install nor any server update or setting changes) This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
Hi drmenzelit, This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
looking at the console while I try to select an image I get this error. (anonime) @ joomla-media-select.min.js?a034d4:27 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
@galamarco One of our customer had the similar issue. He said disable the rule You should contact your hosting provider, ask them to do the same for your hosting account. It might/should solve the issue. |
sorry here a full version of the error: joomla-media-select.min.js?a034d4:27 (anonime) @ joomla-media-select.min.js?a034d4:27 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
I had exactly the same error with two joomla pages. One is version 4.4.4, the other is version 5.1. The two websites are on two different servers. |
@ivanti @ciaowebcoder73 @om615 please vote for this problem at the top right by ticking "I have encountered this problem" and indicating the importance you attribute to it. This way it gets the right priority. ^_^ This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
@galamarco I already did it. From my console: joomla-media-select.js?a034d4:313 GET https://********/administrator/index.php?option=com_media&format=json&t…laceholder.png&mediatypes=0%2C1%2C2%2C3&40997ef…=1 404 (Not Found) This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
The problem is only present from backend, while from frontend I can select images regularly via the modal. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
While waiting for a structural solution, I share that thanks to @joomdonation it has emerged that disabling ModSecurity from cPanel (or via your hosting) solves the problem. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43510. |
@galamarco You should not have to disable ModSecurity completely, just disable the mentioned rule collections_remove_stale should be enough. |
Same error here in a Joomla4 and Joomla 5 webistes with CPANEL. Image selection stop working a few days ago out of nothing. Can this be related to a Cpanel update? Anyway i've contacted my hosting provider to disable the rule mentioned by @joomdonation |
@drmenzelit ti confermo che vedo degli errori: Here an example URL of first error "Failed to load resource: the server responded with a status of 403 ()": @joomdonation I discussed your proposal with the hosting but they tell me that for shared servers, disabling mentionedcollection_remove_stale is not an applicable solution. It would also affect other customers. |
We are having the same issue. The hosting company heightened security last week due to "a huge rash of bot attacks against WHMCS systems". We get the similar php errors, "page not found" (see below). It occurs doing many different tasks. Convert Forms component does not show the full form builder, adding an image using JCE Editor in article manager will fail to save but does not seem to break in YTP Page builder, cannot save in styles or other YTP builder areas, adding image in JSitemap failed, etc. We have done quite a bit of white listing which is not ideal. Today, the host whitelisted 941100 and 941160. Both, they said, are there to protect against XSS attacks. 2024-08-16T18:10:15+00:00 CRITICAL 149.106.104.144 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true) Thank you. |
Steps to reproduce the issue
Internal server error when choosing an image
Create or edit an article,
go to "images and links", then "select" and choose any (here screenshot: image. https://prnt.sc/zJZPZ942QT_e )
Confirm your selection by clicking on "select" https://prnt.sc/o_cqYpBezrEe
The message "internal server error" will appear (here screenshot: https://prnt.sc/Uy8zXKfMXvNz )
Expected result
setting the chosen image with the URL of the image in question.
Actual result
"Internal server error" message
System information (as much as possible)
Joomla 5.1.0
PHP 8.1.28
db MySql 10.6.17-MariaDB-cll-lve
The text was updated successfully, but these errors were encountered: