• Dear Sir,

    I get the following error message:

    The directory supplied in Path to Log Files cannot be used as a valid directory. The directory /home/otelo/public_html/wp-content/uploads/ithemes-security/logs could not be created due to an unknown error. This could be due to a permissions issue.

    The permissions for that folder are set to 755.

    What need i do more?

    Thanks,
    Guy Hacha

Viewing 1 replies (of 1 total)
  • @xafari

    Make a copy of the better-wp-security/core/lib/class-itsec-lib-directory.php file.
    Then edit the better-wp-security/core/lib/class-itsec-lib-directory.php file.
    Change line 156 from:

    $result = @mkdir( $dir, $perms, true );

    to:

    $result = mkdir( $dir, $perms, true );

    Also make sure you have WP_DEBUG set to true in the wp-config.php file.

    Then retry. Hopefully this way you’ll get a more meaningfull message.
    If no extra message gets displayed on screen check the web server error_log for any errors.

    Don’t forget to UNDO both changes afterwards !

Viewing 1 replies (of 1 total)
  • The topic ‘Log files cannot be uses’ is closed to new replies.