Email
Share

We Rock Your Web Forum » Troubleshooting » Error Messages

Wordpress Unable to Create Directory

(4 posts)
  1. Woofus

    member
    Joined: Sep '09
    Posts: 32

    I just installed Wordpress 3.0.1 for a client, and everything went smoothly so far. The install was a breeze (took less than a minute), and my custom theme installed and looks good as well.

    My problem is when I try and upload an image. Specifically, from the dashboard I'm browsing to the "add an image" button under QuickPress. I get the error "Wordpress Unable to Create Directory /wp-content/uploads/2010/10" and something about setting the permissions on that directory.

    Any tips from the WP users out there?

    Posted 1 year ago #

  2. Posted 1 year ago
  3. Anonymous



    Try CHMOD'ing (permissions via FTP) the /uploads/ directory to 777.

    Posted 1 year ago #
  4. Anonymous



    Try adding the following to an .htaccess file in your root (public_html) directory:

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Posted 1 year ago #
  5. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    We found with Wordpress 3.0.1 that the media upload directory is specified incorrectly. From your admin area, browse to Settings > Media. Under the "Uploading Files" section, make sure the "store uploads in this folder" path matches what's in your file system.

    In our case, the filled in value was "wp-contents/uploads" (note the additional "s"), whereas it should have been "wp-content/uploads". In addition, we CHMOD'ed the /uploads/ directory to 755 (777 will leave your server vulnerable to malicious uploads).

    Posted 1 year ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.