Support

Admin Tools

#38893 Admin Tools Blocking? Updates in FAQ Book Pro

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
4.2.8
PHP version
ea-php56
Admin Tools version
7.3.2

Latest post by tampe125 on Wednesday, 26 April 2023 04:09 CDT

wwod

I am having a problem updating topics in FAQ Book Pro. When I try to publish them, the extension ignores this. The FAQ Book Pro publisher looked into this and suggested that this might be caused by Admin Tools and that I should temporarily disable Tools to see if this would fix the issue. I need assistance to figure out what I need to do to accomplish this. Could someone please help me with this. Thanks

tampe125
Akeeba Staff

Hello,

Let's make sure that the problem is indeed caused by Admin Tools. In order to do so, try the following:

1. Try setting the Error Reporting level in your Global Configuration to "None". Many errors are caused by harmless PHP Notices and Warnings being output to the browser, breaking anything which requires HTTP header manipulation such as Joomla!'s session management, AJAX calls and download systems.

2. Try to replicate the issue after disabling the "System - Admin Tools" plugin. If you can still replicate the issue, it is not caused by Admin Tools. Disabling that plugin means that Admin Tools code (including the Web Application Firewall) is not running on your site.

3. If you suspect an issue with the .htaccess file, replace its contents with the contents of the stock htaccess.txt file shipped with every version of Joomla!. If you are on GoDaddy please wait for 1-30 minutes for the changes to be effective. Then, retry loading the problem page. If you can still reproduce the error, then it is not caused by .htaccess Maker.

If doing any of the above resulted in the issue still occurring, it's not related with Admin Tools and we can't help you. If doing any of the above did stop the issue from occurring, we'll have to do some troubleshooting.

First go to Admin Tools, Web Application Firewall, Configure WAF. Make sure "Log security exceptions" is set to Yes; if it's not, set it to Yes and click on Save. Now try reproducing your issue. Immediately after that, please go to Admin Tools, Web Application Firewall, Security Exceptions Log. The latest log entry at the top should have the date and time of when the issue occurred. Please copy the Reason and Target URL here so that we can further help you.

If, however, you do not see a log entry, or the Date and/or IP address do not match your last access, this problem is not caused by Admin Tools' WAF. In this case, you will have to do some .htaccess troubleshooting. You may need to read the general .htaccess troubleshooting page, as well as the page on finding out necessary .htaccess exceptions.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

wwod

I have a regular live and also a staging site. I can disable Admin Tools on the staging site but not on the regular site. This is the error I am getting when trying to disable it. 

 

An error has occurred.
403 Access Denied
Call stack
# Function Location
1 () JROOT/plugins/system/admintools/src/Feature/ProtectAgainstDeactivation.php:180
2 Joomla\Plugin\System\AdminTools\Feature\ProtectAgainstDeactivation->onApplyOrSave() JROOT/plugins/system/admintools/src/Feature/ProtectAgainstDeactivation.php:51
3 Joomla\Plugin\System\AdminTools\Feature\ProtectAgainstDeactivation->onAfterInitialise() JROOT/plugins/system/admintools/src/Extension/AdminTools.php:777
4 Joomla\Plugin\System\AdminTools\Extension\AdminTools->runFeature() JROOT/plugins/system/admintools/src/Extension/AdminTools.php:253
5 Joomla\Plugin\System\AdminTools\Extension\AdminTools->onAfterInitialise() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
6 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
7 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/libraries/src/Application/CMSApplication.php:745
8 Joomla\CMS\Application\CMSApplication->initialiseApp() JROOT/libraries/src/Application/AdministratorApplication.php:312
9 Joomla\CMS\Application\AdministratorApplication->initialiseApp() JROOT/libraries/src/Application/AdministratorApplication.php:165
10 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
11 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
12 require_once() JROOT/administrator/index.php:32

tampe125
Akeeba Staff

This happens because Admin Tools has been told to block the deactivation of itself.

You can either manually rename the plugin file or get inside the Configure WAF page and set the option "Defend against plugin deactivation" to No. Then try again.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!