-
AuthorPosts
-
November 30, 2006 at 1:26 am #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 ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
November 30, 2006 at 8:18 am #212139Search this code in template index.php file “$cururl = sefRelToAbs($cururl);” and insert following code after:
$cururl = str_replace ('&', '&', $cururl);November 30, 2006 at 9:15 am #212145Thanks 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 ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
November 30, 2006 at 9:35 am #212147You should find sefRelToAbs($cururl).
November 30, 2006 at 9:45 am #212148not there???
Tried:
sefRelToAbs
sefRel
{$cururl)Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
November 30, 2006 at 9:53 am #212149Hi Magicbag,
I am sorry for that. Please search and insert in file ja_templatetools.php, function getCurrentURL(), instead of index.php. -
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by magicbag 18 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum