WordPress.org

Ready to get started?Download WordPress

Forums

Auto Upgrade for Plugins asks for FTP Login? WP2.5 (19 posts)

  1. Righton
    Member
    Posted 6 years ago #

    I upgraded to 2.5 and when I click on the auto-upgrade link for the plugin I am directed to a page asking for my FTP login information... thing is when I put in the correct information, even THAT doesn't work.

    I get word from other upgraders that their installs never asked for this info... what's up?

  2. Dion Hulse
    WordPress Dev
    Posted 6 years ago #

    Depending on your server setup, the Auto Upgrade may ask for FTP details.

    If your host is running suPHP, Or another simialr product, then FTP details are never asked for, as WordPress can modify the plugin files directly with ease.

    However, If it cannot modify the plugin files, It'll request FTP details to connect to perform the upgrade.

    What is the error message when you give it the FTP Details and it doesnt work?

    If you could, Can you install this plugin: http://dd32.id.au/files/wp-filesystem-tester.zip Activate it, And send me the details from the debug page it creates to my email? wordpress@dd32.id.au I'll have a look into it and see if i can work out what the issue is.

  3. Righton
    Member
    Posted 6 years ago #

    The error I get, is like my FTP settings I type in aren't right... but they're identical to the ones I use to login via FTP.

    Error: There was an error connecting to the server, Please verify the settings are correct.

    Weird... I installed your FS Tester thing, and the identical settings worked... I can now upgrade plugins with no issue.

  4. Dude1969
    Member
    Posted 6 years ago #

    After putting in my credentials it does download, but then hangs on "Unpacking the update".

    Anybody know whats up with that...

  5. Roy
    Member
    Posted 6 years ago #

    Just wondering. I hear about this plugin auto upgrade here and there, but I have three 2.5 sites, but... where is the plugin auto upgrade? Is it that weird plugin widget on the dashboard that loads for five minutes and then turns blank (did something happen when it does?) or should I look at the plugins page?

  6. moshu
    Member
    Posted 6 years ago #

    Yes, it is on the Plugins page.
    For the plugins hosted here (see Extend etc.) - if there is a newer version, there will be a line under the plugin alerting you about it, and offering two links:
    - download or
    - update automaticaly.

  7. Roy
    Member
    Posted 6 years ago #

    That's the same as before, but can it be turned off? I'm sure I don't have the latest Ask Apache for example (couldn't get it to work properly), but the admin panel doesn't say a thing.
    And, what does the plugin widget on the dashboard do, other than slowing things down enormously (it loads for a few minutes and goes blank and only then can I use the admin again)? Should it produce a list with new plugins or so?

  8. Jay Mayu
    Member
    Posted 6 years ago #

    Error: There was an error connecting to the server, Please verify the settings are correct.

    When I'm tryng to use the same details that I use to login to my ftp account it has given the above error message!

  9. Jay Mayu
    Member
    Posted 6 years ago #

    your plugin returns the following error

    Connection Method ftpsockets
    ABSPATH /home/mayuonli/public_html/eblog/
    PLUGINDIR wp-content/plugins
    FS Errors

    wp_error Object
    (
    [errors] => Array
    (
    [connect] => Array
    (
    [0] => Failed to connect to FTP Server mayuonline.com/www/eblog/wp-content/plugins/:21
    )

    )

    [error_data] => Array
    (
    )

    )

    FS CWD
    FS WordPress Locator
    FS WordPress Location
    FS0 WordPress Locator (Old code) Changing to /
    FS0 WordPress Location (Old code)
    Tests Stopped; Error: WordPress could not be located Files in folder

    Warning: Invalid argument supplied for foreach() in /home/mayuonli/public_html/eblog/wp-content/plugins/wp-filesystem-tester.php on line 126

  10. techfun
    Member
    Posted 6 years ago #

    I had the same problem using the "public" name for my FTP server. Changing it to localhost took care of the problem.

  11. paul
    Member
    Posted 6 years ago #

    I wasn't having any luck with this, until I changed the permissions on the wordpress files to be owned by/writeable by the webserver. Then it's all about the one-button upgrade.

  12. Bliss7
    Member
    Posted 6 years ago #

    What is the specific filepath to put in for the field - "Hostname"? I'm getting this FTP log in request as well, when I want to upgrade my plugins.

    Also, is it safe?

  13. Ivovic
    Member
    Posted 6 years ago #

    "Also, is it safe?"

    I don't believe it's ever safe to give anyone your passwords for anything. I don't care if you worship the wordpress guys, I still wouldn't do it...

    As soon as you give away your password, all the accountability goes away. Everything that happens from then on becomes your fault automatically.

    I don't believe the upgrade feature should even offer the option. If it can't do it without your FTP details, it should fail and make you upgrade normally.

    Most users don't care about handing over their ftp logins, but responsible computing dictates that we shouldn't ask for it, even if people don't mind giving it away.

    A nice little error message like "I'm sorry, the automatic upgrade cannot be performed. Please contact your host to enable suPHP." is informative and puts the onus on the host, where it belongs.

  14. repoulin
    Member
    Posted 6 years ago #

    I have multiple wordpress 2.5.1 editions saved on the same server, but only one of the wordpress auto update feature does not work. I am not sure what settings are different, so for those who can not get it to work there is hope.

    I think it has to do with folder permissions or the .htaccess file.

    Did anyone get closer to solving the problem?

  15. zuan
    Member
    Posted 5 years ago #

    I have multiple wordpress 2.5.1 editions saved on the same server, but only one of the wordpress auto update feature does not work. I am not sure what settings are different, so for those who can not get it to work there is hope.

    I think it has to do with folder permissions or the .htaccess file.

    Did anyone get closer to solving the problem?

    i have the same problem i have 2 copies of wp 1 working find but the other one is not

    some info about the setup:

    OK-WP = in primary root dir (public_html)
    NOTOK-WP = in it own dir (vhost diffrent domain)

  16. SWC76801
    Member
    Posted 5 years ago #

    I'm having a similar problem. I get the following when I run WP FS Tester

    Connection Method ftpext
    ABSPATH /mounted-storage/home54a/sub001/sc36144-YJJB/www/wordpress/
    PLUGINDIR wp-content/plugins
    FS Errors

    WP_Error Object
    (
    [errors] => Array
    (
    [connect] => Array
    (
    [0] => Failed to connect to FTP Server servage.net:21
    )

    )

    [error_data] => Array
    (
    )

    )

    FS CWD
    FS WordPress Locator
    FS WordPress Location
    FS0 WordPress Locator (Old code) Changing to /
    FS0 WordPress Location (Old code)
    Tests Stopped; Error: WordPress could not be located Files in folder

  17. RaymondDay
    Member
    Posted 5 years ago #

    I can use FileZilla on port 22 to connect to my server with SFTP but WordPress just says:

    Error: There was an error connecting to the server, Please verify the settings are correct.

    I have FTPS (SSL) seleteced. But SFTP and FTPS don't mach so I guess it's on some other port then 22. I guess that's that error. Is this right?

    -Raymond Day

  18. johnmryan
    Member
    Posted 5 years ago #

    Sorry for not starting a new post but when I try i get a blank page.

    I installed 2.7 and when I click to get an image I get
    {#wpeditimage.caption} instead of Enter caption and other things, I tried to reinstall automatically but I get a message saying your are already uptodate.... Any ideas?

  19. wepeann
    Member
    Posted 5 years ago #

    My host is only allowing me to access via SFTP SSH so the automatic upgrade is not functioning for me. Are there any plans to support SFTP as well and not only FTP or FTPS?

Topic Closed

This topic has been closed to new replies.

About this Topic