Forums

[resolved] Images wont upload after upgrade to 3.3.1 (11 posts)

  1. Jay Harlow
    Member
    Posted 4 months ago #

    i have followed all the trouble stooting tips and still nothing......

    Help

  2. Jay Harlow
    Member
    Posted 4 months ago #

    Warning: copy(/var/www/vhosts/rushfm.co.nz/httpdocs/wp-content/uploads/2012/01/rome-vegestall.jpg) [function.copy]: failed to open stream: Permission denied in /var/www/vhosts/rushfm.co.nz/httpdocs/wp-admin/includes/file.php on line 348

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rushfm.co.nz/httpdocs/wp-admin/includes/file.php:348) in /var/www/vhosts/rushfm.co.nz/httpdocs/wp-includes/pluggable.php on line 866

  3. kmessinger
    Member
    Posted 4 months ago #

    i have followed all the trouble stooting tips

    Did you delete the wp-includes and wp-admin folders and replace them with a fresh, unzipped copy?

  4. jennifer_ellinger
    Member
    Posted 4 months ago #

    I am having the SAME problem...can yo walk me through how to delete the wp-includes etc. in a little more detail? I am just a mom trying to update our preschool web site :)

  5. kmessinger
    Member
    Posted 4 months ago #

    jennifer_ellinger
    Please start your own thread. It is considered bad form to jump into someone else's.

  6. Jay Harlow
    Member
    Posted 4 months ago #

    @ jennifer_ellinger

    thanks for "jumping my thread" I too need basic help......can you walk me through how to delete the wp-includes etc. in a little more detail?

    i normlly just auto update

  7. Jay Harlow
    Member
    Posted 4 months ago #

    so how do i delete the wp-includes and wp-admin folders and replace them with a fresh, unzipped copy, and not lose any data on my web page? can you walk me through how to delete the wp-includes etc. in a little more detail?

  8. Peter Wooster
    Member
    Posted 4 months ago #

    You use FTP or the cPanel file manager on your host. If these are not familiar tools I recommend getting a programmer or IT support person to give you a hand.

    The wp-admin and wp-includes folders do not contain data, they contain program code. The data is in the database, the wp-contents folder, and the wp-config.php file. Do NOT delete any of these.

    /peter

  9. Jay Harlow
    Member
    Posted 4 months ago #

    so i deleted the wp-includes and wp-admin folders and replace them with a fresh, unzipped copy........ and still the same error message when i try to upload images. :(

  10. Peter Wooster
    Member
    Posted 4 months ago #

    Now that you've ensured that the code is correct, its time to return to the original problem. The first error message that copy encountered a "Permission denied" error is the interesting one. The second error is just a side effect of the first.

    What the first error says is that your server is unable to execute the line
    copy( $tmp_file, $new_file );
    the variable $new_file contains your destination file name /var/www/vhosts/rushfm.co.nz/httpdocs/wp-content/uploads/2012/01/rome-vegestall.jpg. This indicates that the server can't write to the uploads directory.

    Check the permissions on the uploads directory and its sub-directories.

    /peter

  11. Jay Harlow
    Member
    Posted 4 months ago #

    I contacted my server and they reset the permissions ..... and now it works :)

Reply

You must log in to post.

About this Topic