• Resolved Jonibean

    (@jonibean)


    I had Wordfence installed on one of my sites and then had to remove it because it was stopping a flickr feed from working, something to do with timthumb. So the plugin is no longer in there at all. However, there was a file called wordfence-waf.php that I deleted, thinking that it wasn’t needed anymore. This caused a fatal error and the site wouldn’t load. I checked the .htaccess file and there is no reference to the file there. Then I recreated the file based on someone’s suggestion, copied in the code below and named it wordfence-waf.php. The site shows up now, sort of, but it says it can’t find the server on certain pages. How can I fix this? I can’t find a php.ini file to look at.

    <?php
    // Before removing this file, please verify the PHP ini setting ‘auto_prepend_file’ does not point to this.

    if (file_exists(‘<https://www.mysite.ca/wp-content/plugins/wordfence/waf/bootstrap.php&#8217;)) {
    define(“WFWAF_LOG_PATH”, ‘<https://www.mysite.ca/wp-content/wflogs/&#8217;);
    include_once ‘<https://www.mysite.ca/wp-content/plugins/wordfence/waf/bootstrap.php&#8217;;
    }
    ?>

Viewing 1 replies (of 1 total)
  • Thread Starter Jonibean

    (@jonibean)

    I found out about the Wordfence assistant plugin, installed that to get it to remove all of the wordfence data, and now it seems to be ok, so don’t worry about this question.

Viewing 1 replies (of 1 total)
  • The topic ‘deleted old wordfence-waf.php and now site is not working properly’ is closed to new replies.