Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 255

Warning: preg_match(): Compilation failed: invalid range in character class at offset 31 in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/package.module.router.php on line 465

Warning: preg_match(): Compilation failed: invalid range in character class at offset 30 in /homepages/15/d396973154/htdocs/blog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/package.module.router.php on line 465
Mandeep Singh Bahra

Error – “Unable to create directory /uploads/2012/09. Is its parent directory writable by the server ” :: WordPress

Recently, I noticed that I was unable to upload media files to the uploads directory in WordPress. I was getting a weird error message “Unable to create directory /uploads/2012/09. Is its parent directory writable by the server.

At a first glance I thought it might be a issue with the file permissions, so connected to the remote site using Filezilla Client and checked the file permissions. The file permissions for the upload directory was set to 755. (And I didn’t wanted to change them to 777). After spending a few hours, I finally found the solution to this problem.

The default location for the media files is wp-content/uploads. To set this location as the default or relative to your site, proceed as follows:

  1. Click Settings > Media
  2. Under Uploading Files > Set the path to your upload folder or if using defaults then to wp-content/uploads.
  3. Save the settings.

The following screenshot describes the settings.

 

1 Comment

Tom AndersonOctober 21st, 2012 at 8:49 PM

I found that my folder was set to:
/home/.economizers/user/example.com/wp-content/uploads

I just changed it to
wp-content/uploads like your blog, and now it works! Thanks.

Leave a comment

Your comment