Support

Admin Tools

#19564 PHP scanner finds no files

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 user79254 on Monday, 17 March 2014 12:52 CDT

user79254
 When I run the PHP scanner the scan completes but no files are ever found.
I have done a chmod on my /tmp folder and added the .htaccess file as recommended. A log file is written to /tmp during the scan but it is 0 bytes.
I have it scripted to run every half hour and it is running.
The reports just never indicate it read even one file.

tampe125
Akeeba Staff
Hello Keith,

Admin Tools PHP Scanner will report only the files that are changed from the previous scan.
So in the first scan you get 0 records, then, if you didn't change anything, in the second run you won't get any records, too and so on.
Please take a look at this page of the manual for further instructions

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!

user79254
Thanks Davide.
How am I supposed to know it worked though? It seems like the email it sends out should at LEAST indicate how many files were scanned. I thought that's what "total files" meant. And I am modifying PHP files via FTP, but it isn't picking up the changes.

The emails say:
Total Files: 0
Modified: 0
Added: 0

Also, there doesn't seem to be documentation for /index.php?option=com_admintools&view=scanner
This configuration screen for the PHP scanner is blank by default. Do I need to enter a ".php" in the File "Types to be Scanned"?
What are the recommended min / max execution time settings?

tampe125
Akeeba Staff
Can you please double check your default settings?
Is there any excluded folder?

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!

user79254
Exactly what Default Settings do you want me to check?
Everything under: http://mysite.com/administrator/index.php?option=com_admintools&view=scanner
...in Basic Configuration is blank. Min/Max times are 0/180 with a runtime bias of 90.

Under Options the Calcuate Diffs setting is Yes.
Under Options the Show charts and graphs is Yes.

nicholas
Akeeba Staff
Manager
Under the PHP File Scanner options (the blue Configure button leading to http://mysite.com/administrator/index.php?option=com_admintools&view=scanner) you need to set:
File types to be scanned:
php
phps
php3
inc
(one extension per line, no dot in front of the extension)
Excluded folders not to be scanned and Excluded files not to be scanned leave them blank
Minimum execution time: 0 seconds (or 1 second on more restrictive servers)
Maximum execution time: 5 seconds
Runtime bias: 75%

For more information on this feature please watch our (brand new) video tutorial on the PHP File Change Scanner. It's a good idea to do anyway as it tells you how this feature is intended to be used.

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!

user79254
THANK YOU!
These settings worked.

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!