• Resolved wpconvert

    (@wpconvert)


    Hi.

    Have been using Bulletproof on a few sites for quite some time (since .46) and have to say thank you for the great plugin and excellent support – you really do set a benchmark for other developers to follow.

    Anyway, this isn’t a problem as such – more reporting an issue.
    Using Bulletproof Security 53.1 on WordPress 4.4.1.

    When checking the System Info, this error message displayed in File/Folder Permissions area:

    Warning: stat(): stat failed for ../wp-config.php in /var/sites/m/mywebsite.co.uk/public_html/wp-content/plugins/bulletproof-security/includes/general-functions.php on line 320

    wp-config.php recommeded security permissions 0400 current permissions 0

    I imagine that this is related to the fact that wp-config.php has been moved to the folder above public_html (I always do this with all sites as a security measure). Just thought I’d highlight the error message as something that you might want to address in a future update?

    Thanks again for all your effort.

    https://ww.wp.xz.cn/plugins/bulletproof-security/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AITpro

    (@aitpro)

    Thanks for the Kudos – we try our best and that is all anyone can do. 🙂

    Thanks for pointing that out. We will fix that in the next BPS version release. We can either suppress the php error since it falls under the insignificant error category or do an additional check for “if the wp-config.php file exists”, which would technically be the correct way to handle that issue/error/problem.

    Plugin Author AITpro

    (@aitpro)

    Oh and if you want to make the error go away now then you would edit the bulletproof-security/includes/general-functions.php file on code line 320 and add an @ symbol in front of the stat function.

    $stat = @stat($path);

    Thread Starter wpconvert

    (@wpconvert)

    And there it is – acknowledgement of the issue, considering a method for a future update…and ‘easy fix’ advice for the current installation.

    Thanks again – obviously marking as resolved.

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

The topic ‘System info reporting error for wp-config.php’ is closed to new replies.