Unable to open wp-content/wflogs/config.php for reading and writing
-
Hello,
I have read other posts on the forum regarding this issue. They have been marked resolved and closed, so I cannot add onto those.
And I still have error:
“Unable to open wp-content/wflogs/config.php for reading and writing”
I use NGINX and WPCLI.
I have disabled wp-cron in a wp-config.php file (wp-cron is run by curl).
Permissions for wflofs folder: 775
Permissions for config.php file: 660I’m not using the default user (www-data or root).
I have created my own user.And…
When I delete the wflogs directory, it is recreated with default user www-data (errors with ips.php and config.php).
When I change user to myownuser everything is ok. No errors.
But after few minuts (I think because of cron) user for config.php file is back to www-data. And errors start again.
Why Wordfence change my own user for this file? Only for this file.
How to fix it?Regards,
Jolanta
- The topic ‘Unable to open wp-content/wflogs/config.php for reading and writing’ is closed to new replies.