• I know it’s just a warning, but your plugin has an error in
    understanding what the proper folder structure is:

    ‘[03-Dec-2014 14:23:48 UTC] PHP Warning: opendir(/public_html/mydomain.ca/my-content/plugins/) [function.opendir]: failed to open dir: No such file or directory in /public_html/mydomain.ca/my_wordpress_install/my-content/plugins/better-wp-security/modules/free/file-change/class-itsec-file-change.php on line 497′

    Thanx

    https://www.ads-software.com/plugins/better-wp-security/

Viewing 1 replies (of 1 total)
  • There is only one opendir command executed in the file class-itsec-file-change.php:

    if ( $directory_handle = @opendir( ITSEC_Lib::get_home_path() . $clean_path ) ) { //get the directory

    As you can see the opendir command is preceeded by a @ to suppress any error msg on screen (in case it fails).

    Are you getting this error in a log file (not on screen)?
    If so, I think you have nothing to worry about.

    dwinden

Viewing 1 replies (of 1 total)
  • The topic ‘fails to opendir with hard coded server paths’ is closed to new replies.