bug PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar krishnagandhicode
krishnagandhicode
26 Feb 2026

Pull Request resolves #46610

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Added a <base> tag to the Cassiopeia error.php template header. This ensures that relative assets (like images in custom modules) load correctly when a 404 error occurs on a nested URL.

Testing Instructions

Go to Administrator > Content > Site Modules
Create a "Custom" module
Set the position to error-404 and assign it to "All Pages"
In the content editor, switch to code view and add an image with a relative path:
for eg: <img src="images/powered_by.png" alt="Test Logo">
Visit http://yourdomain.com/thispagedoesnotexist -> the custom page appears correctly and the image is also visible.
Visit http://yourdomain.com/category/thispagedoesnotexist -> the custom error page does not load the image.

Actual result BEFORE applying this Pull Request

The image fails to load , and the "Home pagee" button links to a non-existent path.

Expected result AFTER applying this Pull Request

The image loads correctly, and the Home button correctly links to the site root.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar krishnagandhicode krishnagandhicode - open - 26 Feb 2026
avatar krishnagandhicode krishnagandhicode - change - 26 Feb 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Feb 2026
Category Front End Templates (site)
avatar mariantanase mariantanase - test_item - 27 Feb 2026 - Tested successfully
avatar mariantanase
mariantanase - comment - 27 Feb 2026

I have tested this item ✅ successfully on 7714af8


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

avatar krishnagandhicode krishnagandhicode - change - 27 Feb 2026
The description was changed
avatar krishnagandhicode krishnagandhicode - edited - 27 Feb 2026
avatar krishnagandhicode
krishnagandhicode - comment - 27 Feb 2026

Closing this PR in favor of a new one(#47251) targeting the 5.4-dev branch, as the issue exists there as well.

avatar krishnagandhicode krishnagandhicode - change - 27 Feb 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-02-27 19:30:20
Closed_By krishnagandhicode
Labels Added: bug PR-6.0-dev
avatar krishnagandhicode krishnagandhicode - close - 27 Feb 2026
avatar krishnagandhicode krishnagandhicode - change - 27 Feb 2026
The description was changed
avatar krishnagandhicode krishnagandhicode - edited - 27 Feb 2026

Add a Comment

Login with GitHub to post a comment