WordPress.org

Support

Support » Plugins and Hacks » All In One WP Security & Firewall » [Resolved] File Change Detection Error

[Resolved] File Change Detection Error

  • When I click on perform a check I get this error

    Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/xxx/public_html/old/components/com_mailto) [<a href='recursivedirectoryiterator.--construct'>recursivedirectoryiterator.--construct</a>]: failed to open dir: Permission denied' in /home/xxx/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-file-scan.php:183 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/home/xxx/p...', 0) #1 /home/xxx/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-file-scan.php(183): RecursiveDirectoryIterator->getChildren() #2 /home/xxx/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-file-scan.php(35): AIOWPSecurity_Filescan->do_file_change_scan() #3 /home/xxx/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-filescan-menu.php(90): AIOWPSecurity_Filescan->execute_file_change_detection in /home/xxx/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-file-scan.php on line 183

    http://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpsolutions

    @wpsolutions

    Seems like you have some directories with permissions which do not allow our plugin to scan.

    We will see if we can try and add some more robust code to fix this so that whenever such a scenario such as the one you are seeing occurs in future, the plugin will skip the unreadable directory and proceed to the next.

    Plugin Contributor mbrsolution

    @mbrsolution

    Hello @wpsolutions, that would be a great feature to add to the already great plugin.

    What if you included in the new feature a return message with a warning that X amount of files and/or folders could not be scanned. This would provide some information for the user to further investigate why those files and/or folders could not be scanned.

    Thank you for providing such a great security plugin.

    Kind regards

    it’d be nice if it could tell me what’s wrong like which directory’s privilige so I could fix it..

    Plugin Author wpsolutions

    @wpsolutions

    Hi,
    Thanks to both of you for the suggestions.

    Initially for the next release we will apply a fix which will prevent issues such as fatal exceptions and we will ensure that the code will continue with the traversal of the directories.

    In another future release we may implement something which will highlight the directories which were not readable.

    Plugin Author wpsolutions

    @wpsolutions

    The fix for this problem has now been released.
    Please upload the latest version.

    appreciated for excellent support and fix!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] File Change Detection Error’ is closed to new replies.
Skip to toolbar