Support

Admin Tools

#42498 Admintools blocking template preview

Posted in ‘Admin Tools for Joomla! 4 & 5’
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
5.4.1
PHP version
8.4
Admin Tools version
Pro 7.8.3

Latest post by nicholas on Friday, 05 December 2025 13:07 CST

petekuhn

Using Joomlart template, and getting a blocked message on their preview.

In debug mode, I get this stack trace, showing AdminTools is blocking it (attached).

Gong through the various AdminTools logs and params, I don't see any record of it blocked or any way to let it through.

 

 

nicholas
Akeeba Staff
Manager

Based on the trace I can think of two features which could be involved in this. Please go to Admin Tools, Web Application Firewall, Blocked Requests Log and tell me what is the exact Target URL you are seeing when you get blocked trying to preview. This will allow me to give you exact instructions.

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!

petekuhn

That's the odd thing. There is nothing in the Blocked Requests Log. I reloaded the page to get the error again and checked the log again. Nothing there.

nicholas
Akeeba Staff
Manager

Well, we're going in blind. No stress. I have a fairly good idea of what is going on. I wanted to be certain, but let's just assume I am guessing the missing information right so we can at least give the most plausible solution a try.

What I know for sure from the backtrace: the feature involved is "Block template=foo site template switch".

What I do NOT know from the backtrace: whether it's the template's name or template style ID in the URL.

What I suspect: The "Block template=foo site template switch" option is set to Yes but the "Allow site templates" option is set to No. The URL uses the a template name or a template style ID corresponding to an installed template and / or configured template style of an installed template. Because "Allow site templates" is set to No, it gets blocked. If you change that to Yes, it will be allowed.

What I propose you should do: Go to Admin Tools, Web Application Firewall, Configure WAF, Cloaking tab and set "Allow site templates" to Yes. Click on Save & Close.

Please tell me how that goes.

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!

petekuhn

That did it. Thank you, Nicholas.

nicholas
Akeeba Staff
Manager

You're welcome!

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!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!