Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74381

Why does w3 validator get empty source code without accept-language value entered?

$
0
0

I'm trying to check a website via w3 validator, but it always fails with this error:

End of file seen without seeing a doctype first. Expected .

It's seems that it fails getting source code of the website for some reason.

However, if I add Accept-Language parameter (check this request), it will validate correctly. It's not only problem with w3 validator, for example, facebook parser, responsible for showing website preview, also doesn't see the source code.

The website uses Codeigniter php framework. Could it be the problem? Any ideas how to solve the problem?


Viewing all articles
Browse latest Browse all 74381

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>