Title: No file found.
Last modified: January 29, 2018

---

# No file found.

 *  Resolved [m0nter](https://wordpress.org/support/users/m0nter/)
 * (@m0nter)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/)
 * Hi! I can’t start ninjascanner. I had this message:
 * > Last scanning process failed and returned the following message:
   >  Fatal error:
   > No file found. Check your NinjaScanner configuration. Aborting.
 * ‘Blog directory’ box is empty. How can I fix it?
    -  This topic was modified 8 years, 3 months ago by [m0nter](https://wordpress.org/support/users/m0nter/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9916134)
 * Hi
 * That’s odd. NinjaScanner uses the `ABSPATH` constant defined in your wp-config.
   php script.
    Is your site working or have you been hacked?
 * Check you wp-config.php; The last 10 lines should look like this:
 *     ```
       ...
       ...
       /* That's all, stop editing! Happy blogging. */
   
       /** Absolute path to the WordPress directory. */
       if ( !defined('ABSPATH') )
       	define('ABSPATH', dirname(__FILE__) . '/');
   
       /** Sets up WordPress vars and included files. */
       require_once(ABSPATH . 'wp-settings.php');
       ```
   
 *  Thread Starter [m0nter](https://wordpress.org/support/users/m0nter/)
 * (@m0nter)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9919776)
 * Site was hacked, but now is ok. Also wp-config.php is correct.
 * Unfortunately, the plugin doesn’t react to path changes in the wp-config. ‘Blog
   directory’ box is still empty (only grey background)…
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9920259)
 * Is your blog chrooted, e.g., the ABSPATH is “/” only?
 *  Thread Starter [m0nter](https://wordpress.org/support/users/m0nter/)
 * (@m0nter)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9923649)
 * wp-config.php looks the same as yours. The ABSPATH is “/” only. When I changed
   it to my server root path (e.g. /my-site/) then it didn’t work. In settings ‘
   blog directory’ box was still empty.
 * On my server are many pages, each in a different directory and a domains are 
   assigned to each.
    -  This reply was modified 8 years, 3 months ago by [m0nter](https://wordpress.org/support/users/m0nter/).
    -  This reply was modified 8 years, 3 months ago by [m0nter](https://wordpress.org/support/users/m0nter/).
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9925110)
 * Try the development version of NinjaScanner, it works with ‘/’ as the ABSPATH.
 * 1. Make sure you are running NinjaScanner v1.1.
    2. Download those 4 files: [https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/report_html.php](https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/report_html.php)
   [https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/report_text.php](https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/report_text.php)
   [https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/scan.php](https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/scan.php)
   [https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/tab_settings.php](https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/tab_settings.php)
   3. Upload them over FTP to the “wp-content/plugins/ninjascanner/lib/” folder,
   and replace the 4 original files.
 * Alternatively, you can download the whole development version and install it:
   [https://downloads.wordpress.org/plugin/ninjascanner.zip](https://downloads.wordpress.org/plugin/ninjascanner.zip)
 * Then try again to run a scan.
    Don’t activate the “Always verify NinjaScanner’s
   files integrity before starting a scan” option in the settings, because this 
   is the development files and their checksum will not match the original files.
 *  Thread Starter [m0nter](https://wordpress.org/support/users/m0nter/)
 * (@m0nter)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9926018)
 * I replaced those 4 files and it works. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘No file found.’ is closed to new replies.

 * ![](https://ps.w.org/ninjascanner/assets/icon-256x256.png?rev=1783698)
 * [NinjaScanner - Virus & Malware scan](https://wordpress.org/plugins/ninjascanner/)
 * [Support Threads](https://wordpress.org/support/plugin/ninjascanner/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjascanner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjascanner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjascanner/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [m0nter](https://wordpress.org/support/users/m0nter/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/no-file-found/#post-9926018)
 * Status: resolved