• Resolved fcda

    (@fcda)


    When we installed WordFence, we cannot save or load any configuration settings.
    The Dashboard gives the following error :

    “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. “

    The PHP log shows there is an error reading the config data.

    [31-Aug-2018 21:25:04 UTC] Error reading Wordfence Firewall config data, configuration file could be corrupted or inaccessible. Path: C:\Webs\~Live\fda/wp-content/wflogs/config.php

    We have tried re-installing and tried recreating the config file, but we cannot get it work work

    As you can see, it appears WordFence is trying to load the config path using a mix of
    forward slashes and backslashes. If it used one other the other, it would work, but the mix of ‘\’ and ‘/’ gives this error.

    Is there a way to fix this and force Wordfence to use ALL ‘/’ or ALL ‘\’ in the path.

    In case you need to know, we are using IIS 8.5 / PHP 7.2.2 / WordPress 4.9.8 / WordFence 7.1.11 (1534873799)

    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi fcda,

    Thanks for bringing this issue to us, however, installing Wordfence plugin on Windows server platform isn’t officially supported at the moment as mentioned on the plugin’s requirements page.

    Thanks.

    Hi @fcda!

    The mixed slashes shouldn’t be a problem. They can look like that normally on a Windows system. As Alaa stated, we unfortunately do not officially support Windows but I think it sounds like a permissions issue you’re having so I’d recommend you continue investigating along that path.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘config.php PATH error using Windows IIS 8.5 (mixed forward and back slashes)’ is closed to new replies.