Jump to content

Recommended Posts

Hi,

I got a problem with w3c html checker (The client checked it). It gives me this error for this specific site http://www.watersport4all.nl like:

A fatal error occurred when attempting to decode response body from http://www.watersport4all.nl. Either we do not support the content encoding specified ("none"), or an error occurred while decoding it.

The error was: Don't know how to decode Content-Encoding 'none'

 

I don't really understand because if I take a look on the source codes it shows me charset=utf-8. The site is made with joomla! cms.

 

Could someone please help me out to find the problem here? Thank you!

 

Ayok

Link to comment
https://forums.phpfreaks.com/topic/261944-sorry-this-document-cannot-be-checked/
Share on other sites

Any chance the site that doesn't work is checking the user agent string and is outputting different things depending on the user agent being used? I don't know what user agent string the w3.org validator uses, but it might not be what your site expects. Also, I'm pretty sure that w3.org validator does not accept cookies, so if your site outputs different content with/without cookies, you might not be outputting the same content to the w3.org validate that it does to a browser.

 

I just tried a different online validator - http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fwww.watersport4all.nl%2F&warnings=yes&input=yes and the site can be processed.

For some reason your site is sending a

Content-Encoding: none

 

header in the response, that is what is causing the validator to complain.  I have no idea why it would be sending this header, but you need to check into that and find out.  Go over your install and see if it is a setting anywhere.  Maybe someone more familiar with joomla could be of more assistance.

 

Also, I just used the html source that I saved from my browser (Firefox) and it validates processes at the w3.org validator.

 

I would say this is most likely a user agent issue.

 

Hi thanks..

Sorry, I don't really understand what do you mean by user agent issue. Is it browser issue?

What kicken is indicating is your web page is sending a content encoding header of none. The site that can be validated at the w3.org validator is sending a specific content encoding header of gzip (i.e. your joomla global server settings are set up to compress the html output.)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.