• fedora 18
    lamp all installed
    wp 2.9.2

    i have installed wp on localhost and now i am trying to import settings from my blog i have worked through all the help available thanks everyone :->
    ============================================
    i have changed permissions and ownership
    first change ownership
    sudo chown -R root:root /var/www/html/wordpress

    installed wordpress 2.9.2 had to change permissions on on subsequent directorys from the uploads/2013/06 to 777 start with the

    sudo chmod 777 /var/www/html/wordpress/wp-content/uploads
    sudo chmod 777 2013
    sudo chmod 777 06
    ===============================================
    i am not too worried as this on a local machine right now i have also changed php.ini upload limits and cleared the miscllaneous settings

    =================================================
    now i have this error
    Sorry, there has been an error.
    The uploaded file could not be moved to /var/www/html/wordpress/wp-content/uploads/2013/06.

    i’ve all dirs’ to apache under html ?

    any help

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    Thread Starter petey101

    (@petey101)

    thanks esmi i’ve tried it but will take your advice and try it again .i’ve just changed the upload path in mysql still no good ..

    tried them
    hmod 767 wp-content/ no good
    chmod 755 wp-content/ no good
    chmod 767 wp-content/ no good
    chmod 775 wp-content/ no good

    this is what i am getting https://s7.postimg.org/r0dhlp3wr/Screenshot_from_2013_06_05_18_14_40.png

    Thread Starter petey101

    (@petey101)

    and tried this here

    mysql db path

    Did you try 777?

    Thread Starter petey101

    (@petey101)

    problem with seLInux was not letting me write to uploads folder so
    open shell and

    # semanage fcontext -a -t httpd_sys_rw_content_t ’06’
    (apache managinging directory 06)
    # restorecon -v ’06’
    resstoring connection

    fixed this was on a local machine fedora 18 not on a hosting serer godaddy thingy!
    thanks esmi

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘uploaded file could not be moved to /var/www/’ is closed to new replies.