Support

Admin Tools

#31937 Old files are recognized as new

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 RRO on Tuesday, 29 October 2019 04:30 CDT

RRO
Hi Overthere,
just noticed, that on tonight's scan old files, like from 2013, 2014, are listed as "new". (Compare sreenshot). Any idea why that is and if it's a thing to be concerned about?

Cheers!
Ra

nicholas
Akeeba Staff
Manager
This is normal and nothing to be worried about.

The PHP File Change Scanner does not scan all file on your site but only those matching the extensions to be scanned in its configuration.

Previous versions of Admin Tools did not include the .phtml extension. This was added in 5.4.0. Therefore the old scans of your site did not record the locations, sizes, modification date and signatures of the files with a .phtml extension.

The new scan, taken with 5.4.0 does see them. Since they did not appear in any old scan Admin Tools labels them as "new". This is the expected and correct behavior.

That said, you should really not be using the .phtml extension. This is a leftover from PHP 3.x. That's not a typo. I am really talking about PHP 3 from nearly 20 years ago, not PHP 5.3 from nearly a decade ago. The .phtml extension was deprecated in PHP 4 and there's a good chance hosts will stop parsing files with these extensions as PHP in a short while, if they haven't stopped already (some hosts have, indeed, stopped treating .phtml as PHP executable files).

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!

RRO
Thx :-) Case closed.

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!