Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2013, 01:43 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Validation of the HTML codes

Hi! Help fix the HTML code and make the site fully valid.

When checking the site services validator.w3.org get 5 errors and 8 warnings.

Validation Output: 5 Errors

Line 213, Column 103: cannot generate system identifier for general entity "contenttype"
?94921a781d94dab257e5334&do=getnew&contenttype =vBForum_Post">Новые сообщени?

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (. If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.

Line 213, Column 103: general entity "contenttype" not defined and no default entity
?94921a781d94dab257e5334&do=getnew&contenttype =vBForum_Post">Новые сообщени?

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Line 213, Column 114: reference not terminated by REFC delimiter
?d94dab257e5334&amp;do=getnew&contenttype=vBForum_ Post">Новые сообщения</a></li>

If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.

Line 213, Column 114: reference to external entity in attribute value
?d94dab257e5334&amp;do=getnew&contenttype=vBForum_ Post">Новые сообщения</a></li>

This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&amp;'.

Line 213, Column 114: reference to entity "contenttype" for which no system identifier could be generated
?d94dab257e5334&amp;do=getnew&contenttype=vBForum_ Post">Новые сообщения</a></li>

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Line 213, Column 102: entity was defined here
?a94921a781d94dab257e5334&amp;do=getnew&contenttyp e=vBForum_Post">Новые сообщен?
Line 246, Column 108: cannot generate system identifier for general entity "markreadhash"
?921a781d94dab257e5334&amp;do=markread&markreadhas h=guest">Все разделы прочитан?

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (. If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.

Line 246, Column 108: general entity "markreadhash" not defined and no default entity
?921a781d94dab257e5334&amp;do=markread&markreadhas h=guest">Все разделы прочитан?

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Line 246, Column 120: reference not terminated by REFC delimiter
?4dab257e5334&amp;do=markread&markreadhash=guest"> Все разделы прочитаны</a></li>

If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.

Line 246, Column 120: reference to external entity in attribute value
?4dab257e5334&amp;do=markread&markreadhash=guest"> Все разделы прочитаны</a></li>

This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&amp;'.

Line 246, Column 120: reference to entity "markreadhash" for which no system identifier could be generated
?4dab257e5334&amp;do=markread&markreadhash=guest"> Все разделы прочитаны</a></li>

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Line 246, Column 107: entity was defined here
?4921a781d94dab257e5334&amp;do=markread&markreadha sh=guest">Все разделы прочита?
Line 258, Column 115: reference not terminated by REFC delimiter
?ab257e5334&amp;do=getdaily&contenttype=vBForum_Po st">Сообщения за день</a></li?

If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.

Line 258, Column 115: reference to external entity in attribute value
?ab257e5334&amp;do=getdaily&contenttype=vBForum_Po st">Сообщения за день</a></li?

This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&amp;'.

Line 258, Column 115: reference to entity "contenttype" for which no system identifier could be generated
?ab257e5334&amp;do=getdaily&contenttype=vBForum_Po st">Сообщения за день</a></li?

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Line 213, Column 102: entity was defined here
?a94921a781d94dab257e5334&amp;do=getnew&contenttyp e=vBForum_Post">Новые сообщен?


Use XHTML 1.0 Transitional, the site Forum of accountants and auditors Glbyh.Ru

I have simple, I want to fix, but don't know how. Surely it is not difficult for a person, who are versed in this.
Reply With Quote
  #2  
Old 01-12-2013, 01:47 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many of those are because & is used in the url instead of &amp;
Reply With Quote
  #3  
Old 01-13-2013, 02:27 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here, for example, the warning how to fix?


Quote:
Line 213, Column 103: cannot generate system identifier for general entity "contenttype"

?cc8e173f600c948d404c6b1&amp;do=getnew&contenttype =vBForum_Post">Новые сообщени?

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (. If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
--------------- Added [DATE]1358048058[/DATE] at [TIME]1358048058[/TIME] ---------------

Lynne, if instead of & write &amp, will it help?

--------------- Added [DATE]1358054667[/DATE] at [TIME]1358054667[/TIME] ---------------

Tell me in what the template is located here's the code <li id="vbflink_newposts"><a href="search.php?do=getnew&contenttype=vBForum_Pos t">New posts</a></li>

--------------- Added [DATE]1358057259[/DATE] at [TIME]1358057259[/TIME] ---------------

Found and corrected. Now 4 errors and 6 warnings.

--------------- Added [DATE]1358058974[/DATE] at [TIME]1358058974[/TIME] ---------------

Now 2 errors and 3 warnings.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03504 seconds
  • Memory Usage 2,196KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete