[resolved] Error when uploading media (3 posts)

  1. camdixon
    Posted 3 years ago #


    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
    Posted 3 years 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
    Posted 3 years 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:

Topic Closed

This topic has been closed to new replies.

About this Topic