File “wafRules.rules” does not exist
-
I have used WordFence many many times in the past, but this is the first time I’ve hit this one. I ported my live site to another environment (for staging) and WordFence refused to enable the firewall stating:
The Wordfence Web Application Firewall cannot run. The configuration files are corrupt or inaccessible by the web server, which is preventing the WAF from functioning. Please verify the web server has permission to access the configuration files. You may also try to rebuild the configuration file by clicking here. It will automatically resume normal operation when it is fixed.
Doing the ‘click here’ made no difference.
I have deactivated/reactivated, deleted wflogs, deleted wordfence including Db tables and wflogs and reinstalled a fresh version and still I get this error.
I have contacted my hosting provider who has confirmed that the user/owner and the file permissions are all correct. wp-content is 755 and wflogs is 775
My wflogs folder contains:
.htaccess (size 133 bytes)
attack-data.php (empty)
config.php (empty)
ips.php (empty)
rules.php (empty)The Tools/Diagnostics only shows the errors:
Checking if web server can read from ~/wp-content/wflogs File “wafRules.rules” does not exist
Checking if web server can write to ~/wp-content/wflogs File “wafRules.rules” does not exist
The Connectivity diagnostic says everything is OK.Getting at a loss as to where to look next and would appreciate some help.
Many thanks,
Brian.
The topic ‘File “wafRules.rules” does not exist’ is closed to new replies.