Title: Scan fail
Last modified: July 3, 2018

---

# Scan fail

 *  Resolved [francarame](https://wordpress.org/support/users/francarame/)
 * (@francarame)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/)
 * This is the error scan. I have checked line 754, but it is empty. On line 753
   there are filenames and I have tried to edit them, but it doesn’t work.
    I have
   another site on the same domain in a subfolder, and the scan works correctly.
   Here it is the log:
 * [Jul 03 22:48:49:1530650929.441932:1:error] <br /> <b>Warning</b>: scandir(D:\
   inetpub\webs\violacappellettiit/,D:\inetpub\webs\violacappellettiit/): Access
   is denied. (code: 5) in <b>D:\inetpub\webs\violacappellettiit\wp-content\plugins\
   wordfence\lib\wfScanEngine.php</b> on line <b>754</b><br /> <br /> <b>Warning
   </b>: scandir(D:\inetpub\webs\violacappellettiit/): failed to open dir: No such
   file or directory in <b>D:\inetpub\webs\violacappellettiit\wp-content\plugins\
   wordfence\lib\wfScanEngine.php</b> on line <b>754</b><br /> <br /> <b>Warning
   </b>: scandir(): (errno 2): No such file or directory in <b>D:\inetpub\webs\violacappellettiit\
   wp-content\plugins\wordfence\lib\wfScanEngine.php</b> on line <b>754</b><br /
   >
    [Jul 03 22:48:49:1530650929.440241:2:error] Scan terminated with error: Wordfence
   could not read the contents of your base WordPress directory. This usually indicates
   your permissions are so strict that your web server can’t read your WordPress
   directory. [Jul 03 22:48:48:1530650928.664184:2:info] The disk has 232209.92 
   MB available [Jul 03 22:48:48:1530650928.663438:2:info] Total disk space: 599.87
   GB — Free disk space: 226.77 GB [Jul 03 22:48:48:1530650928.634762:2:info] Scanning
   DNS A record for [http://www.violacappelletti.it](http://www.violacappelletti.it)[
   Jul 03 22:48:48:1530650928.632614:2:info] Starting DNS scan for [http://www.violacappelletti.it](http://www.violacappelletti.it)[
   Jul 03 22:48:41:1530650921.787592:1:info] Contacting Wordfence to initiate scan[
   Jul 03 22:48:25:1530650905.488529:1:info] Scan stop request received.

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

 *  Plugin Support [wfscott](https://wordpress.org/support/users/wfscott/)
 * (@wfscott)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/#post-10462885)
 * Hello [@francarame](https://wordpress.org/support/users/francarame/),
 * While we don’t officially support issues with Windows, I can point you in the
   right direction.
 * If you can, check to see if the option “Scan files outside your WordPress installation”
   is unchecked. (Wordfence > Scan > Scan options and scheduling > Scan files outside
   your WordPress installation)
 * If that box is checked, uncheck it and try running another scan. If you get similar
   errors, you will need to look into changing the permissions of your root directory`
   D:\inetpub\webs\violacappellettiit\` in order to allow Wordfence to access it
   during the scan.
 *  [autorentaluganda](https://wordpress.org/support/users/autorentaluganda/)
 * (@autorentaluganda)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/#post-10468853)
 * hallo their i guess i have the same issue i canno scan completely, is their anyway
   i can be helped coz my site is redirecting to things that i donot know
 *  Plugin Support [wfscott](https://wordpress.org/support/users/wfscott/)
 * (@wfscott)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/#post-10470413)
 * Hello [@autorentaluganda](https://wordpress.org/support/users/autorentaluganda/),
 * We’ll be happy to take a look and see what might be causing your issue. Could
   I please get you to start a new separate topic with some information detailing
   the issue you’re having? Having the issues in their own separate topics helps
   us keep track of things better.
 * -Scott
 *  [autorentaluganda](https://wordpress.org/support/users/autorentaluganda/)
 * (@autorentaluganda)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/#post-10470883)
 * please do get me in the topic thanks,
    my site is autorentaluganda.com
 * Thanks
 *  Thread Starter [francarame](https://wordpress.org/support/users/francarame/)
 * (@francarame)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/#post-10473229)
 * Thanks for the reply, the option was correctly checked, but the scan did not 
   work. I had to delete everything and restore an old backup. Could not find out
   what it was.
    Best regards.

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

The topic ‘Scan fail’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [francarame](https://wordpress.org/support/users/francarame/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/scan-fail/#post-10473229)
 * Status: resolved