• User

    Aiuto Validazione codice

    Salve a tutti, complimenti per a Girgio Tave e a tutti coloro che partecipano a questo forum.
    Vi scrivo perchè cerco aiuto per un problema: uso joomla per il mio sito (con sh404sef) e non riesco a risolvere tutti gli errori di html, anzi, ne son rimasti ancora 34:

    • <LI class=msg_warn>> *
    • <LI class=msg_warn> Line 27, Column 194: cannot generate system identifier for general entity "task".**

    …/joomla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scro
    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...
    **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. **

    **<LI class=msg_err> Line 27, Column 194: general entity "task" not defined and no default entity.…/joomla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scro **
    **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. **

    <LI class=msg_warn> Line 27, Column 198: reference not terminated by REFC delimiter.…mla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollba
    **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. **

    <LI class=msg_warn> Line 27, Column 198: reference to external entity in attribute value.…mla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollba
    **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 '&'. **

    <LI class=msg_err> Line 27, Column 198: reference to entity "task" for which no system identifier could be generated.…mla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollba
    **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. **

    <LI class=msg_info> Line 27, Column 193: entity was defined here.…t/joomla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scr<LI class=msg_warn> Line 27, Column 204: cannot generate system identifier for general entity "id".…dex.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes
    **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. **

    <LI class=msg_err> Line 27, Column 204: general entity "id" not defined and no default entity.…dex.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes
    **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. **

    <LI class=msg_warn> Line 27, Column 206: reference not terminated by REFC delimiter.…x.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes,r
    **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. **

    <LI class=msg_warn> Line 27, Column 206: reference to external entity in attribute value.…x.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes,r
    **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 '&'. **

    <LI class=msg_err> Line 27, Column 206: reference to entity "id" for which no system identifier could be generated.…x.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes,r
    **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. **

    <LI class=msg_info> Line 27, Column 203: entity was defined here.…ndex.php?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=ye<LI class=msg_warn> Line 27, Column 210: cannot generate system identifier for general entity "Itemid".…p?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes,resiz
    **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. **

    <LI class=msg_err> Line 27, Column 210: general entity "Itemid" not defined and no default entity.…p?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes,resiz
    **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. **

    <LI class=msg_warn> Line 27, Column 216: reference not terminated by REFC delimiter.…on=com_content&task=view&id=14&Itemid=**35','Login','scrollbars=yes,resizable=y **
    **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. **

    <LI class=msg_warn> Line 27, Column 216: reference to external entity in attribute value.…on=com_content&task=view&id=14&Itemid=**35','Login','scrollbars=yes,resizable=y **
    **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 '&'. **

    <LI class=msg_err> Line 27, Column 216: reference to entity "Itemid" for which no system identifier could be generated.…on=com_content&task=view&id=14&Itemid=**35','Login','scrollbars=yes,resizable=y **
    **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. **

    <LI class=msg_info> Line 27, Column 209: entity was defined here.…hp?option=com_content&task=view&id=14&Itemid=35','Login','scrollbars=yes,resi<LI class=msg_warn> Line 27, Column 500: reference not terminated by REFC delimiter.…ndex.php?option=com_registration&task=register','Registrati','scrollbars=yes,
    **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. **
    *

    • *Per quanto riguarda il mio sito, purtroppo essendo nuovo non mi è permesso inserire link.
      Spero tanto che riusciate ad aiutarmi! Grazie :smile5: !

    edit: se nn posso mettere il link della pagina non si capisce niente! xD


  • ModSenior

    prova a mettere: <li class="nomeclasse">


  • Super User

    Confermo Thedarkita,
    quando richiami una classe la devi mettere tra apici "classe"


  • User

    @cionfs said:

    Confermo Thedarkita,
    quando richiami una classe la devi mettere tra apici "classe"

    Grazie a entrambi per la risposta me purtroppo quel Li class non c'entra e non so come sia potuto venir fuori, nella pagina di validator W3 non ci sono (penso che sia legato alle immagini che ho cancellato per poter postare su questo forum).

    Facciamo così ne posto uno per volta e cerchiamo di decifrare l'errore (il LI class nn c'entra)

    1. Line 27, Column 194: cannot generate system identifier for general entity "task" .
      ?/joomla/index.php?option=com_content&task=view&id=14&Itemid=35','Login','scro
      questo è il primo errore e non riesco a correggerlo... aiuti? Grazie :smile5:

  • ModSenior

    sostituisci & con &


  • User

    @Thedarkita said:

    sostituisci & con &

    Ok grazie... sai da dove dovrei correggerlo :giggle:? Grazie


  • ModSenior

    Cioè?


  • User

    @Thedarkita said:

    Cioè?

    come faccio a sostituire & con & :mmm: (scusami forse è banale ma son niubbo)


  • ModSenior

    Devi cercare nel codice sorgente e modificare...


  • User

    @Thedarkita said:

    Devi cercare nel codice sorgente e modificare...

    Ok allora direi che devo modificare il file di configurazione di php del mio server, cosa che non penso si possa fare su netsons (big1) :bho:


  • ModSenior

    No, devi modificare i file, non la configurazione del server


  • User

    @Thedarkita said:

    No, devi modificare i file, non la configurazione del server

    Leggendo il file dei bug fissati su joomla 1.0 ho trovato questo che potrebbe aiutarmi

    22-Sep-2006 Marko Schmuck

    Fixed [artf5507] : "&" character in Global Site Meta Description field results in "&amp;"

    Fixed [artf5788] : Frontpage content item category links enable section links, and section links generate '&' and not '&' in their html