Upload+Permissions+Fix

If you have tried to upload an image to your WordPress site you may have got an error message like this. Welcome to the wonderful world of reconciling CMS functionality with finicky permissions issues. In order to fix this problem (and you'll need to do so to complete the 'Damage Control' assignment) note the following steps:


 * 1) First off, you'll need to know how to access Cpanel – note the previous reference document for that.
 * 2) Once you've accessed Cpanel, Click on 'File Manager' (the third group of files from the top)
 * 3) A popup will open up asking you where you'd like to start browsing, just click on 'Go' – //You will now see a listing of all the files associated with WordPress, these are the assets being drawn on by the PHP templates.//
 * 4) Open up the 'wp-content' folder –//this will open up a folder that contains two folders: 'plugins' and 'themes'. The above error message is occuring because WordPress does not have the correct write permissions to create the uploads folder, we are going to make that folder and edit its permissions. //
 * 5) Click on the 'New Folder' button in the top menu and set the new folder name as 'uploads'
 * 6) Now that your new folder is created, select it so that it is highlighted and click on 'Change Permissions' in the top menu. This will open up an array of checkboxes.
 * 7) Set Group and World to 'Write' – this will change the number value to 777.
 * 8) Click on 'Change Permission'
 * 9) Close Cpanel and do a test upload of an image within a post or page.

You are done. You should now be able to upload images to the media library in WordPress. Normally we'd want all file permissions for a folder set to 755 so **this quick fix would not be acceptable (for security reasons) in a production environment**, but it is fine for the classroom.

//** __UPDATE, OCT 18 AT 2:30PM__: Fixing any CSS Style Sheet file permissions How-To Video, see below: (or click here) **// media type="youtube" key="tj9egiKcgbQ" height="315" width="420"