You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Monday, 25 April 2022
  7 Replies
  1.3K Visits
Hi Ryan,

In specific circumstances, the JCE File Browser gives a "404 Page not Found" error:


  • In JCE Options > General options we've set the option "JCE File Browser in Image Fields" to: Yes.
  • As a result of this, the JCE File Browser is called when editing an article and clicking on the button Select for an Intro or Full text image on the Images and Links tab .
  • We've created a profile for frontend editing by the user group Publisher.
  • If a Publisher is editing an existing article in the frontend, clicking the button Select works as expected.
  • However, clicking the button in a new (not yet saved) article results in a 404 error in the dialog modal for the JCE File Browser.


When checking in the browser console, we see this:

Whan editing an existing article; this url is being called in the modal:
https://domain.com/path-to-existing-article/index.php?option=com_jce&task=mediafield.display&fieldid=jform_images_image_intro&mediatype=images&context=19

The result status of this call is 303, after which there is a redirect to:
https://domain.com/path-to-existing-article/index.php?option=com_jce&task=plugin.display&plugin=browser&standalone=1&dd468b619667928e44b0d3fef4bf563a=1&client=0&element=jform_images_image_intro&converted=1&mediatype=images&context=19


When creating a new article, the url that is called is identical, except for the path tot the article:
https://domain.com/path-to-menu-item-for-new-article/index.php?option=com_jce&task=mediafield.display&fieldid=jform_images_image_intro&mediatype=images&context=19

However in this case there is a 404 status and the process stops there.
more than a month ago
·
#111054
Accepted Answer

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#110895

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#111046
Hello,
I have the exact same issue using JCE Pro 2.9.23 RC 5 in the following case:
- using custom field with media subform field
- Menu item at level > 1, for instance: /page1/page2
Thanks for your help.
Christophe
more than a month ago
·
#111047
@Christophe - Which template are you using?

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#111048
I tested it on Cassiopeia and Gantry Clarity (Joomla 4.1.3) and got the same result.
When I put the page at root level, it's working again. When I manually extract the relative data-url, it's working in the browser:
index.php?option=com_jce&task=mediafield.display&fieldid=jform_com_fields__custom_img__row0__field4__imagefile&mediatype=images&context=22
more than a month ago
·
#111054
Accepted Answer

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#111056
Thanks a lot for your work, it's working perfectly now !
Have a nice day,
Christophe
more than a month ago
·
#111108
Wonderful.
Joris selected the reply #111054 as the answer for this post — 1 year ago
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!