Support

Admin Tools

#10197 2 questions

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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 04 January 2012 15:34 CST

JUG-Heerenveen
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.7.3
PHP version: 5.3.5
MySQL version: 5.1.41
Host: (optional, but it helps us help you)
Admin Tools version: 2.1.14


Description of my issue:

Hi Nicholas,

I have 2 questions:

1.)
Locked out by WAF:
When I'm locked out of my sites back-end by the WAF I know I can get access again using FTP by renaming a file in the plugin/system/admintools... folder to get access again.

But... Till now I found 3 different instructions which file to rename. Which is the correct one?

a.) In the Troubleshooter and the admin-tools.pdf you suggest to rename main.php to main-disable.php

b.) In the Automatic IP Blocking e-mail send by the system is suggested to rename: plugins/admintools/pro.php or plugins/admintools/admintools/pro.php
The 'system' directory is not correct written in the path her, but 'pro.php' exist anyway.

c.) In forumpost https://www.akeebabackup.com/support/forum/admin-tools-support/500-error-accessing-waf-after-udate/55317.html#p55317 you suggests:
"In case you can not access your site's administrator section, you can always rename plugins/system/admintools.php (Joomla! 1.5) or plugins/system/admintools/admintools.php (Joomla! 1.7, 2.5) to admintools.php.bak."

So which file to rename? Or can I use all 3 files? (not together of course)

2.)
Live update:
You released the new alpha release 2.2.a1 for Admin Tools (Pro).
On your website you made this correct statement:

"Public preview (alpha) releases may differ from the stable product in terms of available features and may have not undergone thorough testing. You are advised to use them and test them on development sites before deploying them on a live site."

However: In the LiveUpdate screen of Admin Tools the only indication that this is a alpha version is in the version number.
When I click the release notes link in LiveUpdate there isn't any alpha release statement. When I click the "read more" link I'm going straight away to the download page also without any alpha warning.

Is it possible to add the 'alpha statement' also to the release notes information. Not everyone detects the 'a' in the versionnumber and understand this is an alpha version.

Offtopic:
I unwanted locked myself out during demonstration of Admin Tools last night in #jug0513 (NL, Heerenveen). This was a good 'live' example of the features of Admin Tools Pro! LOL

Best regards,
Benno Stulemeijer


nicholas
Akeeba Staff
Manager
Hello Benno,

1. Any of the three will do. admintools.php calls main.php which calls pro.php, in this order. Renaming either one will "break" the chain of execution, therefore disabling the plugin.

In case you're wondering why it's broken in three files, here's why. admintools.php is loaded by Joomla, checks the PHP version number and if Admin Tools is installed, then calls the main.php (it's a protection against accidental installation on an unsupported server environment). main.php is the main plugin file, it register the plugin class which is called by Joomla!. Since we have two "flavours" of Admin Tools (Core and Pro) and I wanted to avoid code duplication, the shared core & pro features are to be found in the core.php file, whereas the pro only features (e.g. all WAF features) are to be found in the pro.php file. The main.php file loads the core.php and pro.php, depending on Admin Tools' version. Since lock-out occurs due to the pro-only features inside pro.php, renaming any of the admintools.php, main.php or pro.php will result in those features not executing, therefore allowing you to access your site again.

2. I have already changed the format of the Live Update page. You now have five lines: Installed version, Latest version, Latest release date, Direct download URL and the new line called Information. This line contains two links labelled "Release notes" and "Read more". Guess what they do :)

3. Regarding the offtopic, it's cool, isn't it? :D Suddenly people realise that what Admin Tools doesn't just talk the talk, it also walks the walk ;)

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!