Plugins,WordPress,Wordpress Tips  

Can’t add themes,wp plugins or install update

You may get this error if you try to install new theme or wordpress plugins, or installing update directly from wordpress admin area

Warning: ftp_mkdir() [function.ftp-mkdir]: /public_html/wp-content/plugins/contact-form-7/: Permission denied in /home/hecode/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 240

Could not create directory. /public_html/wp-content/plugins/contact-form-7/

Plugin Install Failed. Read the Solution  

problem_with installing_wordpress_plugins

Just give chmod 777 to the plugin directory.

plugin777

And now you are to go!

Try to install  new plugins or theme or wordpress upgrade. you are the winner:)

wordpress_plugins_installed

Update: Yesterday I tried to update my WordPress to latest version by using auto unpdate buttom. While I could install new plugins from admin area, but I couldnt update my wordpress! Then I tried below command from SSH

chmod 755 -R public_html

and everything become fine. and now I have latest WordPress just by one click!

Still have problem? No problem!, I’m here to help you.Please let me know how I can help you.

Do you need farther help on this topic? Contact me
Do you need Professional coder? Hire me
Looking for different WordPress plugin? Try Wishlist member


Andy is one of core WordPress WishList Member Developer. He is in love with WordPress and fun of turning new ideas to WordPress plugin or theme.

Add your comment


  1. Craig
    September 2, 2009
    4:52 am

    MSIE 7.0 Windows XP

    I have the above problem, but everytime I try to change my access to 777 I am told I do not have permission. I am using a QNAP 209 server.


  2. admin
    September 2, 2009
    1:27 pm

    Safari Windows XP

    Hello Craig,
    Thank you for your time and commnet.

    First make sure you have right access. for example root user in linux servers have full access.
    Also some server does not allow you to chmod 777. Some server even change automatically to chmod 644 if apply chmod 777.

    Try chmod 766 or chmod 764.

    by the way you can always upload your plugin directly using ftp.

    I hope it helped.
    Andy


  3. mecal
    September 16, 2009
    6:48 am

    MSIE 7.0 Windows 7

    not work for me


  4. Andy
    September 16, 2009
    4:28 pm

    Firefox 3.5.2 Windows XP 64-bit/Server 2003

    Sorry to hear that. Solving this problem is very simple. all you need is give write permission to the plugin directory.

    Just let you know chmod is a Unix/Linux shell command used to change permissions on files. Its name is a contraction of “change mode.”

    Please let me know how you applied that?
    Andy


  5. Charles
    November 25, 2009
    4:00 am

    MSIE 8.0 Windows XP

    Hello Andy,

    I’ve tried implementing the suggestion you gave for installing themes and plugins to my existing blog, but am unsure where to access the plugin admin. Is it in the blog admin area or the web hosting company’s admin area. Do you have step-by-step instructions? That would help me greatly.

    Thanks for all you help with this.


  6. Andy
    December 1, 2009
    3:43 pm

    Firefox 3.5.2 Windows XP 64-bit/Server 2003

    Hello Charles,

    There are two ways to install a plugin or theme.

    A) You can upload them manually using a ftp program directly to your WordPress. Normally path is like this “your_site/wp-content/plugins” or “your_site/wp-content/themes”. Then try to login in your wp admin area and activate that plugin or theme. This way will work most of the times.

    B) Second way is same with above, only you no need to copy it with ftp program. You will upload it directly in WordPress admin area. And then you need activate them.

    Thank You
    Andy


  7. Jarhead
    January 25, 2010
    4:52 am

    Firefox 3.5.7 MacIntosh

    I have this problem, but here’s the kicker on two other blogs I can just install plugin’s and theme’s easy, NO ftp window comes up and it just works ;-)

    Now on this new blog which the host setup and installed for me I have to fill in the FTP connection

    HOST:________________
    LOGIN:_______________
    PASSWORD:____________

    and then get the famous cant unzip message.

    What gives


  8. stuff24
    February 10, 2010
    3:59 pm

    Firefox 3.5.7 Windows XP

    I also had problems during the installation of plugins and tried your solutions, but did not succeed and I think changing the chmod is not a good solutions.
    I found two other solutions: http://stuff24.de/blog/wordpress-could-not-create-directory-plugin-install-failed/


  9. Michael
    May 23, 2012
    2:03 pm

    Firefox 13.0 Windows 7

    Wow. I installed WP 2 days ago, started installing a few WP themes and plug-ins, and the next 2 days reading and trying solutions to cure the “can’t upload problem.
    It started with…
    Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature……

    now it’s…
    The package could not be installed. No valid plugins were found…..

    I’m about to go back and try to learn Dreamweaver. The forums have around (don’t know for sure) 300 posts about it and 200 of them say “simply do this”.

    I’ve added a theme and a couple of handy things ti my site so no big lose to wipe it clean and start over, but I’m sure this is going to happen again.

    Is there an answer to this? One solution was to check that the file was not nested. Really thought that was the answer, but no. Made a php.ini file to change the capacity. NG. Changed permissions all the place. My File Manager is probably so F…Up by now I’ll have to start over.

    I’d ask at the forum, but most posts are closed.

    Seriously, is there a real solution.


  10. Michael
    May 23, 2012
    3:42 pm

    Firefox 13.0 Windows 7

    Double wow.
    What a jackass. (me) I spent the last two days trying to install “Themes” into the plug-in’s. To my surprise, they install fine into the “Themes” section. I only post this in case anyone else is missing the obvious.


  11. Michael
    May 23, 2012
    3:53 pm

    Firefox 13.0 Windows 7

    I don’t believe it. I uploaded a theme, wrote the above, and the next one gave me this again…

    PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    Somebody shoot me.

RSS feed for comments on this post. TrackBack URL

Add your comment.





( DoFollow )

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Home | Themes | Plugins | Download | Forum | Freelance | Resume | Projects | Service | Contact | About
© Copyright 2009 - 2013 Hecode.com