Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • magicbag Friend
    #117813

    I am using this template with the trans menu and without the color selection showing but I am getting errors on line 73 the ‘Jump to content’ is located.

    Errors:

    Below are the results of checking this document for XML well-formedness and validity.

    1. Warning Line 73 column 102: cannot generate system identifier for general entity “task”.

    …ews.com/index.php?option=com_content&task=section&id=1&Itemid=2#Content”><img

    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.

    2. Error Line 73 column 102: general entity “task” not defined and no default entity.

    …ews.com/index.php?option=com_content&task=section&id=1&Itemid=2#Content”><img

    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.

    3. Warning Line 73 column 106: reference not terminated by REFC delimiter.

    …com/index.php?option=com_content&task=section&id=1&Itemid=2#Content”><img src

    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.

    4. Warning Line 73 column 106: reference to external entity in attribute value.

    …com/index.php?option=com_content&task=section&id=1&Itemid=2#Content”><img src

    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 ‘&’.

    5. Error Line 73 column 106: reference to entity “task” for which no system identifier could be generated.

    …com/index.php?option=com_content&task=section&id=1&Itemid=2#Content”><img src

    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.

    6. Info Line 73 column 101: entity was defined here.

    …news.com/index.php?option=com_content&task=section&id=1&Itemid=2#Content”><im

    7. Warning Line 73 column 115: cannot generate system identifier for general entity “id”.

    ….php?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://

    8. Error Line 73 column 115: general entity “id” not defined and no default entity.

    ….php?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://

    9. Warning Line 73 column 117: reference not terminated by REFC delimiter.

    …hp?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://ww

    10. Warning Line 73 column 117: reference to external entity in attribute value.

    …hp?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://ww

    11. Error Line 73 column 117: reference to entity “id” for which no system identifier could be generated.

    …hp?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://ww

    12. Info Line 73 column 114: entity was defined here.

    …x.php?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http:/

    13. Warning Line 73 column 120: cannot generate system identifier for general entity “Itemid”.

    …option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://www.b

    14. Error Line 73 column 120: general entity “Itemid” not defined and no default entity.

    …option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://www.b

    15. Warning Line 73 column 126: reference not terminated by REFC delimiter.

    …=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://www.buildin

    16. Warning Line 73 column 126: reference to external entity in attribute value.

    …=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://www.buildin

    17. Error Line 73 column 126: reference to entity “Itemid” for which no system identifier could be generated.

    …=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://www.buildin

    18. Info Line 73 column 119: entity was defined here.

    …?option=com_content&task=section&id=1&Itemid=2#Content”><img src=”http://www.

    Khanh Le Moderator
    #212139

    Search this code in template index.php file “$cururl = sefRelToAbs($cururl);” and insert following code after:


    $cururl = str_replace ('&', '&', $cururl);

    magicbag Friend
    #212145

    Thanks for the reply…
    I went to: / html / templates / ja_avior_ex / index.php but I could not find $cururl = sefRelToAbs($cururl); in it.

    Khanh Le Moderator
    #212147

    You should find sefRelToAbs($cururl).

    magicbag Friend
    #212148

    not there???
    Tried:
    sefRelToAbs
    sefRel
    {$cururl)

    Khanh Le Moderator
    #212149

    Hi Magicbag,
    I am sorry for that. Please search and insert in file ja_templatetools.php, function getCurrentURL(), instead of index.php.

    magicbag Friend
    #212150

    That did the trick 🙂
    Thank you

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  magicbag 17 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum