• 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)
  • If you want to upload header, you can find it throught the themes folder via FTP.

    Thread Starter jardaz

    (@jardaz)

    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

    (@jardaz)

    anybody knows about this error? “Permission denied in /var/www/vhosts/qrpetbook.com/httpdocs/wp-admin/includes/file.php on line 348” meanig permissions.

    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.
    https://codex.www.ads-software.com/Changing_File_Permissions

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘can't upload header’ is closed to new replies.