Title: subsite user cant upload image
Last modified: August 19, 2016

---

# subsite user cant upload image

 *  [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/)
 * the problem is when subsites in subdomains users uploads an image, the upload
   directory blogs.dir/blogid/files cant be created automatically. i meam the directory“
   files”.
    the bligs.dir is created blogid is created but files is not permissions
   are 777 this is the error i get [http://i53.tinypic.com/ejy0zd.png](http://i53.tinypic.com/ejy0zd.png)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/users-media-upload-issue/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/users-media-upload-issue/page/2/?output_format=md)

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2023942)
 * Then fix the ownership on the folders.
 * basically, it’s not a WP issue – it;s a server-side one. you need to figure out
   the right combo of group/owner and permissions so it will happen automatically.
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2023965)
 * excuse me but i m wp beginner can you tell me what step to follow to fix it.
 *  [dgilmour](https://wordpress.org/support/users/dgilmour/)
 * (@dgilmour)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2023993)
 * Your next steps will depend on the access you have to your server. If you have
   command line access, it’ll be different from a control panel. But before that,
   it sounds like you may need to get your head round Linux file ownership and protection.
   Many Linux web sites will help you with that.
 *  [schmuckfan](https://wordpress.org/support/users/schmuckfan/)
 * (@schmuckfan)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024028)
 * I had this issue too some weeks ago. I changed some settings to control panel
   and then it was working correctly.
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024055)
 * [@schmuckfan](https://wordpress.org/support/users/schmuckfan/) please can you
   tell me how did you fix it because i m lost now.all my works depends on this.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024114)
 * You could ask your host to help out?
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024172)
 * i asked my hosting provider he told me its a SAFE_MODE issue and he deactivate
   the SAFE_MODE in PHP but the probleme is stil there.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024185)
 * It’s not Safe Mode. I mean, in PART it’s possibly why the folders didn’t get 
   created right, but it’s not gonna fix what’s broken 😉
 * If there’s nothing in blogs.dir/blogid for that site, I would delete the blogid
   folder (or rename it blogid-old) and see if it can recreate on the fly.
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024186)
 * when i rename or delete the blogid folder another blogid is recreated when upload.
 * the probleme is in the folder “files” located blogs.dir/blogid/**files** this
   folder is not created automatically when uploading image.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024188)
 * Right, the blogid/files folder SHOULD be created via the same process. That is,
   when you run an upload, it should make Both.
 * Check the folder permissions on blogs.dir AND blogid.
 * Are they the same?
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024189)
 * yes they are the same on 777.
    i tried a way that makes me uploading whit no 
   probleme but i dont know if its correct or no beceuse i edited the code in wp-
   includes/ms-default-constants.php in line28 i deleted {$wpdb->blogid}/files/ 
   and it worked fine but i think this is not correct it will affect other things.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024190)
 * What about the OWNERS and GROUPS of the folders?
 * > wp-includes/ms-default-constants.php in line28 i deleted {$wpdb->blogid}/files/
   > and it worked fine but i think this is not correct it will affect other things.
 * Yeah, that’s a bad idea 🙂
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024194)
 * the OWNERS and GROUPS for :
    blogs.dir is 889 885 blogid is 99 99 after i ask
   my hos provider to turn off SAFE_MODE. files is not created.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024195)
 * I think that’s the issue right there. Owners and groups should be the same for
   blogs.dir as blogid.
 *  Thread Starter [faycomar](https://wordpress.org/support/users/faycomar/)
 * (@faycomar)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/#post-2024207)
 * should i contact the host provider to fix it or i can do it from my cpanel or
   ftp client????

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/users-media-upload-issue/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/users-media-upload-issue/page/2/?output_format=md)

The topic ‘subsite user cant upload image’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 16 replies
 * 5 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/users-media-upload-issue/page/2/#post-2024209)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
