• 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:

    https://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?

Viewing 5 replies - 16 through 20 (of 20 total)
  • How to get around the auto plug in issues with MAMP:

    You need to activate your ‘File Sharing’ in sys prefs.
    Select ‘Options…’ button and tick ‘Share files and folders using FTP’.
    Make a note of the FTP address (00.0.0.0 format).
    Click ‘Done’.

    Return to MAMP Pro.
    Highlight your ‘wordpress’ site folder in ‘Hosts’ ‘General’ tab.
    Select ‘Permissions…’ button.
    Change ‘Owner’ popup button to ‘www’.
    Change ‘Group’ popup button to ‘www’.
    Click ‘Set’.

    Finally get back to the plug in page where it asks you for your FTP details.
    Enter your FTP details.
    FTP Host will be just the number you noted earlier 00.0.0.0
    Username and password is the database Username and password you set up in phpmyadmin for your wordpress site.

    I hope it works for you all now.

    Electronicink

    SuzieQ, Yep, just delete them and leave the quotes with nothing between them, not even a space. At least that’s what worked for me ??

    function mget($remote, $local=".", $continious=false) {
    		$list=$this->rawlist($remote, "");
    		if($list===false) {
    			$this->PushError("mget","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
    			return FALSE;
    		}
    Moderator cubecolour

    (@numeeja)

    If you’re happy to use the login each time, but just need to know what to put into the input fields, try these defaults – for XAMPP (OS X):

    Hostname: localhost
    Username: nobody
    Password: xampp

    @alexlakes: THANKS again for the tips… for some reason I wasn’t having any luck with that fix. I think it’s the way I set up my local server (stupid tutorial). ??

    @electronicink: Thanks for the nicely laid out explanation. I followed your directions step by step (even reinstalled the latest WordPress) but this is what I get:

    Not Found
    The requested URL /cancel_monday/blog/wp-admin/update.php was not found on this server.

    Any idea what I did wrong?

    Thanks to everyone for chiming in. It is so nice to have people answer a cry for help. I hate being stupid. ??

    Electronicink

    THANK YOU SO MUCH!! That worked perfectly!

    I am a little nervous about my computers security now, is there anything I can do to protect myself a bit more?

    Thanks again!!!

    Tom

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Automatic plugin updates not working with XAMPP on OSX (needs FTP login)’ is closed to new replies.