WordPress.org

Support

Support » Plugins and Hacks » Problem with WordPress Plugin directory

Problem with WordPress Plugin directory

  • Sir,

    New to the forum. Its a great place to be and i love it.

    Well, its my own fault but then i need some help. Actually, i mistakenly deleted the /wordpress/wp-content/plugin from my Ftp ( Filezilla) and all the plugins in my wordpress blog where automatically deleted.

    1) When i tried to upload a new plugin, i get this error message….> “Unable to locate WordPress Plugin directory. Installation Failed.”

    2) I did create a new plugin directory on my ftp but when i double click on “Plugin” , i get this error message …..> Failed to retrieve directory listing. I am totally lost as all my pugins are all gone and i can’t upload new ones.

    Could somebody please help me fix this problem.

    Thanks

    Biggs

Viewing 3 replies - 1 through 3 (of 3 total)
  • Download the WordPress distribution from the Download tab at the top of this page and extract the files and upload the wp-content/plugins folder from that.

    Also review WordPress Backups so you won’t get thrown in a position without backups again.

    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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with WordPress Plugin directory’ is closed to new replies.
Skip to toolbar