• Hello all

    Im a newbie to wordpress and I have managed to install wordpress to my local host but I cant upload any media or new headers I keep getting the error

    Unable to create directory /Library/WebServer/Documents/wordpress/Library/WebServer/Documents/wordpress/wp-content/uploads/2012/05. Is its parent directory writable by the server?

    Im tried to connect my ftp client to wordpress with the hostname as local host (filezilla) but it doesnt seem to connect either. I know I can connect to the database because I can write posts bu uploads have no success.

    Perhaps I didn’t install it properly?

    Any help you can provdie would be greatly appreciated.

    Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    -make sure images are not blocked by hotlink protection, contact your webserver.

    – check path in Admin => Settings => Media.

    – make sure wp-content/upload folder is writable (try 766, 767, or 777 permission).

    – If the above steps do not help, try deactivating ALL plugins temporarily to narrow down the problem. If the problem goes away, activate them individually (one-by-one) to find the problematic plugin.

    By localhost I presume you mean xampp or similar, If so you could be blocked by your anti-virus.

    It seems to be permissions issues. Basically when you upload something new to WordPress, such as images it tries to create a directory depending on the date. E.g. if you upload an image on May of 2012, in the uploads sub directory WordPress will try to create the following sub directory and store the image there /2012/05.

    The Web server process on which you are running WordPress does not have permissions to create such directory. What I would recommend is:

    1. Install an FTP server (if this is a test scenario) such as FileZilla.

    2. Create a username and password.

    3. Using an FTP client, connect to the website and change the permissions to 766 of the /wp-content/uploads/ directory. This should allow the web server process to be able to generate such directories for you.

    Alternatively to avoid going through all of the above, simply create the directories yourself but having said that, this is not practical as each month you would have to create new directory.

    Thread Starter cgungaloo

    (@cgungaloo)

    Hi, Im sorry I couldnt get back sooner, I appreciate all of ur responses.

    Im gonna go through all of the ideas but Im a complete beginner

    First thing, this might sound stupid, How do you make the folder writable with 777 permissions please? What do you click on? I right click on the folder and that doesnt seem to be it. Im sure im doing something really stupid.

    I have also already installed filzilla

    Thanks

    Hi,

    To change permissions using the FTP client, simply right click the directory or file in question in Filezilla and select “File Permissions”

    Thread Starter cgungaloo

    (@cgungaloo)

    Hi John81, thanks for posting

    To change the file permissions, do you need to be connected to the localhost first?

    I try to connect to it but I keep getting the error message that its waiting for a welcome message.

    Regards, Chris.

    HI cgungaloo,

    What web server software are you running on your computer? If you are running the website on your pc (sorry should have noticed this before) you should also install an FTP server, which technically speaking there is no need as you have direct access to the files.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cant upload’ is closed to new replies.