Jump to content


Photo

406 Not Acceptable errors on html and javascript forums


  • Please log in to reply
5 replies to this topic

#1 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 03 May 2006 - 10:16 PM

trying to post on HTML and javascript forums yields me the following:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head><body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource /forums/index.php could not be found on this server.</p>
</body></html>


#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 04 May 2006 - 12:13 PM

Are you trying to post code or just a text response?

There are some permissions errors that could result in that error that the admins are working on. In the meantime, may I suggest [a href=\"http://pastebin.com/\" target=\"_blank\"]http://pastebin.com/[/a] as an alternative for posting code?

Info: PHP Manual


#3 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 04 May 2006 - 07:43 PM

[!--quoteo(post=371217:date=May 4 2006, 07:13 AM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ May 4 2006, 07:13 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Are you trying to post code or just a text response?

There are some permissions errors that could result in that error that the admins are working on. In the meantime, may I suggest [a href=\"http://pastebin.com/\" target=\"_blank\"]http://pastebin.com/[/a] as an alternative for posting code?
[/quote]

went to the site in question, but I don't understand what the form does? (no I didn't submit anything).

Also, I just tried posting regular stuff (no code) to the javascript forum and got the same error.

#4 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 04 May 2006 - 07:45 PM

It allows you to post code and then you take the link that it provides and post that in any question you post about.

Interesting that you get that without posting code. Hopefully an admin will see this and respond.

Info: PHP Manual


#5 Guest_footballkid4_*

Guest_footballkid4_*
  • Guests

Posted 06 May 2006 - 03:31 PM

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]10.4.7 406 Not Acceptable

The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.

Unless it was a HEAD request, the response SHOULD include an entity containing a list of available entity characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.

Note: HTTP/1.1 servers are allowed to return responses which are
not acceptable according to the accept headers sent in the
request. In some cases, this may even be preferable to sending a
406 response. User agents are encouraged to inspect the headers of
an incoming response to determine if it is acceptable.

If the response could be unacceptable, a user agent SHOULD temporarily stop receipt of more data and query the user for a decision on further actions. [/quote]

Taken from W3C. It could be a charset issue I guess, but I don't think that's the problem. Anyways I just thought I'd post what I know.

#6 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 06 May 2006 - 03:35 PM

I was eventually able to post the issue... I had a <a href="javascript thing in the message, and had to escape the quotes... after that, it worked fine.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users