Support

Admin Tools

#20969 PHP File Change Scanner in ver: 3.1.1 not working

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 user83138 on Wednesday, 17 September 2014 10:30 CDT

user83138
After I had upgraded Admin Tools to ver 3.1.1 from 3.0.3 the CRON scheduled PHP File Change Scanner did not work. I tried a manual scan and got a HTTP 500 error. I rolled Admin Tools back to ver 3.0.3 using the Akeeba restore point and the PHP Scanner is now working. Please advise how to proceed with upgrading to ver: 3.1.1

nicholas
Akeeba Staff
Manager
There was a bug in 3.1.0 which made it impossible to run the PHP File Change Scanner. It was fixed and we released 3.1.1 which includes the fix. Please try installing it again, twice and without uninstalling the existing copy of Admin Tools. This should let Joomla! copy all necessary 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!

user83138
Thanks for the quick response. Unfortunately it has not worked. As instructed I installed ver 3.1.1 twice without installing the original copy. Ran the PHP Scanner and got the 500 Internal Server Error. So on the off chance I installed again (without removing original) ran the PHP Scan and still got the 500 Internal Server Error. At the minute I have NOT removed version 3.1.1.

nicholas
Akeeba Staff
Manager
I cannot reproduce this issue. I want you to check something. Please open the file administrator/components/com_admintools/akeeba/platform/jfscan/engines/archiver/jfscan.php with a text editor. Take a look at likes 242 to 245. Do they read exactly:
			// Add a new file record
			unset($filedata->sourcePath);
			$db->insertObject('#__admintools_filescache', $filedata);
			unset($filedata);

or is there any of these lines missing?

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!

user83138
Yes they do. Copied below in case I missed something!!
// Add a new file record
unset($filedata->sourcePath);
$db->insertObject('#__admintools_filescache', $filedata);
unset($filedata);

nicholas
Akeeba Staff
Manager
OK, I have a good idea at what's going on. Try clicking the "Purge Files Cache" button in the PHP File Scanner page and then run the file scanner again. The scan should now complete without a problem. You won't need to click on that button again before any further scans.

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!

user83138
Nicholas thanks very much problem solved. Ticket 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!