• I recently updated to wordpress 3.8.

    Everything was going fine until I tried to update a plugin and now I am getting prompted to enter my FTP credentials.

    This site has been running fine for 4 years with no issues like this until now.

    I have read other posts about it being a security issue.
    I tested editing a plugin, changing the version number and saving it. The plugin successfully saved and I am now seeing my dummy version number in the plugin admin UI. I think this proves that the security is OK.

    Any idea, it seems like a bug to me?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi all (my first message)

    Sorry for my funny english, but i’m french and i don’t speak very well…

    I’m not an expert, but my solution for this :

    Write your FTP credentials in the wordpress config.php file, and that all 😉

    Ex :

    /*** FTP ***/
    define('FTP_HOST', 'localhost');
    define('FTP_USER', 'db_user_name');
    define('FTP_PASS', 'de_user_password');

    [ Signature moderated. Please stop dong that. ]

    Thread Starter jcrawfor74

    (@jcrawfor74)

    I have seen this option on other posts and I am sure this will fix the problem, so thank you, but…

    I shouldn’t have to resort to this given that it has been working for years, until this latest update, so what else could have changed.

    P.S. your English is fine, better than mine perhaps 🙂

    Strangely, I did not have the problem with an old website updated, but on a website freshly installed (clean version 3.8).

    I think it’s a ‘technical limitation’ from hosting provider, from apaches directives not allowed (for security reasons, i think), like f_open() and other php functions who want external access or connexion.

    It’s the only difference i see between this two sites… the provider !

    Thread Starter jcrawfor74

    (@jcrawfor74)

    I did some digging into the code and found a work around.

    I have posted about it here:
    wordpress-3-8-update-plugins-prompting-ftp-login

    The short description of the problem is that I have my site defined with FS_METHOD = Direct, but in the method, ‘get_filesystem_method’ it is being converted to ftpext.

    I just commented out the line of code that was overriding the value and now my plugins install without the need for ftp.

    My concern is still, why did I have to do this, what has changed, is this a bug?

    I think yes 😉

    But i prefer my solution is less messy and more accessible for small coders like me.

    P.-S. For moderator, I’m sorry, but I do not know for signatures… it’s the first and the last 😉

    I found this thread after encountering the problem that suddenly – after upgrading to 3.8.1 – my ftp credentials were not accepted anymore. It had worked for many years.
    I found out a solution, and wanted to post it here in case somebody else runs into the same problem.
    The hostname now had to be localhost – while in the past I had used the domain name of the site. This is why I was sure that my ftp credentials were correct – I had tried them on the command line.
    Maybe somebody can shed some light what’s causing that.

    Thanks for posting that Merlin! Saved me a ton of searching. Still needs to be fixed to allow domain names or IP addresses.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress 3.8 – After Update, now installing plugins prompts for FTP credentials’ is closed to new replies.