Question

Upload error on wordpress

  • Posted October 14, 2014

I have kindly been helped by a good friend who has put my website on here and its fantastic however i get this error - “CAMERA.png” has failed to upload due to an error The uploaded file could not be moved to wp-content/uploads/2014/10.

How do i resolve this issue thanks

Subscribe
Share

This error is generally caused by write permissions on the uploads/ directory.

The uploads/ directory should be set to at least chmod 0755 to enable directory creation by WordPress when uploading files through the media library uploader.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I ran into a similar problem after following the initial Ubuntu 14.04 server setup, install lamp on Ubuntu 14.04, install WordPress on Ubuntu 14.04, and Configure Secure Updates and Installations in WordPress on Ubuntu tutorials.

Got it working using - sudo chown -R www-data:www-data /var/www/html/wp-content/uploads

you might want to check if the wordpress directory is owned by www-data or if your current user is a sudoer.

Hi there and where do i change this please as I have changed lots of permissions and it still is not uploading