Support

Admin Tools

#41633 An unhandled Exception has been detected. 500 Layout default not found.

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.2.4
PHP version
8.2.27
Admin Tools version
7.7.0

Latest post by nicholas on Saturday, 22 February 2025 04:39 CST

incolor

I just migrated an Akeeba Backup archive to my staging server for testing. Everything seems to be working, but upon opening AdminTools > Web Application FIrewall, I experience this:

 

Admin Tools for Joomla!- An unhandled Exception has been detected 500 Layout default not found.

File <root>/libraries/src/MVC/View/HtmlView.php Line 425

 The content below this point is for developers and power users.

Joomla 5.2.4 – PHP 8.2.27 on Linux

Debug information

Exception type: Exception

#0 /html/libraries/src/MVC/View/HtmlView.php(204): Joomla\CMS\MVC\View\HtmlView->loadTemplate()
#1 /html/administrator/components/com_admintools/src/View/Webapplicationfirewall/HtmlView.php(25): Joomla\CMS\MVC\View\HtmlView->display()
#2 /html/libraries/src/MVC/Controller/BaseController.php(697): Akeeba\Component\AdminTools\Administrator\View\Webapplicationfirewall\HtmlView->display()
#3 /html/administrator/components/com_admintools/src/Mixin/ControllerEventsTrait.php(73): Joomla\CMS\MVC\Controller\BaseController->display()
#4 /html/libraries/src/Dispatcher/ComponentDispatcher.php(143): Akeeba\Component\AdminTools\Administrator\Controller\WebapplicationfirewallController->execute()
#5 /html/administrator/components/com_admintools/src/Dispatcher/Dispatcher.php(68): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#6 /html/libraries/src/Component/ComponentHelper.php(361): Akeeba\Component\AdminTools\Administrator\Dispatcher\Dispatcher->dispatch()
#7 /html/libraries/src/Application/AdministratorApplication.php(150): Joomla\CMS\Component\ComponentHelper::renderComponent()
#8 /html/libraries/src/Application/AdministratorApplication.php(205): Joomla\CMS\Application\AdministratorApplication->dispatch()
#9 /html/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\AdministratorApplication->doExecute()
#10 /html/administrator/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#11 /html/administrator/index.php(32): require_once('...')
#12 {main}

There are pages of details. I went back to the other server, and tested the Web Application Firewall. It was fine. I created a new Akeeba Backup, and tried the migration again, but I get the same error.

 

nicholas
Akeeba Staff
Manager

Can you try installing Admin Tools twice in a row, without uninstalling it before or in between?

The idea here is that either Joomla had not copied some files when updating (it happens very infrequently when updating any extension). Another possibility is that at some point the site was on a Windows or macOS server with a case-insensitive filesystem which would have indeed caused the directory holding the view template to have the wrong character case. The case-insensitive server would work fine, but as soon as it's transferred to a case-sensitive server (such as anything running on Linux) it becomes a problem. In both cases installing twice in a row will fix the problem.

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!