• hi,

    when I try to install plugins from the admin, it asks me for connection information and I always get this error:
    Failed to connect to FTP Server https://mydomain.com

    I know my ftp info is correct (it is my own server) but I cannot seem to find the problem. anyone else experience?

    I started the blog on a 2.7 beta, so not sure if that matters. I expected the problem to go away upon using the final release but it hasn’t.

    also, not sure if it is related, but if I leave the domain field without an initial https:// or ftp:// with just the domain name. the next page shows me this:
    mydomain.com://www.mydomain.com in that field. very strange.

Viewing 4 replies - 31 through 34 (of 34 total)
  • I got the same error when trying to install a theme. After some experimentation, here’s what seems to be going on:

    1. WordPress tries accepting my theme file and installing it directly (from within the web server process).

    2. If that fails, WordPress falls back to installing via ftp.

    3. If an ftp connection fails, Worpress says “failed to connect to ftp server” and asks me for my ftp credentials.

    Problem 1: It never tells me the cause of the original failure, or even that there was a failure in the first place!

    Problem 2: It has a bug (or completely stupid design decision) that forces direct installations to fail if a certain file is not owned by the web server’s user account. Details here:
    https://core.trac.www.ads-software.com/ticket/10895

    I guess people who run ftp services on their wordpress servers might not ever notice these problems, because WordPress’ fallback to ftp installation would work around them. However, most of the experienced sysadmin community agrees that ftp tends to be a huge security hole, so many of us choose not to use them. I worked around the problem by changing the file ownership of wp-admin/update.php to be the account that my web server runs under (www-data in my case).

    Does this automatic upgrade function support SFTP?

    d-zine-lounge

    (@d-zine-lounge)

    I’m having similar problems and am in desperate need of help.
    I try and upgrade word press or install plugins and put in my connection information:
    hostname – localhost
    username – CP_name_number
    password – mypassword

    and get :Error: There was an error connecting to the server, Please verify the settings are correct.
    but i know the settings are correct!! Has anyone found the answer or how do you get hold of someone from wordpress to ask!

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘wp 2.7 error: Failed to connect to FTP Server https://’ is closed to new replies.