Title: can&#039;t upload header
Last modified: August 20, 2016

---

# can't upload header

 *  [jardaz](https://wordpress.org/support/users/jardaz/)
 * (@jardaz)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/cant-upload-header/)
 * when uploading custom image into template header (png) I get this:
    Warning: 
   copy(/var/www/vhosts/qrpetbook.com/httpdocs/wp-content/uploads/2012/03/preview1.
   png) [function.copy]: failed to open stream: Permission denied in /var/www/vhosts/
   qrpetbook.com/httpdocs/wp-admin/includes/file.php on line 348
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/vhosts/qrpetbook.com/httpdocs/wp-admin/includes/file.php:348) in /
   var/www/vhosts/qrpetbook.com/httpdocs/wp-includes/pluggable.php on line 866
 * what does it really means?

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

 *  [RichardWPG](https://wordpress.org/support/users/richardwpg/)
 * (@richardwpg)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/cant-upload-header/#post-2619880)
 * If you want to upload header, you can find it throught the themes folder via 
   FTP.
 *  Thread Starter [jardaz](https://wordpress.org/support/users/jardaz/)
 * (@jardaz)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/cant-upload-header/#post-2619918)
 * Well I have uploaded the header of required size to a directory of WP. See above
   but either way I’m not capable to get it inside of the template. I tryied change
   templates and insert the header no luck either. I think the trick is in “Permission
   denied in /var/www/vhosts/qrpetbook.com/httpdocs/wp-admin/includes/file.php on
   line 348” meanig permissions. But if I can FTP to any of directories why can’t
   I insert header using the dashboard options?
 *  Thread Starter [jardaz](https://wordpress.org/support/users/jardaz/)
 * (@jardaz)
 * [14 years ago](https://wordpress.org/support/topic/cant-upload-header/#post-2620117)
 * anybody knows about this error? “Permission denied in /var/www/vhosts/qrpetbook.
   com/httpdocs/wp-admin/includes/file.php on line 348” meanig permissions.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/cant-upload-header/#post-2620118)
 * 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](http://codex.wordpress.org/Changing_File_Permissions)

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

The topic ‘can't upload header’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/cant-upload-header/#post-2620118)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
