Title: Could not create directory. Theme install failed.
Last modified: August 20, 2016

---

# Could not create directory. Theme install failed.

 *  [alisonstephen](https://wordpress.org/support/users/alisonstephen/)
 * (@alisonstephen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/)
 * Hi,
 * I get the above error for theme installs and wordpress update installs. I’ve 
   seen this addressed in other topics, but I don’t have the html or php experience
   to understand the answers. I know I have the correct ftp info– I used cyberduck.
   Also, I was able to manually install a wordpress update. I used to be able to
   install themes– I don’t know what changed. I have 2 wordpress pages– one has 
   the newest wordpress and one doesn’t, but I get the same error on both.
 * The ftp option for the install is grayed out “localhost”. I did manage to go 
   into the config file and try changing it to my ftp site. (saw that tip on one
   answer). I tried many variations. Maybe I have the format wrong of how I wrote
   it into the file? The ftp site is 0061a9d.netsolhost.com. (I believe this is 
   my localhost, but that doesn’t work either).
 * Any thoughts on correcting this error without knowing html or php?
 * Thank you! I’m at my wit’s end!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782660)
 * > I did manage to go into the config file and try changing it to my ftp site.
 * What exactly did you change?
 *  Thread Starter [alisonstephen](https://wordpress.org/support/users/alisonstephen/)
 * (@alisonstephen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782686)
 * I followed the instructions in this post:
 * [http://wordpress.org/support/topic/wp-unable-to-access-ftp-for-plugins-and-themes](http://wordpress.org/support/topic/wp-unable-to-access-ftp-for-plugins-and-themes)
 * I found, in the config file, where the ftp host was listed as ‘localhost.’ I 
   tried changing to 0061a9d.netsolhost.com, [http://ftp.0061a9d.netsolhost.com](http://ftp.0061a9d.netsolhost.com),
   ftp://0061a9d.netsolhost.com. None of those worked.
 * Although, the ‘localhost’ setting did seem to allow me to logon, then fail, and
   those other things I entered prevented any connection at all.
 * Thanks for your help!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782689)
 * So `define('FTP_HOST', 'ftp.example.org');` was already in your wp-config.php
   file? What happens if you remove the FTP lines completely?
 *  Thread Starter [alisonstephen](https://wordpress.org/support/users/alisonstephen/)
 * (@alisonstephen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782692)
 * No, what I saw in the file originally was (‘FTP_HOST’, ‘localhost’), then I tried
   some other things.
 * I haven’t tried deleting the ftp line completely. I’ll try that this evening 
   when I’m back at my own computer. But I did try (‘FTP_HOST’, ”).
    Then there 
   was indeed a blank space for ftp hostname when I tried to install an update, 
   but it was a locked blank space and I couldn’t type anything into it.
 * Thanks.
 *  Thread Starter [alisonstephen](https://wordpress.org/support/users/alisonstephen/)
 * (@alisonstephen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782806)
 * Ok, when I delete the whole line from the config file, I am able to enter whatever
   I want when I need to enter host name, etc, but nothing I enter works. Same error.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782843)
 * Have you asked your hosts about this? It could be something to do with the way
   that the server is configured.
 *  Thread Starter [alisonstephen](https://wordpress.org/support/users/alisonstephen/)
 * (@alisonstephen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782848)
 * No, I haven’t asked my hosts, since I can connect to my server with Cyrberduck
   and Dreamweaver. (And WordPress, until about 2 days ago…) I’ll guess I’ll just
   leave it the way it is and not change or update any themes. I can update WordPress
   by downloading the update and ftping it up, it’s just kind of a pain!
 * Thanks for your help, esmi!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Could not create directory. Theme install failed.’ is closed to new replies.

## Tags

 * [Failed](https://wordpress.org/support/topic-tag/failed/)
 * [ftp](https://wordpress.org/support/topic-tag/ftp/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [alisonstephen](https://wordpress.org/support/users/alisonstephen/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/could-not-create-directory-theme-install-failed/#post-2782848)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
