WordPress.org

Ready to get started?Download WordPress

Forums

All In One WP Security & Firewall
[resolved] File Change Detection Error (7 posts)

  1. Extelliqent
    Member
    Posted 9 months ago #

    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/

  2. wpsolutions
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  3. mbrsolution
    Member
    Posted 9 months ago #

    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

  4. Extelliqent
    Member
    Posted 9 months ago #

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

  5. wpsolutions
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  6. wpsolutions
    Member
    Plugin Author

    Posted 9 months ago #

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

  7. Extelliqent
    Member
    Posted 9 months ago #

    appreciated for excellent support and fix!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.