• Resolved fwbconnection

    (@fwbconnection)


    I recently had to move servers with GoDaddy and in the process am generating an error where the website is completely down.

    bfwbc.com

    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home/content/j/l/a/jlanefwbbc/html/wordfence-waf.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in Unknown on line 0

    Thanks for the help!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello fwbconnection,
    1. Make sure you have wordfence-waf.php in the folder where WordPress is installed.
    2. Check in the root of your site for files .htaccess and .user.ini. In one of them you will find an absolute path to wordfence-waf.php. Make sure that path matches the location I mentioned in 1.

    Thread Starter fwbconnection

    (@fwbconnection)

    Perhaps this would help?

    Thanks so much!!!!!!
    Jamie

    user file:
    ; Wordfence WAF
    auto_prepend_file = ‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wordfence-waf.php’
    ; END Wordfence WAF

    htaccess wordfence portion:
    # Wordfence WAF
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    wordfence-waf.php:
    <?php
    // Before removing this file, please verify the PHP ini setting auto_prepend_file does not point to this.

    if (file_exists(‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wp-content/plugins/wordfence/waf/bootstrap.php’)) {
    define(“WFWAF_LOG_PATH”, ‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wp-content/wflogs/’);
    include_once ‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wp-content/plugins/wordfence/waf/bootstrap.php’;
    }
    ?>

    Thread Starter fwbconnection

    (@fwbconnection)

    Sorry, this is the file location for the php: /home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wordfence-waf.php

    It appears to be the same to me.

    fwbconnection, I’m not sure I’m following which paths are which here. To make this easy you could just remove any reference to wordfence-waf.php from .htaccess and .user.ini. You will then have to optimize the firewall again but your site should be working.

    • This reply was modified 9 years, 6 months ago by wfasa.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Moved servers now have an error’ is closed to new replies.