min186

 

Unable to create directory

Page history last edited by Brad King 1 mo ago

I received this message: Unable to create directory /var/www/silksaffron.com/htdocs/wp-content/uploads/2009/11. What does that mean?

 

You will receive this error the first time you use the UPLOADS section when you are in the ADD NEW (under Post) section.

 

 

 

The error you are seeing -- if you look at that file string (wp-content/uploads...) -- is that you haven't yet created a folder called UPLOADS where you can put these images or audio files. So, we need to do that. There are two ways to fix this.

 

#1: ADD A FOLDER ON YOUR SERVER

  1. Open up your FTP client (that's FILEZILLA in our case)
  2. Sign in to your site
  3. On the upper box of the REMOTE SITE (your server), click into HTDOCS
  4. Then click on HTDOCS
  5. Once you do that, you should see -- in the lower section -- PLUGINS and THEMES
  6. In that lower section, you are going to off-click (if you normally right click, "off click" means to use the left mouse click), which will open up a box that should have "CREATE DIRECTORY" as an option. Click that and you'll see an image like this. 

 

  1. Where it says "New Directory", type in "uploads" in lower case. (Remember, the original error said "/wp-content/uploads...". That is the FOLDER the Word Press content management system is looking for. The folder YOU just created.)
  2. Now you have just one more thing to do. Once you have created that UPLOADS folder. SINGLE CLICK it. You simply want to highlight it. 
  3. Then, you are going to "off-click" again, which will open up another box. The last thing on the list will say FILE PERMISSIONS. Click on that.
  4. You are going to change the box that says NUMERIC VALUE to 777, which will allow you to UPLOAD and DOWNLOAD images to that folder.

 

 

Now simply return to the Word Press POST section and try to upload a picture now. You should be able to do that. 

 

#2: USE FLICKR AND SIMPLY EMBED THE CODE ON YOUR PAGE 

If you happen to have a FLICKR (or PICASA or some other photo sharing account. You can upload your pictures there. Most of those sites have an EMBED function (along with a LINK function. If you want to picture on the page, you'll need to EMBED the code).

 

To do this, simply COPY the EMBED code from the picture page (on Flickr you must click on the ALL SIZES icon above the individual picture and then choose a size. I normally use MEDIUM. That is where you can find the code.

 

Next, return to the Word Press POST section and click on the HTML Button (That code you have copied is HTLM Code, so you can't just put that in the text box.)

 

 

You'll see the HTML Button right next to VISUAL along the top right of the NEW POST page. Whenever you embed code (for pictures or video), you need to click on the HTML button. Once the code is in, click on VISUAL again to return to typing text.

 

Comments (0)

You don't have permission to comment on this page.