• Resolved Johnot

    (@biblo47)


    On domain https://trashvideoarchives.com/
    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.
    When I follow that link it says:
    We were unable to write to ~/wp-content/wflogs/ which the WAF uses for storage. Please update permissions on the parent directory so the web server can write to it.
    I can’t find the ‘Optimize the Wordfence Firewall’ button

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @biblo47, sorry to see you’re having trouble with optimizing and running the firewall.

    Usually the ‘Optimize the Wordfence Firewall’ button is present in the setup wizard reached through the ‘Click here to Conifigure’ option that appears when the firewall is not yet optimized after setting up Wordfence. If you can’t see these options, chances are that you have already been through these setup steps so the problem may be with permissions, the wflogs folder, or rules.php file itself.

    Aside from making sure WordPress directories have the recommended 755 permissions by using your hosts’ file manager or FTP, make sure you have the latest updates to Wordfence and WordPress, then try deleting the rules.php file in wp-content/wflogs. Wordfence will automatically regenerate the file (usually within 30 minutes.)

    If you have persistent problems with this file/folder, you can bypass this entirely by setting Wordfence to write to the MySQLi storage engine instead of a file if you prefer: https://www.wordfence.com/help/firewall/mysqli-storage-engine/

    There’s also a useful firewall optimization troubleshooting guide which I’m providing here for reference: https://www.wordfence.com/help/firewall/optimizing-the-firewall/troubleshooting/

    Let me know how that goes for you.

    Peter.

    Thread Starter Johnot

    (@biblo47)

    deleting the rules.php file in wp-content/wflogs worked. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Firewall cannot run’ is closed to new replies.