• cboyd213

    (@cboyd213)


    hello,
    I moved my wordpress site from a windows server to linux
    copied all files over and uploaded database
    after doing so media uploads will not work
    I tried the higest chmod on the content folder and upload folder and still still not work

    Getting error:
    The uploaded file could not be moved to /var/www/html/sales/userid/domain.com/www/html/wp-content/uploads/2011/05.

    Thanks for your time!

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.
    http://codex.wordpress.org/Changing_File_Permissions

    Thread Starter cboyd213

    (@cboyd213)

    I just tried this and I’m sorry to say it didn’t work

    When I changed the wp-content directory to 766 it added to the error the following: “Is its parent directory writable by the server?” then I went ahead and worked my way up on the chmod setting and it went away but still will not upload the image.

    size is not an issue because it’s set for 80MB max.
    The file location it gives is correct.
    Could I have entered a wrong line code in mysql from the transfer from windows to linux? everything else seems to work ok.

    It could be a folder ownership issue – in which case, you’d need to ask your hosts to have a look at the problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Media uploads not working’ is closed to new replies.