Support

Admin Tools

#37455 Removing the generator tag on Joomla! Error page

Posted in ‘Admin Tools for Joomla!’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.1.5
PHP version
n/a
Admin Tools version
7.1.7

saraheagle

Hello, I am using the "Customise the generator meta tag", which is great, but it doesn't work on the /template/templatename/error.php page.

Can this be fixed?

I have not checked the  /template/templatename/component.php 

Thanks very much

S :)

nicholas
Akeeba Staff
Manager

No, this is not possible. This feature works by setting the meta generator in Joomla's document object. When an error occurs Joomla does NOT use the document object, it creates a new one. The way this works in Joomla 4 makes it impossible to manipulate it before the error page is displayed and the application exits. The only way to change the generator meta tag in the error page is with a template override on your site.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
The ticket information has been edited by Sarah Eagle (saraheagle).

saraheagle

I see, that is great info. I will do it through my templates then.

Thank you very much.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.