Wordpress Add new media error - wordpress

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

Related

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 cant upload to wp-content/upload

So a client asked to make some changes to his wordpress site, I can install and run plugins, but when I try to put some images or pdf files into the media it gives me the following error: "cant upload to wp-content/upload". I have created an admin user but cant upload any media.
Check if your "uploads" folder has the right permissions.
It should be at least 755.
Uploads folder is located at /wp-content/uploads

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.

Uploading Wordpress Images : error Permission denied in ....wp-admin/includes/file.php

I have recently restored my wordpress (3.3.1) site from a backup.
All is working fine and i can add posts and pages no problem and attach/set images which already exist in my media library.
However, i can't add new images to my media library (wp-content/uploads). I get error Permission denied in ....wp-admin/includes/file.php even though the permissions on wp-content and wp-content/uploads etc are set to 777. I even tried changing wp-admin/includes to 777 but that didnt make any difference.
Does anyone have any ideas.
Many thanks
Try adding a full file path for the uploads directory in Settings -> Media. I just ran into the same problem today and this fixed it for me.
It seems like this issue comes up when you've changed the location of the WordPress root - WP doesn't know where to create the new uploads folders so it returns a permissions error for whatever reason.

uploads folder wordpress dont work anymore?

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.

Resources