WordPress.org

Forums

iThemes Security (formerly Better WP Security)
[resolved] File Change Detection: bizarre wp-admin/error_log entries (2 posts)

  1. Brock Rogers
    Member
    Posted 1 year ago #

    So, I'm getting the following odd error_log entries:

    [19-May-2014 16:02:13 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/[username]/public_html/..) is not within the allowed path(s): (/home/[username]/public_html:/home/[username]/tmp:/usr/local/lib/php:/usr/lib/php:/tmp) in /home/[username]/public_html/wp-content/plugins/better-wp-security/modules/free/file-change/class-itsec-file-change-admin.php on line 668
    [19-May-2014 16:02:13 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/[username]/public_html/..) is not within the allowed path(s): (/home/[username]/public_html:/home/[username]/tmp:/usr/local/lib/php:/usr/lib/php:/tmp) in /home/[username]/public_html/wp-content/plugins/better-wp-security/modules/free/file-change/class-itsec-file-change-admin.php on line 677

    Offending lines are similar:

    if ( file_exists( $directory . $file ) && $file != '.' && $file != '..' && ! is_dir( $directory . $file ) ) {

    The only difference in the line is the not before is_dir( $directory . $file ). Any ideas as to what could be going on here?

    https://wordpress.org/plugins/better-wp-security/

  2. iThemes Support
    Member
    Posted 1 year ago #

    It looks like your host as restrictions on running the file functions in php. You will need to contact your host to get the restriction on the function removed. For more information on the error please visit:

    http://www.templatemonster.com/help/open_basedir-restriction-in-effect-filex-is-not-within-the-allowed-paths-y.html

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic