<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Well that thought did occur to me. I
didn't see anything too strange when I looked, but just to be sure
I set up a fresh instance of Drupal in a sub directory of my
hosting site and I got the error there as well.<br>
<br>
Also I set up an account on drupalgardens and was able to upload
an image there and I my father has a web site with drupal
installed and I was able to upload an image too. All cases from
the same machine that I'm getting the 406 error. Thus it seems
rather specific to this site.<br>
<br>
My time is about up with this hosting site and well since I don't
have shell access where I'm at now, I figured might be a good time
to move.<br>
<br>
<br>
Pat<br>
<br>
On 12/16/2012 2:22 PM, Jamie Holly wrote:<br>
</div>
<blockquote cite="mid:50CE1F81.5000600@earthlink.net" type="cite">You
might have something else Javascript messing with it. I had a very
similar problem last year on a client's site. Turned out it was a
Twitter widget that messed with the AJAX calls (actual widget
supplied by Twitter). I disabled that widget on node forms and
everything started working fine again.
<br>
<br>
Jamie Holly
<br>
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a>
<br>
<br>
On 12/16/2012 12:45 PM, Pat Newberry wrote:
<br>
<blockquote type="cite">Figured I give the final out come.
<br>
I did try several types of browser and both linux and windows
machines.
<br>
<br>
Later I found that even if I got the error, as long as I hit
save, the images was actually uploaded.
<br>
<br>
I found this at drupal.org <a class="moz-txt-link-freetext" href="http://drupal.org/node/1369502">http://drupal.org/node/1369502</a>
<br>
<br>
So I turned off javascript like it said, I don't get the error.
<br>
<br>
So now I turn off javascript, upload the photos, then turn it
back on.
<br>
<br>
Weird, but it works.
<br>
<br>
Pat
<br>
<br>
<br>
<br>
On 12/13/2012 2:55 PM, Jamie Holly wrote:
<br>
<blockquote type="cite">Since this appears to be only AJAX
related, have you tried using another browser to see if it
happens? It sounds like something in your browser messing with
the AJAX request headers.
<br>
<br>
Jamie Holly
<br>
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a>
<br>
<br>
On 12/13/2012 2:37 PM, Pat Newberry wrote:
<br>
<blockquote type="cite">Well after setting up an account my
hosting site support folks send me an email today saying
they uploaded a file and ask if I still had the problem.
<br>
<br>
I went to the node link they sent and lo and behold, I found
out that they did upload a file.
<br>
<br>
Well then I tried myself, but still got the same dang
message.
<br>
<br>
Odd. But then just for giggles, I pressed save and lo and
behold when I went back to the node, the image was there.
<br>
<br>
So at least I have a work around. I'm tempted to do another
install of drupal (fresh) at a higher directory level) and
start from scratch just to verify it's not my drupal
installation.
<br>
<br>
So to recap
<br>
1.) when I try to upload and image for my blog, I get a http
406 error
<br>
<br>
Path:
/file/ajax/field_image/und/form-aqVfBkO3W3EanT1FtRcU4Vpw_EvF6JrrFNI-WSDN2yM<br>
StatusText: n/a
<br>
ResponseText: 406 Not Acceptable
<br>
<br>
2.) when I try very small files (e.g. 3 kb) I do not get the
error and the file loads.
<br>
<br>
3.) If I ignore the 406 error when attempting to upload
images (closing the error alert box) , press save then go
back to edit of the node, the file / image is there and I
can then insert it the blog posting.
<br>
<br>
<br>
Very strange... Very Strange...
<br>
<br>
Pat
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 12/12/2012 11:40 AM, Pat Newberry wrote:
<br>
<blockquote type="cite">Well Opened another ticket with my
web hosting company .
<br>
<br>
Since they wanted to duplicate the problem, I ended up
setting up a dummy user on my site.
<br>
I changed permissions to allow authenticated users to
create blog entries.
<br>
<br>
Oddly enough I did not see when logged in as regular
authenticated user any menu item to create a blog entry.
<br>
<br>
So I just told them to navigate to /node/add once they are
logged in to get to the blog entry page and try to upload
a photo with a blog entry to duplicate the error.
<br>
<br>
Pat
<br>
<br>
On 12/11/2012 9:18 AM, Pat Newberry wrote:
<br>
<blockquote type="cite">I did contact them and opened a
ticket, but I was not sure if the issue was related to
Drupal or not and they didn't either so I ended up
closing the ticket.
<br>
<br>
When I contact them again is there a specific issue I
should ask them to address?
<br>
<br>
<br>
Pat
<br>
<br>
<br>
On 12/10/2012 4:00 PM, Lenny Rogers wrote:
<br>
<blockquote type="cite">Contact your support of your web
hosting
<br>
<br>
On Mon, Dec 10, 2012 at 9:39 PM, Pat Newberry
<a class="moz-txt-link-rfc2396E" href="mailto:drupal@gypsyfarm.com"><drupal@gypsyfarm.com></a> wrote:
<br>
<br>
<blockquote type="cite"> A couple of weeks ago I
could upload images, but now I can't. I'm
<br>
getting a 406 error. At first I thought it was
related to me trying to set
<br>
up a slide show gallery. I now see that even on my
blog entry I can not
<br>
upload an image.
<br>
<br>
Here are the Headers and such:
<br>
<br>
POST
/admin/structure/views/view/image_gallery_iii/preview/page_1/ajax
<br>
HTTP/1.1
<br>
Host <a class="moz-txt-link-abbreviated" href="http://www.gypsyfarm.com">www.gypsyfarm.com</a>
<br>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:17.0) Gecko/20100101
<br>
Firefox/17.0
<br>
Accept application/json, text/javascript, */*;
q=0.01
<br>
Accept-Language en-US,en;q=0.5
<br>
Accept-Encoding gzip, deflate
<br>
Connection keep-alive
<br>
Content-Type application/x-www-form-urlencoded;
charset=UTF-8
<br>
X-Requested-With XMLHttpRequest
<br>
Referer
<br>
<a class="moz-txt-link-freetext" href="http://www.gypsyfarm.com/admin/structure/views/view/image_gallery_iii/ed">http://www.gypsyfarm.com/admin/structure/views/view/image_gallery_iii/ed</a>...<a class="moz-txt-link-rfc2396E" href="http://www.gypsyfarm.com/admin/structure/views/view/image_gallery_iii/edit?render=overlay"><http://www.gypsyfarm.com/admin/structure/views/view/image_gallery_iii/edit?render=overlay></a>
<br>
Content-Length 10510
<br>
Cookie Drupal.toolbar.collapsed=0;
Drupal.tableDrag.showWeight=0;
<br>
__utma=68804615.1924210912.1334177271.1355103170.1355145954.287;
<br>
__utmz=68804615.1348501291.200.7.utmcsr=pnewberry.dev.habitat.org|utmccn=(referral)|utmcmd=referral|utmcct=/blog/article109.aspx;
<br>
mp_d21cb8a9f34838c02aeec897b3728a94_mixpanel=%7B%22distinct_id%22%3A%2213b06813cb6132-0ffe7a842ff0ee8-47574134-13c680-13b06813cb7285%22%2C%22%24initial_referrer%22%3A%22http%3A%2F%
<br>
2Fwww.gypsyfarm.com
<br>
%2Fadmin%2Fstructure%2Ftypes%22%2C%22%24initial_referring_domain%22%3A%
<br>
22www.gypsyfarm.com%22%7D;
<br>
SESS6fcc60056c800253f4b9ad47fd84e52f=szAwpR3HHNEK1xq-CbX4k5UkJmaoo7r6joenItke_4o;
<br>
has_js=1; __utmb=68804615.1.10.1355145954;
__utmc=68804615
<br>
Pragma no-cache
<br>
Cache-Control no-cache
<br>
<br>
(Status-Line) HTTP/1.1 406 Not Acceptable
<br>
Date Mon, 10 Dec 2012 13:27:31 GMT
<br>
Server LiteSpeed
<br>
Connection Keep-Alive
<br>
Keep-Alive timeout=5, max=100
<br>
Cache-Control private, no-cache, max-age=0
<br>
Pragma no-cache
<br>
Content-Type text/html
<br>
Content-Length 372
<br>
<br>
an AJAX HTTP error occurred.
<br>
HTTP Result Code: 406
<br>
Debugging information follows.
<br>
Path:
/admin/structure/views/view/image_gallery_iii/preview/page_1/ajax
<br>
StatusText: Not Acceptable
<br>
ResponseText:
<br>
406 Not Acceptable
<br>
<br>
406 Not Acceptable
<br>
<br>
This request is not acceptable
<br>
Powered By LiteSpeed Web Server
<br>
LiteSpeed Technologies is not responsible for
administration and contents
<br>
of this web site!
<br>
<br>
I'm not sure where to start to figure this out. I've
Googled 406 error but
<br>
nothing I read was of much help to me.
<br>
<br>
Any one can help as to where I should start?
<br>
I did any module I recently added related to slide
shows. Again, this
<br>
seems to affect all upload of images on the site.
<br>
<br>
Pat
<br>
Add new comment
<a class="moz-txt-link-rfc2396E" href="http://drupal.org/comment/reply/1862912#comment-form"><http://drupal.org/comment/reply/1862912#comment-form></a>
? Categories:
<br>
Post installation
<a class="moz-txt-link-rfc2396E" href="http://drupal.org/forum/22"><http://drupal.org/forum/22></a>, Drupal
7.x<a class="moz-txt-link-rfc2396E" href="http://drupal.org/taxonomy/term/120"><http://drupal.org/taxonomy/term/120></a>
<br>
<br>
-- <br>
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
I
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>