Support

Admin Tools

#38504 PHP File Change Scanner Report

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.7
PHP version
8.1
Admin Tools version
7,2,2

Latest post by nicholas on Friday, 10 February 2023 03:10 CST

HKai

First question: There must be a mistake in the button text of the 'PHP File Change Scanner Report'. If I select an entry and choose the action button, There is 'publish' and 'unpublish' available, but there must be 'mark safe' and 'unmark safe'.

Second question: The botton 'mark all as save' is not working. The action uses 2s (5000 entries), the manually method takes a 5 minutes.

nicholas
Akeeba Staff
Manager

The labels are indeed wrong. Technically, marking a file as safe/unsafe is a publish/unpublish action and uses the same code in Joomla. We just put a different label. Despite the wrong label appearing in the menu the feature works fine.

Regarding Mark all as safe, clicking the button in all of the sites I have (development, testing, and live) takes under 2 seconds. This is expected since we do a mass update query instead of updating each item individually. Clicking the icon in the Marked Safe column also takes under a second, but it only updates a single record. Selecting a lot of records and then going to Actions, Publish/Unpublish takes substantially longer as each selected item is marked safe/unsafe individually. Since Admin Tools is a Joomla component, the Joomla framework runs content and system plugin actions for each item marked safe/unsafe. Some third party plugins may take several hundreds of milliseconds to a few seconds per item. If it's about 50 to 60 milliseconds per item, multiplied by 5000 items you get about 300 seconds i.e. 5 minutes.

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!