Support » Fixing WordPress » Unable to locate WordPress Root directory. Installation failed.

  • Resolved Erfo



    I have a big problem.
    I manually updated the WordPress to last versione (3.1.3), but when I go to panel admin, I see that WordPress isn’t update.
    So I try with automatically update (update-core.php) and i receive this error “Unable to locate WordPress Root directory. Installation failed.“.

    The folder “wp-content” exists and it has permissions 777.

    Moreover, into page “plugins” I don’t see plugin, but in the directory /plugins/ there are all. The plugin don’t work.
    While I try to install a new plugin from panel admin, I receive this error “Cannot find Content directory“.

    How do I fix?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Looks like you did not update properly so try and update manually

    Both before and after, I updated manually.
    For many years that I update manually, so the procedure should be accurate…
    When I go to => wp-admin/upgrade.php, I read “Your WordPress database is already updated!“.

    Perhaps I should change or go to see something in the database?

    replace all files and folders except wp-content and wp-config.php



    Forum Moderator

    Unable to locate WordPress Content/Root Directory: FIX

    @govpatel @esmi
    1) I deleted all folders (except the file wp-config.php and the folder /wp-content/) and I sent the new files/folders of the new version. I saw again “upgrade to 3.1.3……” in dashboard.
    2) I upgraded with automatically upgrade (to the panel), and I saw again “upgrade to 3.1.3…” in dashboard.
    3) I pasted the code into file wp-config.php … I couldn’t see the plugin into panel. But in the header of dashboard I saw the upgrade (but WordPress was already upgrade).
    4) I couldn’t upgrade plugins and WordPress. So I deleted that code in wp-config.php . Now I can see the plugins into panel and I can automatically upgrade plugins and WordPress from panel. And I don’t see the warning for upgrade to 3.1.3 version.

    govpatel and esmi, thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to locate WordPress Root directory. Installation failed.’ is closed to new replies.