e107 Wiki: English | Русский | Deutsch | Français | Magyar | Português | Български | Česky | Nederlands | Ελληνικά | Italiano | Norske | Polska | Slovenščina | Español | Svenska | Translate: Wiki | Page
The File Inspector is an admin tool for scanning and analysing the files on your sites server. It can be found in your admin area under tools. As it scans your sites server it checks each file and compiles a break down based on whether the file is an e107 core file and passes an integrity check, or whether the file is unknown to e107. The results are displayed in an explorer style, directory tree interface and the files are clearly marked as to their status.
File Inspector Scan
When the inspector encounters an e107 core file it checks it for file consistency to make sure it isn't corrupted and hasn't been tampered with (by comparing an md5 hash of the file with its corresponding md5 hash in the core image).
Running a Scan
Reviewing File Inspector Scan Results
Now you have ran the inspector check the results closely.
Here is a sample scan.
When you have problems with your website this should be one of your first debugging checks to do.
Core File Inspector Failure Problems and Solutions
This could mean several things...
The file is corrupted
This could be because the file was corrupted in the zip, got corrupted during extraction or got corrupted during file upload via FTP. You should try re-uploading the file to your server and re-run the scan to see if this resolves the error.
The file is out of date
If the file is from an older release of e107 to the version you are running then it will fail the integrity check. Make sure you have uploaded the newest version of this file.
The file has been edited
If you have edited this file in anyway it will not pass the integrity check. If you intentionally edited this file then you need not worry and can ignore this integrity check fail. If however the file was edited by someone else without authorisation you may want to re-upload the proper version of this file from the e107 zip.
If you are a CVS user
If you run checkouts of the e107 CVS on your site instead of the official e107 stable releases, then you will discover files have failed integrity check because they have been edited by a dev after the latest core image snapshot was created
See Also Integrity check For Plugins