WordPress.org

Ready to get started?Download WordPress

Forums

Upgrade Plugin: Unable to locate WordPress Content directory (wp-content). (11 posts)

  1. Fabrizio Pivari
    Member
    Posted 5 years ago #

    Hello,

    I've this error message with Upgrade Plugin
    Unable to locate WordPress Content directory (wp-content).

    How can I specify the directory where WP can find wp-content?

    Fabrizio

  2. littleREDelf
    Member
    Posted 5 years ago #

    perhaps THIS will help?

  3. hedonplay
    Member
    Posted 4 years ago #

    Here is the solution

  4. kevinjwiebe
    Member
    Posted 4 years ago #

    I am running WP in IIS7. The solutions proposed here do not work.

    Does anyone else have any ideas?

  5. Remkus de Vries
    Member
    Posted 4 years ago #

    In my case non of solutions by both littleREDelf and hedonplay worked, but what did work was instead of typing in the url in the ftp field, I used the server's local address: 127.0.0.1 and everything worked like a charm again.

    Hope this helps someone else too :)

  6. nabtron
    Member
    Posted 4 years ago #

    you can upgrade the plugin manually if its not getting done automatically due to your server settings

  7. medsdeb
    Member
    Posted 4 years ago #

    There is a solution from a user here called "mcarretero" post link is here , his fix was to add this code

    if(is_admin()) {
    	add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    	define( 'FS_CHMOD_DIR', 0751 );
    }

    to the your wp-config.php file. I had the same problem and this fixed it for me.

  8. jss
    Member
    Posted 4 years ago #

    this code works, thanks medsdeb

  9. brettbum
    Member
    Posted 4 years ago #

    the original thread was closed, but just to give a heads up, I'm seeing this issue in 2.9.1 with Media Temple on an installation that worked just fine 3 days ago.

  10. dgivista
    Member
    Posted 4 years ago #

    yeah, i'm on 2.9.1 and i'm getting this error and none of these fixes are working.

    ugh.

    any other tricks?

  11. sumone4life
    Member
    Posted 4 years ago #

    I have posted the fix Here

Topic Closed

This topic has been closed to new replies.

About this Topic