My folders have the right permissions but I can't upload images
-
I’m new in multisite everything was fine until I notice I cant upload images! All the folders have the right permision but I can’t do it anyway pleeeease help!
-
This isn’t much to go on.
Have you confirmed that image uploads are permitted in Super Admin > Options, and that the image file types you want to upload are included in the permitted types below that option. https://screencast.com/t/NzVkMDJmNT
What type of files (.gif, .jpg, .png…)are you trying to upload?
What happens when you try? Do you receive any error messages, either on screen or in log files?
Are you using the Flash uploader? Have you tried the browser uploader?
Thanks for the reply.
Today I suddenly could upload images in the super admin site. But my other sites can’t even with the option enabled. I don’t know If i have a wrong path for the files or what!
Pleas help me out! I need that my users can create galleries by them selves
also… what can I do about the safe mode of my server?
regards!
Are you getting a specific error?
Are you using the Flash uploader? Have you tried the browser uploader?
This too! ??
I’ve tried with both up-loaders and I have the same message
Unable to create directory /var/www/vhosts/conadeip.org.mx/httpdocs/wp-content/blogs.dir/2/files. Is its parent directory writable by the server?
I’ve already checked that out and my folders are writable! they have the right permisions
I have a maybe stupid question but I’m knew on this so I have to ask In the forums when people refer to the mu-plugin folder they are talking about the “main site” folder (I mean the one that is inside wp-content in my root folder) or do I have to create a folder with that name?
Another thing! do I have to create the folders gallery, uploads and themes in the sub-site folder? (/wp-content/blogs.dir/2/files)
Thanks for helping me out!!
Unable to create directory /var/www/vhosts/conadeip.org.mx/httpdocs/wp-content/blogs.dir/2/files. Is its parent directory writable by the server?
I’ve already checked that out and my folders are writable! they have the right permisions
WHICH folders did you check?
Does
/wp-content/blogs.dir/2/files
exist? If so, what are the permissions? You may have to set blogs.dir and ALL subfolders to 777 (some hosts require this).In the forums when people refer to the mu-plugin folder they are talking about the “main site” folder (I mean the one that is inside wp-content in my root folder) or do I have to create a folder with that name?
The mu-plugin folder goes under wp-content (at the same level as your plugins folder).
Another thing! do I have to create the folders gallery, uploads and themes in the sub-site folder? (/wp-content/blogs.dir/2/files)
No.
The themes go in wp-content/themes
The uploaded files will be put in wp-content/blogs.dir/#/files (where # represents the blog number).
I can finally create galleries and upload pictures in the sub-sites with Nextgen by setting the folder and the permissions before creating the gallery. I guess I had the wrong path for those files.
But I still can’t upload images to the media library or upload files from my computer as a sub-site administrator.
WHICH folders did you check?
Does /wp-content/blogs.dir/2/files exist? If so, what are the permissions? You may have to set blogs.dir and ALL subfolders to 777 (some hosts require this).
I’ve checked the folder you are talking about, it does exists and has de 777 permissions I also gave the same permissions to the sub folder # . I tired to choose the option of apply permissions to folder and sub folders and I got this message : 550 CHMOD 0777 2: Operation not permitted : /httpdocs/wp-content/blogs.dir/0777 2
I guess that’s the problem but… how can I fix it?
Thanks for the help!!
I tired to choose the option of apply permissions to folder and sub folders and I got this message
What are you using to set permissions? An FTP app or something?
I do it by command line so it’s
chmod -R 777 /var/www/vhosts/conadeip.org.mx/httpdocs/wp-content/blogs.dir/
The mu-plugin folder goes under wp-content (at the same level as your plugins folder)
So in my wp-content folder I must have a folder named mu-plugins and one named plugins? Because I have just one folder named plugins and everything seems to work fine I’m keeping the admin (plugin) options from the sub-sites off. Should I change something?
The themes go in wp-content/themes
If I change the stylesheet of the theme in a sub-sithe will it affect the main theme sylsheet as weel?
What are you using to set permissions? An FTP app or something?
I do it by command line so it’s chmod -R 777 /var/www/vhosts/conadeip.org.mx/httpdocs/wp-content/blogs.dir/
Yes I use an FTPapp, as a graphic designer I don’t know another way to do so! =( What do you mean by doing it by command line? where should I place that code?
thanks!! You’re saving me!!
mu-plugins is for MUST USE plugins. You only need to use it for must use plugins ??
And yes, if you change the stylesheet for a theme, it will affect all sites using that theme.
Command line is… when you connect via a command line into a server. Which may not be possible for you.
What ftp app are you using?
Ufff!! Good to know I don’t have to worry about that folder! I just got confused with all the questions about it! lol
Command line is… when you connect via a command line into a server. Which may not be possible for you.
right! not posible for me
FireFTP maybe filezilla will work better? Any advise? by the way I use Mac =P
Try Cyberduck — https://cyberduck.ch/
You can change permissions on it thusly: https://trac.cyberduck.ch/wiki/help/en/howto/info
I’ve downloaded the cyberduck app… thanks a loooooot!!
Everything has the 777 permissions.What could be wrong? Other thing… I can’t connect to the server with SFTP just with FTP. Could that be a problem?
should I set the httpdocs to 777 too?
No, do NOT set httpdocs to 777. So long as the blogs.dir is 777, that should be enough.
Try manually creating the 2/files folders? They should be created on site creation, but if permissions were wrong beforehand, that may be at cause.
- The topic ‘My folders have the right permissions but I can't upload images’ is closed to new replies.