WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error when uploading media (3 posts)

  1. camdixon
    Member
    Posted 1 year ago #

    Hi,

    I have gotten this error when I have tried to move my WP from localhost (developing on my computer) to the linux server.

    “Header.jpg” has failed to upload due to an error
    The uploaded file could not be moved to /home/apache/main/cam/wp-content/uploads/2013/01.

  2. camdixon
    Member
    Posted 1 year ago #

    What do you think the problem is? I should have full access rights to that directory, because I had to upload the WP files to /home/apache/main/cam

  3. camdixon
    Member
    Posted 1 year ago #

    Problem solved,

    Change user permissions and change owner by FTP client or by chown in linux to make sure they are the owner is "www-data" and 755 permissions on the folder wp-content.

    wp-content permissions: 755
    I changed all files/folders to be owned by "www-data"

    Also, I believe an equal solution:
    http://wordpress.org/support/topic/media-upload-problem-the-uploaded-file-could-not-be-moved-to-error?replies=42

Topic Closed

This topic has been closed to new replies.

About this Topic