WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WP Security Scan] Warning functions.php on line 22 (4 posts)

  1. 4help
    Member
    Posted 5 years ago #

    WP - Security Scan

    Name File/Dir Needed Chmod Current Chmod
    root directory ../ 0755 755.
    wp-includes/ ../wp-includes 0755 755.
    PHP Error Message

    Warning: fileperms() [function.fileperms]: stat failed for ../.htaccess in /home/*********/public_html/wp-content/plugins/wp-security-scan/functions.php on line 22

    Hello everyone. Can anyone help me with this?

    Thanks. :)

    http://wordpress.org/extend/plugins/wp-security-scan/

  2. 4help
    Member
    Posted 5 years ago #

    I don't know if this helps, but it appeared below it:

    .htaccess../.htaccess0644.0.wp-admin/index.phpindex.php0644755.wp-admin/js/js/0755755.wp-content/themes/../wp-content/themes0755755.wp-content/plugins/../wp-content/plugins0755755.wp-admin/../wp-admin0755755.wp-content/../wp-content0755755.

  3. 4help
    Member
    Posted 5 years ago #

    I don't know how I fixed it, but now I'm getting a different problem.

  4. VikiTech
    Member
    Posted 5 years ago #

    I faced the same issue, and resolved it by changing the .htaccess file permissions to 644 via File Zilla.

    If you are not comfortable creating .htaccess files by yourself, i would highly recommend The AskApache Password Protect WP Plugin. It can be found here: AA PassPro.

    It would create the .htaccess files in the root and the wp-admin for you can gives you a awesome list of protection options for WordPress from BOT attacks. Make sure you follow the instructions and go through the diagnostic test the plugin goes through to check your webhost capabilities and guides you, which options to select.

    If any options creates issues,just re-edit .htaccess through FTP and dont enable the same option next time in the plugin!

    This is a good step towards protecting and securing WordPress!
    Hope this help.

Topic Closed

This topic has been closed to new replies.

About this Topic