Title: Adding Images &amp; Header
Last modified: August 21, 2016

---

# Adding Images & Header

 *  Resolved [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/)
 * On the last update, I could not upload images, whether it was through the Media
   manager or upload a custom header. I thought maybe the problem would be resolved
   in the next update, but the current update (3.8.3) still has the same issue. 
   I refreshed my browser, deleted my cache and it is still the same.
 * This is the error message:
    “Not Acceptable
 * An appropriate representation of the requested resource /new/wp-admin/themes.
   php could not be found on this server.
 * Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
   to handle the request.”
 * What can I do here? Working in Chrome browser on windows 7, if that makes any
   difference. I need to get to work on some sites, and can’t do it without being
   able to upload any images.

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

 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808607)
 * And the themes.php file IS in the admin folder. I tried in IE as well, and still
   the same. Also, when I try to add images in media mananger, I get http error.
   I also re-installed the new version of WP, and nothing. Do I have to go back 
   to an old version???
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808619)
 * A 406 (not acceptable) error is your web server saying (probably to WordPress)
   that the data type it is presenting is not acceptable to the recipient. This 
   is a server error, and it is a little unusual. Try contacting tech support at
   your host and see if they can help you with this.
 *  [komalh](https://wordpress.org/support/users/komalh/)
 * (@komalh)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808624)
 * Thank you the information is helpful!
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808630)
 * I did contact the host, and they said that my IP is not blocked, and they tried
   uploading images through the file manager and it works fine. And this is a 404
   error, not a 406 error (which I have never seen before).
 *  [Strela53](https://wordpress.org/support/users/strela53/)
 * (@strela53)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808665)
 * После того как обновила WP у меня перестали вставляться картинки в статьи. Мучаюсь
   уже несколько месяцев. Раньше можно было без проблем вставить картинку прямо 
   с компьютера, сейчас этого сделать нельзя. Когда пытаюсь вставить картинку в 
   статью выдается ошибка. Приходиться вставлять картинку с компьютера сначала в
   медиафайлы, потом заходить в них и только через ссылку вставлять, и то вставляется
   не с первого раза. Кстати с новым последним обновлением вставлять картинку становиться
   все сложнее и сложнее (и дольше по времени)
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808700)
 * The 404 error is caused by the server not finding an appropriate error page to
   handle the previous “Not Acceptable” error. You should see both errors in your
   error logs.
 * It is possible that some directory permissions have changed, preventing WordPress
   from writing to WP-Content. There is a lot to read about permissions, this doc
   is helpful:
 * [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 * You can manage permissions with most good FTP Clients
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808727)
 * I have checked all of the file permissions, and the directory folders are all
   755, and the files are all 644 except the wp-config file, which is 600. I deactivated
   all plugins except for Akismet. I am still unable to upload images.
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808730)
 * This is also happening through the browser upload. That is when I get the 404
   error. However when I go to Media, and try to just upload a new image, it gives
   me an Http error. So neither one works.
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808731)
 * Downloaded the .htaccess file, and it says this:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /new/
   RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond%{
   REQUEST_FILENAME} !-d RewriteRule . /new/index.php [L] </IfModule>
 * # END WordPress
 *  [SkyeMoody](https://wordpress.org/support/users/skyemoody/)
 * (@skyemoody)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808732)
 * Since updating WordPress, I am unable to add media to my library. Each time I
   try, via all methods, I receive the response “No temporary file”, or, “Error 
   in Loading”. Anyone know what’s up with this? Thanks
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808747)
 * This is in my error file:
 * [Tue Apr 15 16:31:43 2014] [error] [client 178.255.215.66] File does not exist:/
   home/nissi/public_html/Scuffys/404.shtml
    [Tue Apr 15 16:31:43 2014] [error] [
   client 178.255.215.66] File does not exist: /home/nissi/public_html/Scuffys/robots.
   txt [Tue Apr 15 16:09:29 2014] [error] [client 5.10.83.61] File does not exist:/
   home/nissi/public_html/Scuffys/404.shtml [Tue Apr 15 16:09:29 2014] [error] [
   client 5.10.83.61] File does not exist: /home/nissi/public_html/Scuffys/robots.
   txt [Tue Apr 15 16:05:47 2014] [error] [client 67.4.198.145] File does not exist:/
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/media-new.php](http://nissidesign.com/new/wp-admin/media-new.php)[
   Tue Apr 15 16:05:29 2014] [error] [client 67.4.198.145] File does not exist: /
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/media-new.php](http://nissidesign.com/new/wp-admin/media-new.php)[
   Tue Apr 15 16:04:57 2014] [error] [client 67.4.198.145] File does not exist: /
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/media-new.php](http://nissidesign.com/new/wp-admin/media-new.php)[
   Tue Apr 15 16:04:36 2014] [error] [client 67.4.198.145] File does not exist: /
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/media-new.php](http://nissidesign.com/new/wp-admin/media-new.php)[
   Tue Apr 15 15:47:55 2014] [error] [client 67.4.198.145] File does not exist: /
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/themes.php?page=custom-header](http://nissidesign.com/new/wp-admin/themes.php?page=custom-header)[
   Tue Apr 15 15:41:28 2014] [error] [client 67.4.198.145] File does not exist: /
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/themes.php?page=custom-header](http://nissidesign.com/new/wp-admin/themes.php?page=custom-header)[
   Tue Apr 15 15:38:33 2014] [error] [client 67.4.198.145] File does not exist: /
   home/nissi/public_html/406.shtml, referer: [http://nissidesign.com/new/wp-admin/themes.php?page=custom-header](http://nissidesign.com/new/wp-admin/themes.php?page=custom-header)[
   Tue Apr 15 15:15:29 2014] [error] [client 176.31.73.128] File does not exist:/
   home/nissi/public_html/404.shtml, referer: [http://nissidesign.com/](http://nissidesign.com/)[
   Tue Apr 15 15:15:29 2014] [error] [client 176.31.73.128] File does not exist:/
   home/nissi/public_html/wp-login.php, referer: [http://nissidesign.com/](http://nissidesign.com/)[
   Tue Apr 15 14:44:49 2014] [error] [client 157.55.34.24] File does not exist: /
   home/nissi/public_html/Scuffys/404.shtml [Tue Apr 15 14:44:49 2014] [error] [
   client 157.55.34.24] File does not exist: /home/nissi/public_html/Scuffys/robots.
   txt [Tue Apr 15 14:30:10 2014] [error] [client 198.55.112.207] File does not 
   exist: /home/nissi/public_html/404.shtml, referer: [http://nissidesign.com/](http://nissidesign.com/)[
   Tue Apr 15 14:30:10 2014] [error] [client 198.55.112.207] File does not exist:/
   home/nissi/public_html/wp-login.php, referer: [http://nissidesign.com/](http://nissidesign.com/)
 * It looks like something is going on with media_new.php, so I downloaded it from
   the wordpress.org site, and uploaded it to my site that I am working on, and 
   it did not work. On the media page, however, before it gave me the http error.
   Now that is gone away and replaced with the 404 error as I stated before.
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808781)
 * SkyeMoody, it might be best for you to open a new thread, you don’t seem to have
   the same issue.
 * dianasather1, from your troubleshooting actions, I’ll guess that you have run
   into the Mod_security server module that periodically causes 406 errors. I suggest
   that you get Support to turn it off temporarily to see if that makes the issue
   go away. If they suggest a specific mod to your .htaccess file to get this done
   you should do that, but I don’t think you should edit .htaccess otherwise. Running
   with Mod_security off for an extended period is not a great idea, the module 
   is there for a reason and provides valuable protection, but at least we will 
   have isolated the cause and can work from there.
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808792)
 * Problem is resolved! Just got this from the server:
 * Hello,
 * Thanks for the update.
 * On checking the error logs I could see that the issue was due to the mod_security
   rules added on the server and you can verify it from the logs apsted below,
 * ———————
    [Tue Apr 15 19:55:42 2014] [error] [client 67.4.198.145] ModSecurity:
   Access denied with code 406 (phase 2). File “/tmp/20140415-195541-U03G-cc6uisAAGSqfo4AAADC-
   file-m3xAOQ” rejected by the approver script “/usr/sbin/clamscn.pl”: 0 Unable
   to parse clamscan output [ERROR: Can’t open file or directory] [file “/usr/local/
   apache/conf/modsec-maldet.conf”] [line “17”] [id “99999”] [hostname “nissidesign.
   com”] [uri “/new/wp-admin/media-new.php”] [unique_id “U03G-cc6uisAAGSqfo4AAADC”]——————–
 * We have now whitelisted the domain from mod_security rules and this will resolve
   the wordpress issue. Please have a try now from your end and let us know if you
   have any further issues so that we can help you further.
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808794)
 * Very glad that worked out, if you have a moment please mark this resolved, it
   is appreciated.
 *  Thread Starter [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * (@dianasather1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808795)
 * Resolved

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

The topic ‘Adding Images & Header’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 15 replies
 * 5 participants
 * Last reply from: [dianasather1](https://wordpress.org/support/users/dianasather1/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/adding-images-header/#post-4808795)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
