Forums

Automatic plugin updates not working with XAMPP on OSX (needs FTP login) (5 posts)

  1. mixvio
    Member
    Posted 1 month ago #

    I have set up a local installation of XAMPP on my OSX machine to do offline development. Overall everything is working correctly, but when I connect to update plugins automatically, I'm given this:

    http://i38.tinypic.com/264lueb.png

    which is asking me for FTP information. Googling around I saw that this is because of a permissions issue, so Wordpress attempts to FTP in to do updates. No amount of CHMODding the files to the best of my ability fixed anything automatically, so I tried the FTP method.

    XAMPP comes with a FTP server allegedly, but even after turning it on I couldn't get it working correctly and I couldn't find any information about what, if any, default FTP user XAMPP comes with on the OSX side, or how I could create my own. So I went to use the built-in FTP file sharing that's included in OSX, and I guess I managed to progress further, because any time I tried to update a plugin I got this error:

    Installing the latest version.
    Incompatible Archive
    Plugin upgrade Failed.

    If I attempted to delete a plugin through the control panel, I got a similar message about how it couldn't be fully removed, so obviously this isn't working either.

    By this point I'm not sure what to do; I set up XAMPP for ease of use so I wouldn't have to install a full local webhost solution, and I would prefer to figure out how to get this working correctly since otherwise it's working perfectly. But my Google-fu is coming up short, so any ideas?

  2. jdingman
    Member
    Posted 1 month ago #

    You'd need to change the permissions on the plugins directory for WordPress to have more control over it.

    I personally use this WordPress SSH upgrade and install tutorial to upgrade my plugins. It might work since you're on OS X, so you could give it a shot.

    The alternative is to input similar values into the wp-config and you won't have to manually enter them each time.

  3. mixvio
    Member
    Posted 1 month ago #

    Yeah I have tried every conceivable variation of permissions changes, from CHMOD to changing the permissions in the GUI, and it's not doing anything. :(

  4. propono
    Member
    Posted 3 weeks ago #

    Jdingman what do you mean specifically by "The alternative is to input similar values into the wp-config and you won't have to manually enter them each time."

    What hard code these details in that file? Could you possibly show me please.

    As I'm on Snow Leopard using MAMP PRO I have started Mac OS X FTP server and I'm using the ipaddress it gave me in the wordpress ftp host: field as well as the username and password I have. But it just gives me this error all the time: Failed to connect to FTP Server propono:21. Can anyone shed some light on this for me, as I would like to upgrade my plugins on my local machine automatically.

    Thank you.

  5. propono
    Member
    Posted 3 weeks ago #

    I have also followed this tutorial but to no avail: http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Has anyone managed to setup and get local upgrades working?
    I'm on MAMP Pro, Mac OS X Snow Leopard, using the Mac FTP server.

Reply

You must log in to post.

About this Topic