WordPress.org

Ready to get started?Download WordPress

Forums

Could not create directory. Theme install failed. (8 posts)

  1. alisonstephen
    Member
    Posted 1 year ago #

    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!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I did manage to go into the config file and try changing it to my ftp site.

    What exactly did you change?

  3. alisonstephen
    Member
    Posted 1 year ago #

    I followed the instructions in this post:

    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, 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!

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    So define('FTP_HOST', 'ftp.example.org'); was already in your wp-config.php file? What happens if you remove the FTP lines completely?

  5. alisonstephen
    Member
    Posted 1 year ago #

    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.

  6. alisonstephen
    Member
    Posted 1 year ago #

    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.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you asked your hosts about this? It could be something to do with the way that the server is configured.

  8. alisonstephen
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic