Не считывается текст сайта

12
D7
На сайте с 31.01.2009
Offline
73
959

Здравствуйте, делал сайт на вордпресе, пробовал различными сервисами пользоваться, которые показывают какие слова чаще всего встречаются на странице, но ни на одной странице текст не был найден, а находит слова: javascript, browser и т д, которых по сути и нету. Подскажите пожалуйста в чем может быть проблема?

SmileP
На сайте с 18.02.2010
Offline
386
#1
dedede777:
Подскажите пожалуйста в чем может быть проблема?

В неправильной верстке/подключение скриптов на странице.

D7
На сайте с 31.01.2009
Offline
73
#2
SmileP:
В неправильной верстке/подключение скриптов на странице.

Тема вордпрес стандартная, менял только картинку, логи включены, ошибок не выдает. Как исправить не подскажете?

SmileP
На сайте с 18.02.2010
Offline
386
#3
dedede777:
Как исправить не подскажете?

Слишком общий вопрос.

Можно попробовать прочекать валидатором и исправить. http://validator.w3.org/

Но это совет из разряда дилетанту взять книжку по ремонту авто и попробовать сделать так, чтобы авто поехал.

Ищите автомеханика.

D7
На сайте с 31.01.2009
Offline
73
#4
SmileP:
Слишком общий вопрос.
Можно попробовать прочекать валидатором и исправить. http://validator.w3.org/
Но это совет из разряда дилетанту взять книжку по ремонту авто и попробовать сделать так, чтобы авто поехал.
Ищите автомеханика.

Спасибо, проверил пишет No Character Encoding Found! Falling back to UTF-8

Хотя у меня нормально символы видны, посмотрел в базе данных сайта и php config везде utf 8 указана, не знаю почему он ругается

melkozaur
На сайте с 06.04.2010
Offline
536
#5

Может ссылку на сайт кинете?

D7
На сайте с 31.01.2009
Offline
73
#6

Лучше, что бы не спамить, кину ошибки

Line 1, Column 1: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"

<html><body><script type="text/javascript" src="/aes.js" ></script><script>func…

The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.

Error Line 1, Column 12: document type does not allow element "BODY" here
<html><body><script type="text/javascript" src="/aes.js" ></script><script>func…

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Error Line 1, Column 75: required attribute "TYPE" not specified
…cript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replac…

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Error Line 1, Column 835: end tag for "HTML" which is not finished
… your browser or use a browser with Javascript support</noscript></body></html>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.


---------- Добавлено 10.07.2018 в 17:21 ----------

И эти

Warning No Character Encoding Found! Falling back to UTF-8.


None of the standards sources gave any information on the character encoding labeling for this document. Without encoding information it is impossible to reliably validate the document. As a fallback solution, the "UTF-8" encoding was used to read the content and attempt to perform the validation, but this is likely to fail for all non-trivial documents.

Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.

Warning Unable to Determine Parse Mode!

The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:

the MIME Media Type (text/html) can be used for XML or SGML document types
No known Document Type could be detected
No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.
As a default, the validator is falling back to SGML mode.

Warning No DOCTYPE found! Checking with default HTML 4.01 Transitional Document Type.

No DOCTYPE Declaration could be found or recognized in this document. This generally means that the document is not declaring its Document Type at the top. It can also mean that the DOCTYPE declaration contains a spelling error, or that it is not using the correct syntax.

The document was checked using a default "fallback" Document Type Definition that closely resembles “HTML 4.01 Transitional”.

Learn how to add a doctype to your document from our FAQ.

Хотя я сильно в коде ничего не трогал, добавлял только гугл аналитикс в хеадер

---------- Добавлено 10.07.2018 в 18:15 ----------

Сейчас проверил валидатором гуловским, пишет, что нет ошибок и предупреждений и в графе контент виден контент https://search.google.com/structured-data/testing-tool?hl=ru

dma84
На сайте с 21.04.2009
Offline
168
#7

В переводчиках забанили?

Line 1, Column 1: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"

Ну это же смешно, не указан тип документа и даже пример приведён <!DOCTYPE HTML SYSTEM>

Warning No Character Encoding Found! Falling back to UTF-8.

У вас кодировка в html-коде не указана, но это всего лишь предупреждение и база данных тут не при чём. Вы из-за своей глупости сами себе создаёте кучу лишних проблем.

Дальше нет смысла за вас разбирать ошибки.

Z0
На сайте с 03.09.2009
Offline
826
#8
Error Line 1, Column 12: document type does not allow element "BODY" here
<html><body><script type="text/javascript" src="/aes.js" ></script><script>func…

У вас в первой же строке косяк с body...

D7
На сайте с 31.01.2009
Offline
73
#9
dma84:
В переводчиках забанили?

Line 1, Column 1: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"

Ну это же смешно, не указан тип документа и даже пример приведён <!DOCTYPE HTML SYSTEM>

Warning No Character Encoding Found! Falling back to UTF-8.

У вас кодировка в html-коде не указана, но это всего лишь предупреждение и база данных тут не при чём. Вы из-за своей глупости сами себе создаёте кучу лишних проблем.

Дальше нет смысла за вас разбирать ошибки.

Дело в том что я не знаю где он такое берет, если я открываю в браузере посмотреть исходный код то первая строчка

<!DOCTYPE html>

а там где тег боди

<body class="home blog logged-in admin-bar no-customize-support hfeed has-header-image has-sidebar colors-dark">

<div id="page" class="site">

S
На сайте с 30.09.2016
Offline
469
#10
dedede777:
первая строчка
<!DOCTYPE html>

Точно первая? Или всё-таки вторая, а первая - пустая? Или бом затесался?

Отпилю лишнее, прикручу нужное, выправлю кривое. Вытравлю вредителей.
12

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий