• Suza

    (@alquimiatribal)


    So, I updated worpress, everything ok. Then I tried updating plugins, something failed, then I got this message:

    Warning: require(__DIR__/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/www/estigia.net/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘__DIR__/wp-blog-header.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/www/estigia.net/index.php on line 17

    And now can’t access website or wp-admin. So I tried downloading worpress again and replaced all files… but forgot to exclude the wp-content folder ?? so I replaced everything (except the wp-config.php, but at this point I don’t know what am I doing).
    Of course, nothing is working. I tried deleting all themes and plugins, but nada.

    Don’t know what to do next ??
    Please help.
    Thanks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • WordPress needs a theme to work, do not delete all of them. Try getting it to work with one of the default themes first (i.e. Twenty Twenty) and then move towards a custom (child) theme.

    In this case, I would probably start from scratch and follow a good tutorial on how to set up a basic WP site. Perhaps this will be of some use:
    https://www.wpbeginner.com/how-to-install-wordpress/

    Also, it appears your server is still running php5, any chance you can update that to version 7? It’s just so much quicker/more secure and more future proof right now.

    Thread Starter Suza

    (@alquimiatribal)

    Thanks.
    I didn’t deleted all themes (left the ones that came with wordpress).
    I don’t know if I should start from scratch, this blog is very old (more than 10 years) and I don’t want to lose everything. I don’t

    Whatever you do now, if you don’t have a backup now, absolutely do one before you try any of the below. Updraftplus happens to work well for me but any full backup will do.

    If you’ve really overwritten the entire wp content directory then you’ll have to:

    a) restore a known-to-be-working backup OF THAT DIRECTORY

    If that doesn’t work, restore a full backup next.
    Or if you don’t have any backups then you’d need to:

    b) Recreate that directory manually by installing everything again.If you’re lucky it’s all still in the database and MAY work fine once all files in that directory are back in place (so plugins and themes may run properly.) It’s always worth a try.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reinstalled wordpress (also wp-content) :(’ is closed to new replies.