It's not a joking. 514 bugs with Inoutscripts Shopping Cart - 14

It's not a joking. 514 bugs with Inoutscripts Shopping Cart - 14

Article Index

  • Warning Line 2345, Column 52character "&" is the first character of a delimiter but occurred as data
    	 if(nocart!="" && carttype=="1")

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2345, Column 53character "&" is the first character of a delimiter but occurred as data
    	 if(nocart!="" && carttype=="1")

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2354, Column 83character "&" is the first character of a delimiter but occurred as data
    …        if(nocart!="" && carttype=="2")					                  …

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2354, Column 84character "&" is the first character of a delimiter but occurred as data
    …       if(nocart!="" && carttype=="2")					                   …

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2382, Column 24cannot generate system identifier for general entity "pro_id"
    	  data: "id="+id+"&pro_id="+pro_id,

    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.

  • Error Line 2382, Column 24general entity "pro_id" not defined and no default entity
    	   data: "id="+id+"&pro_id="+pro_id,

    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.

  • Warning Line 2382, Column 30reference not terminated by REFC delimiter
    	  data: "id="+id+"&pro_id="+pro_id,

    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.

  • Error Line 2382, Column 30reference to entity "pro_id" for which no system identifier could be generated
        data: "id="+id+"&pro_id="+pro_id,

    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.

  • Info Line 2382, Column 23entity was defined here
    		    data: "id="+id+"&pro_id="+pro_id,
  • Warning Line 2387, Column 59character "&" is the first character of a delimiter but occurred as data
    	  var str_array = data.split('[&&]');

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2387, Column 60character "&" is the first character of a delimiter but occurred as data
    	 var str_array = data.split('[&&]');

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Error Line 2403, Column 60character ";" not allowed in attribute specification list
    	  for(var i=0;i<limit;i++)

  • Error Line 2403, Column 60element "limit" undefined
    	   for(var i=0;i<limit;i++)

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

    • incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    • by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    • by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
  • Warning Line 2423, Column 30reference not terminated by REFC delimiter
    	    data: "id="+id+"&pro_id="+pro_id,

    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.

  • Error Line 2423, Column 30reference to entity "pro_id" for which no system identifier could be generated
    	   data: "id="+id+"&pro_id="+pro_id,

    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.

  • Info Line 2382, Column 23entity was defined here
    	 data: "id="+id+"&pro_id="+pro_id,
  • Warning Line 2428, Column 59character "&" is the first character of a delimiter but occurred as data
    	  var str_array = data.split('[&&]');

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2428, Column 60character "&" is the first character of a delimiter but occurred as data
    	  var str_array = data.split('[&&]');

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Error Line 2450, Column 60character ";" not allowed in attribute specification list
    	  for(var i=0;i<limit;i++)

  • Error Line 2450, Column 60element "limit" undefined
    	    for(var i=0;i<limit;i++)

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

    • incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    • by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    • by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
  • Error Line 2455, Column 58character ";" not allowed in attribute specification list
    	    for(var i=0;i<num;i++)

  • Error Line 2455, Column 58element "num" undefined
    	    for(var i=0;i<num;i++)

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

    • incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    • by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    • by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
  • Warning Line 2492, Column 31cannot generate system identifier for general entity "size"
    	    data: "pro_id="+pro_id+"&size="+size,

    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.

  • Error Line 2492, Column 31general entity "size" not defined and no default entity
    	    data: "pro_id="+pro_id+"&size="+size,

    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.

  • Warning Line 2492, Column 35reference not terminated by REFC delimiter
    	    data: "pro_id="+pro_id+"&size="+size,

    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.

  • Error Line 2492, Column 35reference to entity "size" for which no system identifier could be generated
    	    data: "pro_id="+pro_id+"&size="+size,

    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.

  • Info Line 2492, Column 30entity was defined here
    	    data: "pro_id="+pro_id+"&size="+size,
  • Warning Line 2497, Column 31character "&" is the first character of a delimiter but occurred as data
    	 x=data.split("&&");

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Warning Line 2497, Column 32character "&" is the first character of a delimiter but occurred as data
    	 x=data.split("&&");

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.
  • Error Line 2529, Column 9end tag for "num" omitted, but OMITTAG NO was specified
    </script>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

  • Info Line 2455, Column 54start tag was here
    	                                       for(var i=0;i<num;i++)
  • Error Line 2529, Column 9end tag for "limit" omitted, but OMITTAG NO was specified
    </script>