Can't Upload Wordpress Images Nor Update Plugins

I am getting this error when I try to upload an image to my server.  I haven't change anything except for the normal centos updates.  Here is the error:

https://gyazo.com/03f0e39e905cdeddda55c2629a53b7b9

This is also affecting my ability to update a plugin.  Where I get this error:

https://gyazo.com/ef7f4ed9f0d28e9d9cfa4a40a3536e02

I have used this writeup to try and fix the problem.  However, nothing changed.  

http://www.wpbeginner.com/wp-tutorials/how-to-fix-image-upload-issue-in-wordpress/

Please help me get this working again.
sharingsunshineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Did you change the uploads folder to read/write permissions?
0
sharingsunshineAuthor Commented:
In my understanding of permisssions, yes.  Here is a screenshot of uploads.

https://gyazo.com/6732316180c05b0a7a0e130a93ace41e
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
You need to have everyone with read/write for that folder https://codex.wordpress.org/Changing_File_Permissions
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

sharingsunshineAuthor Commented:
so what numbers for directory and what for files and still keeping the server secure?
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
You are only setting the uploads folder so it is read/write for everybody. If you read through the codex link I supplied, it shows
0666	-rw-rw-rw-	all have rw only (6)

Open in new window

0
sharingsunshineAuthor Commented:
OK, I made everything 666 recursively.  Now I am getting this message:

https://gyazo.com/a5d5b2d3aa91e94e812fcc701231c387

Here is a screenshot of the uploads folder

https://gyazo.com/beded4cf2cf391b2d8cf62372f62faa1

Here is the command I used while in the wp-content directory
chmod 666 -R uploads
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I work in Windows and not linux/apache.  Try using 777 instead of 666
0
sharingsunshineAuthor Commented:
I appreciate your help but I don't want to do 777 since there are many articles about that being a security risk.
0
David Johnson, CD, MVPOwnerCommented:
chmod _rwrwrw  directory
chmod drwrwrw directory

definity not execute
r = 4
w = 2
x = 1     you add the bits to get 7 which is the same as rwx
1
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Yes, you are correct, after reading the WP doc, it should have been 755 https://codex.wordpress.org/Changing_File_Permissions. Like I said, I am used to doing this on Windows, not linux.

Some plugins require the /wp-content/ folder be made writeable, but in such cases they will let you know during installation. In some cases, this may require assigning 755 permissions. The same is true for /wp-content/cache/ and maybe /wp-content/uploads/
0
sharingsunshineAuthor Commented:
I appreciate both of you trying to help me.  However, none of your ideas fixed the problem.  It seems the role of any admin account got reduced in capabilities.  

To fix this I loaded the plugin Capability Manager Enhanced.  I selected the Administrator capabilities and used all the default settings and just saved my choices.  I then was able to upload an image without an issue.

It seems a normal role of that user was changed by an upgrade or plugin installation inadvertently.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sharingsunshineAuthor Commented:
This has been a very stable website so none of the permission changes helped.  Since, they had been working all along.  That's why I began to look at the actual admin user.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.