uploads folder wordpress dont work anymore? - wordpress

has failed to upload due to an error
Unable to create directory /Volumes/Local/wordpress/wp-content/uploads/2011/02. Is its parent directory writable by the server?
the last thing i remember i did was on localhost, deleted the uploads folder...
now the uploads folder is gone, i keep getting this error,
while i made sure in the settings i have wp-content/uploads
i tried to create a folder manually, or change the directory...
but all says its parents directory writeable by the server????? wordpress deny to create the upload folder again : /
how to solve this?

Ok solved this.
For any who is using MAMP Pro and u need file permission of Wordpress for your uploads folder.
Go to HOST Tab - and click your localhost - there you find a button with permissions.
set Owner and Group to www and enable it with set.
In wordpress - under media settings, change your current folder to where ever you want. example: ../uploads this goes right direct in the root/uploads. click on save and you are done and all should work.
For Filezilla when your site is online. Once you connected, rightclick on the upload folder and change the permissions there.
Thats it. 1 min work >< took me half a day of research. And most anwsers on forums/posts etc are way too complicated.
This is the quickest and best way using Mamp pro and Filezilla.

You need to change the folder permissions to 755 or on some servers 777 using:
chmod 755 or chmod 777 on the folder in question.

Related

Permission error on wordpress theme from themeforest

I am using a custom theme I brought from themeforest and I am trying to deploy it to WordPress a
WPHunters Health Checker have detected next problems:
Set 0777 permissions to /wp-content folder.
To use theme please fix these issues. This message visible only for site administrators.
I have tried to change the permissions using FileZilla but WordPress is not allowing me to change the permissions to 777.
Theme link
As far as I know, WordPress doesn't have a functionality that allows admins to change permission from the admin panel if I understood you correctly. I dont know what you mean by "but WordPress is not allowing me to change the permissions to 777." Just make sure to chmod recursively.
Go to FileZilla and navigate to the path : /wp-content folder
Right click on the folder and choose File permission
Set the numerical value to 777
Check the box that says Rescuers into subdirectories
Select Apply to all files and directories

"Unable to create Directory" on wordpress running on XAMPP

In these days i am experiencing an annoying error. I am trying to add plugins and themes on my wordpress site, which is handled by XAMPP running APACHE webserver and obviously MySql database. Everytime that i try to install a plugin (woocommerce in this case) i get the output below:
So I tried to change permissions on all the wordpress directories (I am on windows 10), but that has not solved the issue yet. I find it pretty strange.
Actually woocommerce folders are stored anyway in the File System:
I am not able to use the plugin from the site, anyway. I definitely need someone's help.
Just need to change folder permission and follow the below step:
Change folder permissions on the wp-content directory to 775 and try to upload it again.
If it fails, change the permissions to 777 and try to upload it again.
If it still fails then do steps 1 and 2 for the “wp-content/uploads” directory too and try to upload it again.

WordPress won't allow file upload - file cannot be moved to wp-content/uploads

When I try to upload files to the WordPress media library, I get an error saying that file cannot be moved to wp-content/uploads. I tried changing to 777 permissions (just to test) and it still did not work. I tried the following link:
http://2surge.com/how-to-fix-the-uploaded-file-could-not-be-moved-to-wp-content-error-message/
which says to give the nobody user permission, which did not work.
I also tried adding the following link:
https://www.digitalocean.com/community/questions/wordpress-the-uploaded-file-could-not-be-moved-to-wp-content-uploads
which says to add FTP connection data to wp-config.php, which did not work.
I tried to upload manually through FTP and then use the Add From Server plugin, however when given the correct connection information to Add From Server (which on other sites I've done with these permissions/ownership isn't even asked for), the plugin cannot connect.
Can anyone offer a solution?
Thanks in advance!
Try Like This in Terminal-sudo chmod -R 777 /opt/lampp/htdocs/wptest1/wp-content/uploads/2017/07 after creating suitable folders like uploads>2017>07 in wp-content folder in wordpress

Wordpress Add new media error

I have recently uploaded my new site and edited the permissions to the folders, but returned all files permission and folders back to original state but now when i try to upload a picture to the media library i get this following message.
Error -1.jpg
The uploaded file could not be moved to wp-content/uploads/2014/09.
I now cant upload anything.
my public_html and folders are set to 755 and files to 644.
I have also tried to add a option_value to upload_path phpMyadmin which is currently empty, but this did not work.
would love some help
Set a 755 to upload floder by the Fttp details or cpanel
Please create a folder named uploads inside wp-content folder and set 755 permission to it. This will solve the problem.
Check with your hosting company and make sure that PHP is enabled as FastCGI rather than an Apache module

No permissions to upload files after installing Wordpress on EC2 - Amazon Tutorial

quite a noob here. Was just able to install a Wordpress following this Amazon tutorial:
Tutorial: Hosting a WordPress Blog with Amazon EC2
The thing is, that I cant upload any images.
Actually the error I get is:
Cant create "Upload" directory. Does the parent directory have persmission?
(not exactly these words as my wp is in portuguese)
I can do everything via FTP (that I installed using this tutorial: The White Way - How to set up WordPress on Amazon EC2).
What I'm trying to learn:
How can I change permissions so that I may upload/create files and folders via Wordpress?
Thanks a lot!
Solution: OK guys what worked for me was: set wp-content and recursively all subfolders and files to permission 777: then I was able to upload. After that I went back to 755 and it continued functioning.
Make sure your wp-content folder has a 755 permission so that wordpress can create an upload directory inside Wp-content folder. You should be able to change the permission of WP-content through FTP.
hmm usually the 755 permission should fix the issue. Maybe check out that folders inside wp-content have also a 755 permission. If this doesn't fix the problem, create a folder called 'uploads' under wp-content and make sure this folder has also a 755 permission.

Resources