Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /nfs/c02/h04/mnt/20222/domains/andywibbels.com/html/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
Sometimes when you first install WordPress not all of the right permissions are in place.
By default, WordPress upload any files or attachments to posts to a folder called /uploads/ that is located in your /wp-content/ folder.
When you first install WordPress, be sure to test file uploading. You might get this error:
Unable to create directory /…something…/wp-content/uploads/…. Is its parent directory writable by the server?
What is happening is WordPress is trying to put the attachment or file into the uploads directory but the server doesn’t give it permission to do so.
To change this:
Connect via FTP.
Navigate to /wp-content/
Right-click on the /uploads/ folder. Your FTP client should give you an option like ‘set permissions’ or sometimes it is called CHMOD.
A pop-up opens allowing you to set the permissions of the /uploads/ folder.
Try setting it to 755.
Then attempt to upload and post a file again.